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.001275/0.001275, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001597/0.001597, allocations: 192.8 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.1 MB / 222 MB, free: 5.02 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3797/0.3797, allocations: 54.94 MB / 324.3 MB, free: 80 kB / 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.001363/0.001363, allocations: 68.28 kB / 394.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1362, allocations: 59.59 MB / 454.3 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4107/0.5469, allocations: 179.6 MB / 0.619 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006182/0.5531, allocations: 4.414 MB / 0.6233 GB, free: 12 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007263/0.5539, allocations: 21.2 kB / 0.6233 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.5551, allocations: 302.3 kB / 0.6236 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.5564, allocations: 0.5636 MB / 0.6242 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003815/0.5603, allocations: 1.502 MB / 0.6256 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002667/0.5629, allocations: 2.392 MB / 0.628 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007203/0.5637, allocations: 474.5 kB / 0.6284 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.5655, allocations: 0.7509 MB / 0.6292 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007515/0.5663, allocations: 0.572 MB / 0.6297 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.5664, allocations: 40 kB / 0.6298 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002791/0.5692, allocations: 1.368 MB / 0.6311 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003159/0.5696, allocations: 255.3 kB / 0.6313 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000505/0.5701, allocations: 414 kB / 0.6317 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.5722, allocations: 1.585 MB / 0.6333 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5722, allocations: 4.562 kB / 0.6333 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5723, allocations: 0 / 0.6333 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.5723, allocations: 0 / 0.6333 GB, free: 5.781 MB / 0.4981 GB 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.002533/0.5748, allocations: 1.183 MB / 0.6344 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.5749, allocations: 12.03 kB / 0.6345 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/0.5768, allocations: 268.5 kB / 0.6347 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008563/0.5777, allocations: 0.5021 MB / 0.6352 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.252e-05/0.5777, allocations: 45.31 kB / 0.6352 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.5778, allocations: 60 kB / 0.6353 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.5793, allocations: 0.7739 MB / 0.6361 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.5793, allocations: 3.938 kB / 0.6361 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/0.5794, allocations: 31.98 kB / 0.6361 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.5794, allocations: 16 kB / 0.6361 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.5808, allocations: 0.6192 MB / 0.6367 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2306/0.8114, allocations: 2.826 MB / 0.6395 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.8124, allocations: 449 kB / 0.6399 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/0.8129, allocations: 213.7 kB / 0.6401 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003463/0.8133, allocations: 119.5 kB / 0.6402 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007322/0.814, allocations: 460 kB / 0.6407 GB, free: 162.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=36): time 2.595e-06/0.814, allocations: 0 / 0.6407 GB, free: 162.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.001483/0.8155, allocations: 0.6804 MB / 0.6413 GB, free: 162.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.8156, allocations: 478.2 kB / 0.6418 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000621/0.8163, allocations: 0.6539 MB / 0.6424 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.8163, allocations: 35.33 kB / 0.6424 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.8165, allocations: 347.2 kB / 0.6428 GB, free: 161.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.698e-05/0.8166, allocations: 123.9 kB / 0.6429 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.8168, allocations: 126.7 kB / 0.643 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.682e-05/0.8169, allocations: 383.4 kB / 0.6434 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/0.8173, allocations: 219.2 kB / 0.6436 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005858/0.8179, allocations: 475.2 kB / 0.644 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009395/0.8189, allocations: 0.6317 MB / 0.6447 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8189, allocations: 0.9688 kB / 0.6447 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001258/0.8202, allocations: 0.761 MB / 0.6454 GB, free: 160.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/0.8202, allocations: 64.27 kB / 0.6455 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.8202, allocations: 2.75 kB / 0.6455 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.8203, allocations: 8.375 kB / 0.6455 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/0.8208, allocations: 124.6 kB / 0.6456 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.8208, allocations: 8.656 kB / 0.6456 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007789/0.8216, allocations: 112.1 kB / 0.6457 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.8217, allocations: 30.8 kB / 0.6457 GB, free: 160.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (66): * Single equations (assignments): 64 * 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.0002734/0.8219, allocations: 235.2 kB / 0.646 GB, free: 160.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.964e-05/0.822, allocations: 68.84 kB / 0.646 GB, free: 160 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.8231, allocations: 0.5277 MB / 0.6465 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.8231, allocations: 2.938 kB / 0.6465 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.8231, allocations: 5.812 kB / 0.6466 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.8231, allocations: 4.125 kB / 0.6466 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.825, allocations: 1.559 MB / 0.6481 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/0.825, allocations: 3.438 kB / 0.6481 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/0.8254, allocations: 73.89 kB / 0.6482 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.8255, allocations: 2.656 kB / 0.6482 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.8255, allocations: 15.09 kB / 0.6482 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.8255, allocations: 6.906 kB / 0.6482 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.8255, allocations: 2.594 kB / 0.6482 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.827, allocations: 0.9413 MB / 0.6491 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.8272, allocations: 213.9 kB / 0.6493 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.8274, allocations: 13.03 kB / 0.6493 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006288/0.828, allocations: 57.7 kB / 0.6494 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.8281, allocations: 46.38 kB / 0.6494 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.8282, allocations: 15.16 kB / 0.6494 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004373/0.8286, allocations: 468.6 kB / 0.6499 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8286, allocations: 0 / 0.6499 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000631/0.8293, allocations: 207.7 kB / 0.6501 GB, free: 158.2 MB / 0.4981 GB 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 (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.0003699/0.8296, allocations: 175.6 kB / 0.6502 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.8307, allocations: 0.6398 MB / 0.6509 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.8307, allocations: 0 / 0.6509 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005645/0.8313, allocations: 278.2 kB / 0.6511 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.8329, allocations: 391.8 kB / 0.6515 GB, free: 157.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.8348, allocations: 1.444 MB / 0.6529 GB, free: 156.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.8351, allocations: 0.9117 MB / 0.6538 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006647/0.8358, allocations: 155.8 kB / 0.654 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.8359, allocations: 51.06 kB / 0.654 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.8359, allocations: 1.594 kB / 0.654 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.02585/0.8618, allocations: 14.89 MB / 0.6685 GB, free: 155.3 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (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)