Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0008698/0.0008699, 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.0009202/0.0009202, 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 4.0.0+maint.om/package.mo): time 1.185/1.185, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8437/0.8437, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 15.98 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1549, allocations: 82.3 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.3836/0.5386, allocations: 151.4 MB / 0.735 GB, free: 0.918 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006282/0.5449, allocations: 4.114 MB / 0.739 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004704/0.5454, allocations: 20.91 kB / 0.7391 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009062/0.5463, allocations: 279.3 kB / 0.7393 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.5479, allocations: 0.5846 MB / 0.7399 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.5506, allocations: 0.9754 MB / 0.7408 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001336/0.552, allocations: 0.7401 MB / 0.7416 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005345/0.5525, allocations: 368.9 kB / 0.7419 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.5541, allocations: 0.6536 MB / 0.7426 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.5544, allocations: 289.3 kB / 0.7428 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.5545, allocations: 26.03 kB / 0.7429 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.556, allocations: 0.5873 MB / 0.7434 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.5561, allocations: 152.8 kB / 0.7436 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.5563, allocations: 133.4 kB / 0.7437 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000781/0.5571, allocations: 0.6396 MB / 0.7443 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.5571, allocations: 0 / 0.7443 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5571, allocations: 7.938 kB / 0.7443 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.5571, allocations: 0 / 0.7443 GB, free: 11.24 MB / 0.5606 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.001496/0.5586, allocations: 0.8997 MB / 0.7452 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.5587, allocations: 8.031 kB / 0.7452 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/0.5605, allocations: 293.9 kB / 0.7455 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000727/0.5612, allocations: 427 kB / 0.7459 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.5613, allocations: 36.95 kB / 0.7459 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.44e-05/0.5614, allocations: 50.62 kB / 0.746 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009611/0.5623, allocations: 0.5575 MB / 0.7465 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.5624, allocations: 0 / 0.7465 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.5624, allocations: 18.16 kB / 0.7466 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.5624, allocations: 12 kB / 0.7466 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.5634, allocations: 488.6 kB / 0.747 GB, free: 8.734 MB / 0.5606 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.002276/0.5657, allocations: 2.129 MB / 0.7491 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009388/0.5667, allocations: 450.3 kB / 0.7495 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003791/0.5671, allocations: 141 kB / 0.7497 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005861/0.5677, allocations: 331.3 kB / 0.75 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 1.773e-06/0.5677, allocations: 0 / 0.75 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001674/0.5694, allocations: 0.7322 MB / 0.7507 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.5694, allocations: 93.14 kB / 0.7508 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005036/0.5699, allocations: 482.1 kB / 0.7513 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.57, allocations: 37.7 kB / 0.7513 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.5702, allocations: 264 kB / 0.7515 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.85e-05/0.5703, allocations: 126.2 kB / 0.7517 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.5703, allocations: 8 kB / 0.7517 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5704, allocations: 362.8 kB / 0.752 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004622/0.5709, allocations: 208.8 kB / 0.7522 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005402/0.5715, allocations: 341.2 kB / 0.7525 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004983/0.572, allocations: 286 kB / 0.7528 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.572, allocations: 8 kB / 0.7528 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001184/0.5732, allocations: 0.681 MB / 0.7535 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/0.5732, allocations: 61.91 kB / 0.7535 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5732, allocations: 4 kB / 0.7536 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.5733, allocations: 11.98 kB / 0.7536 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.5737, allocations: 103.8 kB / 0.7537 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.5737, allocations: 8 kB / 0.7537 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005196/0.5743, allocations: 99.38 kB / 0.7538 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/0.5743, allocations: 20 kB / 0.7538 GB, free: 1.512 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 51 * 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.000222/0.5745, allocations: 199.1 kB / 0.754 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.5746, allocations: 59.3 kB / 0.754 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.5756, allocations: 0.5248 MB / 0.7545 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.5756, allocations: 4 kB / 0.7545 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5757, allocations: 0 / 0.7545 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.5757, allocations: 0 / 0.7545 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.5778, allocations: 1.48 MB / 0.756 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.5778, allocations: 4 kB / 0.756 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.5782, allocations: 80.45 kB / 0.7561 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.5782, allocations: 15.95 kB / 0.7561 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.5782, allocations: 15.98 kB / 0.7561 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.375e-06/0.5782, allocations: 14.98 kB / 0.7561 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.5783, allocations: 4 kB / 0.7561 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.58, allocations: 1.232 MB / 0.7573 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.5802, allocations: 172.3 kB / 0.7575 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.381e-05/0.5803, allocations: 19.69 kB / 0.7575 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004495/0.5807, allocations: 55.95 kB / 0.7576 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.5809, allocations: 55.83 kB / 0.7576 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.5809, allocations: 23.98 kB / 0.7576 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003784/0.5813, allocations: 334.8 kB / 0.758 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5813, allocations: 0 / 0.758 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005653/0.5819, allocations: 147.9 kB / 0.7581 GB, free: 12.76 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (37): * Single equations (assignments): 33 * 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.0003803/0.5823, allocations: 204.3 kB / 0.7583 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.5834, allocations: 0.6089 MB / 0.7589 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5834, allocations: 4.062 kB / 0.7589 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006666/0.5841, allocations: 324.8 kB / 0.7592 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.5853, allocations: 267.8 kB / 0.7595 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.5871, allocations: 1.253 MB / 0.7607 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.5875, allocations: 0.8863 MB / 0.7615 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004558/0.588, allocations: 128.5 kB / 0.7617 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.5881, allocations: 39.44 kB / 0.7617 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.5881, allocations: 0 / 0.7617 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of Templates: time 0.01538/0.6035, allocations: 9.823 MB / 0.7713 GB, free: 15.31 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) Environment - environmentSimulation: