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.001267/0.001267, allocations: 111.2 kB / 16.42 MB, free: 6.461 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.001179/0.001179, allocations: 190.7 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002121, allocations: 283.6 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9425/0.9425, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 95.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4105, allocations: 86.97 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1769/0.5874, allocations: 181.8 MB / 0.9446 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005953/0.5934, allocations: 4.454 MB / 0.9489 GB, free: 8.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005796/0.594, allocations: 19.88 kB / 0.9489 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006786/0.5947, allocations: 246.1 kB / 0.9492 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001866/0.5966, allocations: 0.7931 MB / 0.95 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003428/0.6001, allocations: 1.554 MB / 0.9515 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00151/0.6016, allocations: 1.266 MB / 0.9527 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006999/0.6023, allocations: 449.3 kB / 0.9531 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.6034, allocations: 0.5838 MB / 0.9537 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005661/0.604, allocations: 414.3 kB / 0.9541 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.6041, allocations: 48 kB / 0.9541 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/0.6066, allocations: 1.547 MB / 0.9557 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.6068, allocations: 191.4 kB / 0.9558 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003532/0.6072, allocations: 302.5 kB / 0.9561 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.6092, allocations: 1.321 MB / 0.9574 GB, free: 260 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6092, allocations: 4 kB / 0.9574 GB, free: 256 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6092, allocations: 0 / 0.9574 GB, free: 256 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.6092, allocations: 0 / 0.9574 GB, free: 256 kB / 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.3248/0.934, allocations: 1.009 MB / 0.9584 GB, free: 192.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.9341, allocations: 11.16 kB / 0.9584 GB, free: 192.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/0.9362, allocations: 282.4 kB / 0.9587 GB, free: 192.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000803/0.937, allocations: 480 kB / 0.9591 GB, free: 192.2 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.9371, allocations: 31.69 kB / 0.9592 GB, free: 192.2 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.546e-05/0.9372, allocations: 44.55 kB / 0.9592 GB, free: 192.2 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.9383, allocations: 0.5466 MB / 0.9597 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.9383, allocations: 0.5312 kB / 0.9597 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.685e-05/0.9383, allocations: 21.09 kB / 0.9598 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.9384, allocations: 13.97 kB / 0.9598 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.9396, allocations: 458.9 kB / 0.9602 GB, free: 191.8 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.002244/0.9418, allocations: 2.112 MB / 0.9623 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000928/0.9428, allocations: 418.6 kB / 0.9627 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004707/0.9432, allocations: 221.1 kB / 0.9629 GB, free: 190 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005823/0.9438, allocations: 402.3 kB / 0.9633 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005995/0.9444, allocations: 290 kB / 0.9636 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 2.665e-06/0.9445, allocations: 3.844 kB / 0.9636 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001779/0.9462, allocations: 0.6888 MB / 0.9642 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.9463, allocations: 56.31 kB / 0.9643 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005075/0.9468, allocations: 494.3 kB / 0.9648 GB, free: 189 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.9468, allocations: 34.23 kB / 0.9648 GB, free: 189 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.947, allocations: 266.7 kB / 0.965 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.713e-05/0.9471, allocations: 121.7 kB / 0.9652 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.9472, allocations: 95.61 kB / 0.9652 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.53e-05/0.9473, allocations: 361.4 kB / 0.9656 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004874/0.9478, allocations: 200.6 kB / 0.9658 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.9483, allocations: 321 kB / 0.9661 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009467/0.9493, allocations: 0.5434 MB / 0.9666 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.9493, allocations: 5.312 kB / 0.9666 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001207/0.9505, allocations: 0.6388 MB / 0.9673 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.9505, allocations: 69.97 kB / 0.9673 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.9506, allocations: 2.5 kB / 0.9673 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.9506, allocations: 5.516 kB / 0.9673 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.9511, allocations: 96.31 kB / 0.9674 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.9511, allocations: 5.844 kB / 0.9674 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005186/0.9516, allocations: 81.45 kB / 0.9675 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/0.9517, allocations: 21.98 kB / 0.9675 GB, free: 187.4 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.0001839/0.9519, allocations: 199.3 kB / 0.9677 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/0.9519, allocations: 54.77 kB / 0.9678 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.9531, allocations: 0.5384 MB / 0.9683 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.9531, allocations: 3.75 kB / 0.9683 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9531, allocations: 1.375 kB / 0.9683 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.9533, allocations: 164.7 kB / 0.9685 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/0.9534, allocations: 7.359 kB / 0.9685 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003931/0.9538, allocations: 38.05 kB / 0.9685 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.9539, allocations: 40.91 kB / 0.9685 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001367/0.9553, allocations: 0.5712 MB / 0.9691 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001406/0.9567, allocations: 0.9154 MB / 0.97 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004214/0.9571, allocations: 222.9 kB / 0.9702 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003129/0.9575, allocations: 342.9 kB / 0.9705 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of Backend: time 3.21e-07/0.9575, allocations: 0 / 0.9705 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.9592, allocations: 0.8086 MB / 0.9713 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of SimCode: time 0.001806/0.961, allocations: 1.513 MB / 0.9728 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.01863/0.9797, allocations: 15.08 MB / 0.9875 GB, free: 169.3 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)