Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 109.8 kB / 16.41 MB, free: 6.465 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.001101/0.001101, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002059, allocations: 296.3 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9875/0.9875, allocations: 169.3 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 99.86 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3947, allocations: 86.98 MB / 0.7671 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1761/0.5708, allocations: 181.8 MB / 0.9446 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005797/0.5767, allocations: 4.448 MB / 0.9489 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005113/0.5772, allocations: 19.88 kB / 0.9489 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006405/0.5779, allocations: 250.1 kB / 0.9492 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.5796, allocations: 0.758 MB / 0.9499 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003236/0.5828, allocations: 1.507 MB / 0.9514 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001274/0.5841, allocations: 1.262 MB / 0.9526 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005692/0.5847, allocations: 449.3 kB / 0.9531 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008328/0.5855, allocations: 0.5837 MB / 0.9536 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004548/0.586, allocations: 410.4 kB / 0.954 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.806e-05/0.5861, allocations: 44 kB / 0.9541 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.5884, allocations: 1.551 MB / 0.9556 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.5885, allocations: 183.4 kB / 0.9558 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002686/0.5888, allocations: 306.5 kB / 0.956 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.5904, allocations: 1.321 MB / 0.9573 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5904, allocations: 3.938 kB / 0.9573 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5904, allocations: 0 / 0.9573 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.5905, allocations: 0 / 0.9573 GB, free: 0.5 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.2915/0.882, allocations: 1.01 MB / 0.9583 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.882, allocations: 9.125 kB / 0.9583 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.8842, allocations: 284.3 kB / 0.9586 GB, free: 192.6 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007474/0.885, allocations: 470.3 kB / 0.9591 GB, free: 192.3 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.769e-05/0.885, allocations: 32.27 kB / 0.9591 GB, free: 192.3 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-05/0.8851, allocations: 45.22 kB / 0.9591 GB, free: 192.3 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.8862, allocations: 0.5467 MB / 0.9597 GB, free: 192 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.8862, allocations: 5.594 kB / 0.9597 GB, free: 192 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/0.8863, allocations: 23.5 kB / 0.9597 GB, free: 192 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.8863, allocations: 10.98 kB / 0.9597 GB, free: 192 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.8875, allocations: 454.8 kB / 0.9601 GB, free: 191.9 MB / 0.7169 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.002199/0.8897, allocations: 2.112 MB / 0.9622 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000925/0.8906, allocations: 421.1 kB / 0.9626 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00047/0.8911, allocations: 225.4 kB / 0.9628 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005798/0.8917, allocations: 402.2 kB / 0.9632 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005946/0.8923, allocations: 296.5 kB / 0.9635 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.964e-06/0.8923, allocations: 0 / 0.9635 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.00171/0.894, allocations: 0.681 MB / 0.9641 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.894, allocations: 59.58 kB / 0.9642 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/0.8945, allocations: 490.8 kB / 0.9647 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.8946, allocations: 34.52 kB / 0.9647 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.8947, allocations: 268.2 kB / 0.965 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.687e-05/0.8948, allocations: 122 kB / 0.9651 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.895, allocations: 93.28 kB / 0.9652 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.895, allocations: 363.7 kB / 0.9655 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004784/0.8955, allocations: 196.8 kB / 0.9657 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005333/0.8961, allocations: 323.4 kB / 0.966 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009372/0.897, allocations: 0.5445 MB / 0.9665 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.897, allocations: 5.75 kB / 0.9665 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001182/0.8982, allocations: 0.6417 MB / 0.9672 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.8983, allocations: 65.62 kB / 0.9672 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.8983, allocations: 2.75 kB / 0.9672 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.8983, allocations: 5.5 kB / 0.9672 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.8988, allocations: 98.53 kB / 0.9673 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.8988, allocations: 5.094 kB / 0.9673 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/0.8993, allocations: 82.16 kB / 0.9674 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.848e-05/0.8993, allocations: 24.81 kB / 0.9674 GB, free: 187.5 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0001819/0.8995, allocations: 198.4 kB / 0.9676 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.8996, allocations: 50.78 kB / 0.9677 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.9008, allocations: 0.5396 MB / 0.9682 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.9008, allocations: 4.016 kB / 0.9682 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9008, allocations: 0 / 0.9682 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.901, allocations: 167 kB / 0.9684 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.287e-05/0.9011, allocations: 6.188 kB / 0.9684 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003902/0.9015, allocations: 35.16 kB / 0.9684 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.9016, allocations: 39.86 kB / 0.9684 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001375/0.903, allocations: 0.5742 MB / 0.969 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001408/0.9044, allocations: 0.9125 MB / 0.9699 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004132/0.9048, allocations: 224.2 kB / 0.9701 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003071/0.9051, allocations: 349.8 kB / 0.9704 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of Backend: time 5.11e-07/0.9051, allocations: 0 / 0.9704 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00164/0.9068, allocations: 0.8048 MB / 0.9712 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of SimCode: time 0.001656/0.9085, allocations: 1.508 MB / 0.9727 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.01672/0.9252, allocations: 15.07 MB / 0.9874 GB, free: 169.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)