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.001795/0.001795, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.644/1.644, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4307/0.4307, allocations: 54.94 MB / 324.7 MB, free: 15.96 MB / 270.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.001581/0.001581, allocations: 76.36 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.135, allocations: 59.59 MB / 454.9 MB, free: 152 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4138/0.5488, allocations: 181.8 MB / 0.6218 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006557/0.5554, allocations: 4.387 MB / 0.6261 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000667/0.5561, allocations: 19.88 kB / 0.6261 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.5573, allocations: 377.6 kB / 0.6265 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.5584, allocations: 0.5827 MB / 0.627 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004307/0.5628, allocations: 1.617 MB / 0.6286 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002134/0.5649, allocations: 1.756 MB / 0.6303 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007641/0.5657, allocations: 0.5455 MB / 0.6309 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.5672, allocations: 0.8523 MB / 0.6317 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006298/0.5678, allocations: 0.5371 MB / 0.6322 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.568, allocations: 75.94 kB / 0.6323 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.5701, allocations: 1.208 MB / 0.6335 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.5704, allocations: 287.3 kB / 0.6337 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.5708, allocations: 442 kB / 0.6342 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.5728, allocations: 1.547 MB / 0.6357 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5728, allocations: 0 / 0.6357 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5728, allocations: 0 / 0.6357 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.5728, allocations: 4 kB / 0.6357 GB, free: 3.301 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.002184/0.575, allocations: 1.191 MB / 0.6368 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.575, allocations: 12.03 kB / 0.6369 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.5769, allocations: 270.9 kB / 0.6371 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000764/0.5777, allocations: 0.4937 MB / 0.6376 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.912e-05/0.5777, allocations: 50.77 kB / 0.6376 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.871e-05/0.5778, allocations: 63.98 kB / 0.6377 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.5792, allocations: 0.7739 MB / 0.6385 GB, free: 324 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.5792, allocations: 0 / 0.6385 GB, free: 324 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.322e-05/0.5793, allocations: 28 kB / 0.6385 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.5793, allocations: 16 kB / 0.6385 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2122/0.7915, allocations: 0.6115 MB / 0.6391 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003347/0.7949, allocations: 2.835 MB / 0.6419 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.7959, allocations: 449.5 kB / 0.6423 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004294/0.7963, allocations: 219.2 kB / 0.6425 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003426/0.7967, allocations: 121.7 kB / 0.6426 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006897/0.7974, allocations: 451.5 kB / 0.6431 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=36): time 2.404e-06/0.7974, allocations: 3.375 kB / 0.6431 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.00157/0.799, allocations: 0.6889 MB / 0.6437 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/0.7992, allocations: 484.5 kB / 0.6442 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007064/0.7999, allocations: 0.6544 MB / 0.6448 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.579e-05/0.8, allocations: 39.11 kB / 0.6449 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.8002, allocations: 340.2 kB / 0.6452 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.8003, allocations: 128.1 kB / 0.6453 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.8005, allocations: 123.5 kB / 0.6454 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.8006, allocations: 378.3 kB / 0.6458 GB, free: 160.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004815/0.8011, allocations: 218.3 kB / 0.646 GB, free: 160.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006529/0.8018, allocations: 478 kB / 0.6465 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009749/0.8028, allocations: 0.6348 MB / 0.6471 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.8028, allocations: 3 kB / 0.6471 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00133/0.8041, allocations: 0.7596 MB / 0.6478 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/0.8042, allocations: 67.14 kB / 0.6479 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.8042, allocations: 2.562 kB / 0.6479 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.8042, allocations: 8.469 kB / 0.6479 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.8047, allocations: 116.8 kB / 0.648 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.8048, allocations: 14.02 kB / 0.648 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008244/0.8056, allocations: 106.8 kB / 0.6481 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/0.8057, allocations: 25.28 kB / 0.6481 GB, free: 159.4 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.0003262/0.806, allocations: 224.4 kB / 0.6484 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.8061, allocations: 73.89 kB / 0.6484 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.8072, allocations: 0.5204 MB / 0.6489 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.8072, allocations: 6.859 kB / 0.6489 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.8072, allocations: 2.938 kB / 0.6489 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.8072, allocations: 3.938 kB / 0.6489 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.8091, allocations: 1.555 MB / 0.6505 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.8091, allocations: 5.406 kB / 0.6505 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.8095, allocations: 75.06 kB / 0.6505 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.8095, allocations: 2.719 kB / 0.6505 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/0.8096, allocations: 13.95 kB / 0.6506 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.8096, allocations: 8.062 kB / 0.6506 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.8096, allocations: 5.531 kB / 0.6506 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.8111, allocations: 0.9333 MB / 0.6515 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.8114, allocations: 213 kB / 0.6517 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.8115, allocations: 20.81 kB / 0.6517 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005942/0.8121, allocations: 42.94 kB / 0.6517 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.8123, allocations: 51.08 kB / 0.6518 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.8123, allocations: 16.19 kB / 0.6518 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004596/0.8128, allocations: 465 kB / 0.6523 GB, free: 157.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8128, allocations: 0 / 0.6523 GB, free: 157.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007352/0.8135, allocations: 208.3 kB / 0.6525 GB, free: 157.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.0004248/0.8139, allocations: 180.9 kB / 0.6526 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.8152, allocations: 0.6574 MB / 0.6533 GB, free: 156.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.8152, allocations: 0 / 0.6533 GB, free: 156.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005545/0.8157, allocations: 280.7 kB / 0.6535 GB, free: 156.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/0.8175, allocations: 410.8 kB / 0.6539 GB, free: 156.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.8199, allocations: 1.23 MB / 0.6551 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.8204, allocations: 0.9141 MB / 0.656 GB, free: 155.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008798/0.8213, allocations: 160.5 kB / 0.6562 GB, free: 155.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.8215, allocations: 54.12 kB / 0.6562 GB, free: 155.3 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.8215, allocations: 0 / 0.6562 GB, free: 155.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.02804/0.8495, allocations: 15.64 MB / 0.6715 GB, free: 154.2 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)