Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.006884/0.006884, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001342/0.001343, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7688/0.7688, allocations: 132.2 MB / 422.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.44 kB / 0.5814 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1942, allocations: 80.2 MB / 0.6597 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.637/0.8313, allocations: 181.8 MB / 0.8372 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005991/0.8373, allocations: 4.457 MB / 0.8415 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008877/0.8382, allocations: 19.12 kB / 0.8416 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007722/0.839, allocations: 242.8 kB / 0.8418 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.8413, allocations: 0.7977 MB / 0.8426 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004055/0.8453, allocations: 1.553 MB / 0.8441 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001811/0.8472, allocations: 1.261 MB / 0.8453 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006478/0.8478, allocations: 448.1 kB / 0.8458 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.8489, allocations: 0.5893 MB / 0.8463 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004734/0.8494, allocations: 402.6 kB / 0.8467 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.119e-05/0.8495, allocations: 48.73 kB / 0.8468 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002623/0.8521, allocations: 1.555 MB / 0.8483 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.8523, allocations: 192.8 kB / 0.8485 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.8526, allocations: 299.6 kB / 0.8487 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.8545, allocations: 1.316 MB / 0.85 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.8545, allocations: 0 / 0.85 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8545, allocations: 0.9062 kB / 0.85 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.8545, allocations: 0 / 0.85 GB, free: 3.207 MB / 0.6387 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.001651/0.8562, allocations: 1.025 MB / 0.851 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.8562, allocations: 10.66 kB / 0.851 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/0.8583, allocations: 280.2 kB / 0.8513 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006492/0.8589, allocations: 476.9 kB / 0.8518 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.859, allocations: 37.09 kB / 0.8518 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-05/0.8591, allocations: 40.09 kB / 0.8518 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009211/0.86, allocations: 0.5505 MB / 0.8524 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.86, allocations: 0 / 0.8524 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.533e-05/0.8601, allocations: 19.44 kB / 0.8524 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.8601, allocations: 8.156 kB / 0.8524 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009446/0.861, allocations: 461.6 kB / 0.8528 GB, free: 2.129 MB / 0.6387 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.002053/0.8631, allocations: 2.12 MB / 0.8549 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009251/0.864, allocations: 407.6 kB / 0.8553 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004721/0.8645, allocations: 222.2 kB / 0.8555 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006631/0.8652, allocations: 401.6 kB / 0.8559 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006346/0.8658, allocations: 291.8 kB / 0.8562 GB, free: 16.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=37): time 2.876e-06/0.8658, allocations: 0 / 0.8562 GB, free: 16.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37): time 0.001849/0.8677, allocations: 0.6877 MB / 0.8568 GB, free: 16.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.8678, allocations: 63.27 kB / 0.8569 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005223/0.8683, allocations: 496 kB / 0.8574 GB, free: 16.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.8683, allocations: 37.73 kB / 0.8574 GB, free: 16.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.8685, allocations: 261.5 kB / 0.8577 GB, free: 16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.501e-05/0.8686, allocations: 120.2 kB / 0.8578 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.8687, allocations: 96.55 kB / 0.8579 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.8689, allocations: 365.9 kB / 0.8582 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004352/0.8693, allocations: 196.6 kB / 0.8584 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/0.8698, allocations: 313.4 kB / 0.8587 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009093/0.8708, allocations: 0.5427 MB / 0.8592 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.8708, allocations: 1 kB / 0.8592 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001162/0.8719, allocations: 0.65 MB / 0.8599 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.225e-05/0.872, allocations: 67.55 kB / 0.8599 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.872, allocations: 5.5 kB / 0.8599 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.872, allocations: 3.594 kB / 0.8599 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/0.8725, allocations: 99.94 kB / 0.86 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.8725, allocations: 10.09 kB / 0.8601 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/0.873, allocations: 75.23 kB / 0.8601 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/0.8731, allocations: 23.16 kB / 0.8601 GB, free: 15.09 MB / 0.6544 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.00022/0.8733, allocations: 191.7 kB / 0.8603 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.8734, allocations: 58.05 kB / 0.8604 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.8745, allocations: 0.5295 MB / 0.8609 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.8745, allocations: 3.938 kB / 0.8609 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.8745, allocations: 3.406 kB / 0.8609 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.8745, allocations: 6.609 kB / 0.8609 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.8766, allocations: 1.348 MB / 0.8622 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.8766, allocations: 2.562 kB / 0.8622 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.877, allocations: 76.8 kB / 0.8623 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.877, allocations: 11.17 kB / 0.8623 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.877, allocations: 11.88 kB / 0.8623 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.8771, allocations: 13.3 kB / 0.8623 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.8771, allocations: 5.938 kB / 0.8623 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.8787, allocations: 0.9301 MB / 0.8633 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.8789, allocations: 172.5 kB / 0.8634 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.232e-05/0.879, allocations: 20.36 kB / 0.8634 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004444/0.8794, allocations: 30.98 kB / 0.8635 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.8796, allocations: 52.3 kB / 0.8635 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.8796, allocations: 11.94 kB / 0.8635 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003921/0.88, allocations: 355.5 kB / 0.8639 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.88, allocations: 0 / 0.8639 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006112/0.8807, allocations: 146.8 kB / 0.864 GB, free: 13.94 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (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.0004765/0.8811, allocations: 204.7 kB / 0.8642 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.8823, allocations: 0.5741 MB / 0.8648 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8823, allocations: 1.203 kB / 0.8648 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000645/0.8829, allocations: 296.4 kB / 0.865 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.8843, allocations: 288.3 kB / 0.8653 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.8863, allocations: 1.044 MB / 0.8663 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.8868, allocations: 0.8684 MB / 0.8672 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004275/0.8872, allocations: 133.8 kB / 0.8673 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.8874, allocations: 45.66 kB / 0.8674 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.8874, allocations: 0 / 0.8674 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of Templates: time 0.01567/0.903, allocations: 10.85 MB / 0.878 GB, free: 10.71 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)