Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 100.3 kB / 15.98 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 197.8 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6609/0.6609, allocations: 115.3 MB / 406.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67.89 kB / 493.2 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3033, allocations: 76.18 MB / 0.556 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.RelativeHumidity): time 0.1552/0.4585, allocations: 163 MB / 0.7152 GB, free: 1.086 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002508/0.4611, allocations: 1.535 MB / 0.7167 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002948/0.4614, allocations: 7.938 kB / 0.7167 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004143/0.4618, allocations: 131.2 kB / 0.7168 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.4629, allocations: 430.2 kB / 0.7173 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.4645, allocations: 0.7026 MB / 0.7179 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007483/0.4652, allocations: 0.7059 MB / 0.7186 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000384/0.4656, allocations: 262.4 kB / 0.7189 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005108/0.4662, allocations: 306.9 kB / 0.7192 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.4665, allocations: 243 kB / 0.7194 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/0.4665, allocations: 28 kB / 0.7194 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.4678, allocations: 0.9001 MB / 0.7203 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.4679, allocations: 115.6 kB / 0.7204 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.4681, allocations: 159.2 kB / 0.7206 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000998/0.4691, allocations: 0.7791 MB / 0.7213 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4691, allocations: 4 kB / 0.7213 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4691, allocations: 0 / 0.7213 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.4691, allocations: 0 / 0.7213 GB, free: 10.8 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00106/0.4702, allocations: 0.6779 MB / 0.722 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4702, allocations: 12.03 kB / 0.722 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.798e-05/0.4703, allocations: 54.55 kB / 0.7221 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004654/0.4707, allocations: 87.5 kB / 0.7221 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.4711, allocations: 313.8 kB / 0.7224 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.4712, allocations: 12.56 kB / 0.7225 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.4712, allocations: 24 kB / 0.7225 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006329/0.4719, allocations: 332.2 kB / 0.7228 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4719, allocations: 0 / 0.7228 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.4719, allocations: 19.88 kB / 0.7228 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.4719, allocations: 8 kB / 0.7228 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006754/0.4726, allocations: 281.5 kB / 0.7231 GB, free: 8.891 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.4742, allocations: 1.055 MB / 0.7241 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008859/0.475, allocations: 335.6 kB / 0.7244 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.4754, allocations: 132.8 kB / 0.7246 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006415/0.476, allocations: 392.3 kB / 0.7249 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.4761, allocations: 30.56 kB / 0.725 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/0.4761, allocations: 0 / 0.725 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001148/0.4772, allocations: 415.8 kB / 0.7254 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.4773, allocations: 59.39 kB / 0.7254 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.4775, allocations: 263 kB / 0.7257 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.4775, allocations: 33.7 kB / 0.7257 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.4777, allocations: 172.2 kB / 0.7259 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.4777, allocations: 67 kB / 0.7259 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.174e-05/0.4778, allocations: 45.7 kB / 0.726 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4779, allocations: 334.8 kB / 0.7263 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.4782, allocations: 103.9 kB / 0.7264 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.4786, allocations: 164.3 kB / 0.7266 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005901/0.4791, allocations: 270.5 kB / 0.7268 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4792, allocations: 0 / 0.7268 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006909/0.4799, allocations: 317.1 kB / 0.7271 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.4799, allocations: 4 kB / 0.7271 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4799, allocations: 0 / 0.7271 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.4799, allocations: 7.938 kB / 0.7271 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.4802, allocations: 56.12 kB / 0.7272 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.4802, allocations: 11.92 kB / 0.7272 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.4805, allocations: 51.59 kB / 0.7272 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.4805, allocations: 4 kB / 0.7272 GB, free: 4.363 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.4806, allocations: 149.8 kB / 0.7274 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.4807, allocations: 31.7 kB / 0.7274 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007464/0.4815, allocations: 325.9 kB / 0.7277 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4815, allocations: 0 / 0.7277 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4815, allocations: 0 / 0.7277 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4815, allocations: 11.98 kB / 0.7277 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.4829, allocations: 0.9174 MB / 0.7286 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/0.4829, allocations: 8 kB / 0.7286 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.4832, allocations: 55.89 kB / 0.7287 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4832, allocations: 0 / 0.7287 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.4832, allocations: 4 kB / 0.7287 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4832, allocations: 4.188 kB / 0.7287 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4832, allocations: 4 kB / 0.7287 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.4843, allocations: 0.5624 MB / 0.7293 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.4844, allocations: 124.8 kB / 0.7294 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.4844, allocations: 0 / 0.7294 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.4847, allocations: 35.97 kB / 0.7294 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.4848, allocations: 19.92 kB / 0.7294 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.4848, allocations: 11.98 kB / 0.7294 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001614/0.485, allocations: 194 kB / 0.7296 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/0.485, allocations: 0 / 0.7296 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004008/0.4854, allocations: 111.8 kB / 0.7297 GB, free: 1.641 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001574/0.4869, allocations: 1.202 MB / 0.7309 GB, free: 416 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000669/0.4876, allocations: 271.8 kB / 0.7312 GB, free: 144 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4876, allocations: 0 / 0.7312 GB, free: 144 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.488, allocations: 135.8 kB / 0.7313 GB, free: 8 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/0.4887, allocations: 128.1 kB / 0.7314 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/0.4926, allocations: 3.053 MB / 0.7344 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.4929, allocations: 0.7831 MB / 0.7352 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002393/0.4932, allocations: 58.25 kB / 0.7352 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.4933, allocations: 91.41 kB / 0.7353 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.4933, allocations: 0 / 0.7353 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.5142, allocations: 8.618 MB / 0.7437 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/0.5144, allocations: 230.4 kB / 0.7439 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.374, allocations: 0 / 0.7439 GB, free: 3.102 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_RelativeHumidity.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)