Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.0009238/0.0009238, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008907/0.0008906, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4142/0.4142, allocations: 54.99 MB / 325.4 MB, free: 0.7578 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005917/0.0005919, allocations: 20 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3209, allocations: 60.71 MB / 457.3 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.182/0.503, allocations: 151.4 MB / 0.5945 GB, free: 15.87 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006096/0.5091, allocations: 4.077 MB / 0.5984 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004942/0.5097, allocations: 15.88 kB / 0.5984 GB, free: 11.78 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009418/0.5106, allocations: 274.8 kB / 0.5987 GB, free: 11.51 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.5117, allocations: 438.7 kB / 0.5991 GB, free: 11.08 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.5143, allocations: 0.9274 MB / 0.6 GB, free: 10.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.5157, allocations: 0.9788 MB / 0.601 GB, free: 9.184 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006446/0.5164, allocations: 456.7 kB / 0.6014 GB, free: 8.734 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.5184, allocations: 0.8802 MB / 0.6023 GB, free: 7.852 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000502/0.5189, allocations: 382.5 kB / 0.6027 GB, free: 7.477 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.417e-05/0.519, allocations: 36 kB / 0.6027 GB, free: 7.441 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.5201, allocations: 427.3 kB / 0.6031 GB, free: 7.023 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.5204, allocations: 243.3 kB / 0.6033 GB, free: 6.785 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.5206, allocations: 177.4 kB / 0.6035 GB, free: 6.605 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.5218, allocations: 0.8663 MB / 0.6043 GB, free: 5.746 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.5218, allocations: 0 / 0.6043 GB, free: 5.746 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5218, allocations: 0 / 0.6043 GB, free: 5.746 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.5219, allocations: 4 kB / 0.6043 GB, free: 5.742 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002146/0.524, allocations: 1.015 MB / 0.6053 GB, free: 4.664 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.5241, allocations: 8.031 kB / 0.6053 GB, free: 4.656 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.5262, allocations: 290.8 kB / 0.6056 GB, free: 4.371 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.5275, allocations: 485.9 kB / 0.6061 GB, free: 3.852 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-05/0.5276, allocations: 45.31 kB / 0.6061 GB, free: 3.809 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.5277, allocations: 60.5 kB / 0.6062 GB, free: 3.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.5293, allocations: 0.7856 MB / 0.607 GB, free: 2.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.5293, allocations: 11.89 kB / 0.607 GB, free: 2.918 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/0.5294, allocations: 27.97 kB / 0.607 GB, free: 2.891 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.5294, allocations: 16 kB / 0.607 GB, free: 2.875 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.5308, allocations: 0.6452 MB / 0.6076 GB, free: 2.23 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0042/0.535, allocations: 2.845 MB / 0.6104 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.5361, allocations: 475.3 kB / 0.6109 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004521/0.5366, allocations: 133.3 kB / 0.611 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008973/0.5375, allocations: 462.8 kB / 0.6114 GB, free: 14.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=36): time 3.427e-06/0.5375, allocations: 0 / 0.6114 GB, free: 14.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.001788/0.5393, allocations: 0.7288 MB / 0.6121 GB, free: 13.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002254/0.5396, allocations: 478.6 kB / 0.6126 GB, free: 12.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007894/0.5404, allocations: 0.6524 MB / 0.6132 GB, free: 12.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.582e-05/0.5404, allocations: 41.69 kB / 0.6133 GB, free: 12.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.5407, allocations: 335.6 kB / 0.6136 GB, free: 11.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.5408, allocations: 122.2 kB / 0.6137 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.5409, allocations: 8 kB / 0.6137 GB, free: 11.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.5411, allocations: 374.8 kB / 0.6141 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000543/0.5416, allocations: 244.9 kB / 0.6143 GB, free: 10.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007476/0.5424, allocations: 479.5 kB / 0.6148 GB, free: 10.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006236/0.543, allocations: 340 kB / 0.6151 GB, free: 10.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.543, allocations: 0 / 0.6151 GB, free: 10.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001484/0.5445, allocations: 0.7911 MB / 0.6159 GB, free: 9.262 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.009e-05/0.5446, allocations: 63.41 kB / 0.6159 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.5446, allocations: 4 kB / 0.6159 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.5447, allocations: 8 kB / 0.6159 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000571/0.5452, allocations: 132.7 kB / 0.6161 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.5453, allocations: 11.94 kB / 0.6161 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008775/0.5462, allocations: 131 kB / 0.6162 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.5462, allocations: 33.73 kB / 0.6162 GB, free: 8.875 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003341/0.5466, allocations: 225.6 kB / 0.6165 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.5467, allocations: 71.2 kB / 0.6165 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.5479, allocations: 0.556 MB / 0.6171 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5479, allocations: 4 kB / 0.6171 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5479, allocations: 1.312 kB / 0.6171 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.5479, allocations: 3.984 kB / 0.6171 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.5505, allocations: 1.587 MB / 0.6186 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.5505, allocations: 4 kB / 0.6186 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.5509, allocations: 75.89 kB / 0.6187 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.5509, allocations: 8 kB / 0.6187 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.551, allocations: 12.3 kB / 0.6187 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.551, allocations: 8 kB / 0.6187 GB, free: 6.219 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.551, allocations: 7.938 kB / 0.6187 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.5528, allocations: 1.116 MB / 0.6198 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003585/0.5532, allocations: 212.2 kB / 0.62 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.5533, allocations: 12.06 kB / 0.62 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006506/0.554, allocations: 63.84 kB / 0.6201 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.5541, allocations: 51.89 kB / 0.6201 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.5542, allocations: 21.3 kB / 0.6202 GB, free: 4.605 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005869/0.5548, allocations: 455 kB / 0.6206 GB, free: 4.164 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.914e-06/0.5548, allocations: 0 / 0.6206 GB, free: 4.164 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007635/0.5555, allocations: 211.7 kB / 0.6208 GB, free: 3.957 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005214/0.5561, allocations: 179.9 kB / 0.621 GB, free: 3.781 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.5574, allocations: 0.6656 MB / 0.6216 GB, free: 3.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.5575, allocations: 4 kB / 0.6216 GB, free: 3.086 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006693/0.5581, allocations: 292.8 kB / 0.6219 GB, free: 2.801 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.5599, allocations: 389.7 kB / 0.6223 GB, free: 2.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.562, allocations: 1.432 MB / 0.6237 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/0.5625, allocations: 0.9258 MB / 0.6246 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007063/0.5633, allocations: 161.5 kB / 0.6247 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.5634, allocations: 47.44 kB / 0.6248 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of SimCode: time 9.11e-07/0.5634, allocations: 0 / 0.6248 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.0243/0.5877, allocations: 14.31 MB / 0.6388 GB, free: 1.668 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) Environment - environmentSimulation: