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.0009029/0.000903, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001255/0.001255, allocations: 168.7 kB / 15.95 MB, free: 204 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.504/1.504, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9617/0.9617, allocations: 135.3 MB / 426.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003668, allocations: 8 kB / 0.507 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1902, allocations: 82.31 MB / 0.5874 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5394/0.7297, allocations: 165.3 MB / 0.7488 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006609/0.7364, allocations: 4.188 MB / 0.7529 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006788/0.7371, allocations: 21.19 kB / 0.7529 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007269/0.7379, allocations: 178.6 kB / 0.7531 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.7396, allocations: 0.5668 MB / 0.7536 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003148/0.7428, allocations: 1.052 MB / 0.7546 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001783/0.7446, allocations: 1.446 MB / 0.7561 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006014/0.7452, allocations: 343.1 kB / 0.7564 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.7463, allocations: 0.5136 MB / 0.7569 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005382/0.7468, allocations: 394.4 kB / 0.7573 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.894e-05/0.7469, allocations: 28 kB / 0.7573 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.749, allocations: 0.7833 MB / 0.7581 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.7492, allocations: 163.5 kB / 0.7582 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.7494, allocations: 133.4 kB / 0.7583 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.7505, allocations: 0.7639 MB / 0.7591 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.7505, allocations: 0 / 0.7591 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7505, allocations: 0 / 0.7591 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.7505, allocations: 0 / 0.7591 GB, free: 13.14 MB / 0.5762 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.001694/0.7522, allocations: 0.9356 MB / 0.76 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7523, allocations: 8.031 kB / 0.76 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.7542, allocations: 283 kB / 0.7603 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000712/0.7549, allocations: 433.8 kB / 0.7607 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.7549, allocations: 40.98 kB / 0.7607 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.542e-05/0.755, allocations: 40 kB / 0.7608 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.7561, allocations: 0.5585 MB / 0.7613 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.7561, allocations: 4 kB / 0.7613 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.7561, allocations: 16 kB / 0.7613 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.7562, allocations: 15.98 kB / 0.7613 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.7572, allocations: 491.5 kB / 0.7618 GB, free: 10.21 MB / 0.5762 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.002653/0.7599, allocations: 2.131 MB / 0.7639 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000989/0.7609, allocations: 438.4 kB / 0.7643 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004856/0.7614, allocations: 236.7 kB / 0.7645 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006795/0.7621, allocations: 416.3 kB / 0.7649 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006196/0.7627, allocations: 305.6 kB / 0.7652 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=37): time 2.445e-06/0.7627, allocations: 0 / 0.7652 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37): time 0.001803/0.7645, allocations: 0.732 MB / 0.7659 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.7646, allocations: 59.41 kB / 0.766 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005822/0.7652, allocations: 486.1 kB / 0.7665 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.7653, allocations: 41.7 kB / 0.7665 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.7655, allocations: 264 kB / 0.7668 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.7656, allocations: 126.3 kB / 0.7669 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.7656, allocations: 4 kB / 0.7669 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.7658, allocations: 362.8 kB / 0.7672 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/0.7663, allocations: 216.8 kB / 0.7674 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005699/0.7668, allocations: 328.1 kB / 0.7677 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005494/0.7674, allocations: 301.6 kB / 0.768 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7674, allocations: 0 / 0.768 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001312/0.7687, allocations: 0.6735 MB / 0.7687 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/0.7688, allocations: 59.41 kB / 0.7687 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.7688, allocations: 4 kB / 0.7688 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.7688, allocations: 4 kB / 0.7688 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.7693, allocations: 112.1 kB / 0.7689 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.7693, allocations: 4 kB / 0.7689 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005426/0.7699, allocations: 103.1 kB / 0.769 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.7699, allocations: 23.94 kB / 0.769 GB, free: 2.512 MB / 0.5762 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 ($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.000241/0.7702, allocations: 200.4 kB / 0.7692 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.118e-05/0.7703, allocations: 55.34 kB / 0.7692 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.7716, allocations: 0.558 MB / 0.7698 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.7716, allocations: 4 kB / 0.7698 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.7716, allocations: 0 / 0.7698 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.7716, allocations: 7.922 kB / 0.7698 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.7739, allocations: 1.376 MB / 0.7711 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.7739, allocations: 4 kB / 0.7711 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/0.7744, allocations: 88.31 kB / 0.7712 GB, free: 112 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/0.7744, allocations: 8 kB / 0.7712 GB, free: 104 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.7744, allocations: 11.95 kB / 0.7712 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.7744, allocations: 8 kB / 0.7712 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.7744, allocations: 11.92 kB / 0.7713 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.7762, allocations: 0.977 MB / 0.7722 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.7764, allocations: 172.3 kB / 0.7724 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.193e-05/0.7765, allocations: 12 kB / 0.7724 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004694/0.7769, allocations: 59.28 kB / 0.7724 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.7771, allocations: 43.94 kB / 0.7725 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.7771, allocations: 23.92 kB / 0.7725 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000409/0.7775, allocations: 346.8 kB / 0.7728 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7775, allocations: 0 / 0.7728 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006095/0.7781, allocations: 147.8 kB / 0.773 GB, free: 14.23 MB / 0.5919 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 (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.0004468/0.7786, allocations: 194.7 kB / 0.7732 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001217/0.7798, allocations: 0.6115 MB / 0.7738 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.7798, allocations: 0 / 0.7738 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006689/0.7805, allocations: 304.8 kB / 0.7741 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.7819, allocations: 283 kB / 0.7743 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.7841, allocations: 1.23 MB / 0.7755 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.7847, allocations: 0.8746 MB / 0.7764 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005864/0.7853, allocations: 131.3 kB / 0.7765 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.7854, allocations: 39.44 kB / 0.7765 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.7854, allocations: 0 / 0.7765 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of Templates: time 0.01909/0.8045, allocations: 9.828 MB / 0.7861 GB, free: 0.8398 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (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)