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.001044/0.001044, allocations: 118.5 kB / 16.37 MB, free: 5.984 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.001116/0.001116, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.243/1.243, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7648/0.7648, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.91 kB / 0.5068 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3283, allocations: 80.9 MB / 0.5858 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4929/0.8212, allocations: 181.8 MB / 0.7633 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006651/0.8279, allocations: 4.447 MB / 0.7676 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006697/0.8286, allocations: 24.88 kB / 0.7676 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007328/0.8294, allocations: 254 kB / 0.7679 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.8314, allocations: 0.755 MB / 0.7686 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003819/0.8352, allocations: 1.517 MB / 0.7701 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001968/0.8372, allocations: 1.263 MB / 0.7713 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005493/0.8378, allocations: 454.5 kB / 0.7718 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008889/0.8387, allocations: 0.572 MB / 0.7723 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004549/0.8391, allocations: 408.4 kB / 0.7727 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.8392, allocations: 45.28 kB / 0.7727 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002467/0.8417, allocations: 1.547 MB / 0.7743 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.8419, allocations: 186.9 kB / 0.7744 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.8422, allocations: 305.9 kB / 0.7747 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001792/0.844, allocations: 1.305 MB / 0.776 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.844, allocations: 0.5 kB / 0.776 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.355e-06/0.844, allocations: 1.469 kB / 0.776 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.8441, allocations: 0 / 0.776 GB, free: 1.465 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.001789/0.8459, allocations: 1.023 MB / 0.777 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.8459, allocations: 10.86 kB / 0.777 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.8479, allocations: 289.3 kB / 0.7773 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000813/0.8488, allocations: 467.9 kB / 0.7777 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.8488, allocations: 34.05 kB / 0.7778 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.63e-05/0.8489, allocations: 42.78 kB / 0.7778 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008797/0.8498, allocations: 0.5474 MB / 0.7783 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.8498, allocations: 4.297 kB / 0.7783 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.097e-05/0.8498, allocations: 17.97 kB / 0.7784 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.8498, allocations: 14.16 kB / 0.7784 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008628/0.8507, allocations: 455.6 kB / 0.7788 GB, free: 16.38 MB / 0.5919 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.002268/0.853, allocations: 2.12 MB / 0.7809 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008298/0.8538, allocations: 407 kB / 0.7813 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004082/0.8543, allocations: 228.5 kB / 0.7815 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006149/0.8549, allocations: 403 kB / 0.7819 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005219/0.8554, allocations: 292.3 kB / 0.7822 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 1.824e-06/0.8554, allocations: 0 / 0.7822 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001566/0.857, allocations: 0.6852 MB / 0.7828 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.857, allocations: 61.31 kB / 0.7829 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/0.8575, allocations: 496.9 kB / 0.7834 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.488e-05/0.8576, allocations: 39.92 kB / 0.7834 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.8578, allocations: 256.2 kB / 0.7836 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.612e-05/0.8579, allocations: 125.8 kB / 0.7838 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.858, allocations: 94.98 kB / 0.7838 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8581, allocations: 363.3 kB / 0.7842 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/0.8585, allocations: 201.2 kB / 0.7844 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.859, allocations: 314.3 kB / 0.7847 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008324/0.8599, allocations: 0.5451 MB / 0.7852 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.8599, allocations: 2.406 kB / 0.7852 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001097/0.861, allocations: 0.6585 MB / 0.7859 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/0.861, allocations: 62.84 kB / 0.7859 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.8611, allocations: 2.469 kB / 0.7859 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.8611, allocations: 6.906 kB / 0.7859 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.8615, allocations: 96.03 kB / 0.786 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.8615, allocations: 6.172 kB / 0.786 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005266/0.8621, allocations: 79.31 kB / 0.7861 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.8621, allocations: 23.5 kB / 0.7861 GB, free: 13.33 MB / 0.5919 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.0002104/0.8623, allocations: 198.2 kB / 0.7863 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.8624, allocations: 55.38 kB / 0.7864 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.8635, allocations: 0.5362 MB / 0.7869 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.8635, allocations: 6.453 kB / 0.7869 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8635, allocations: 0.8438 kB / 0.7869 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.8635, allocations: 2.906 kB / 0.7869 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.8655, allocations: 1.347 MB / 0.7882 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.8656, allocations: 11.56 kB / 0.7882 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.8659, allocations: 71.55 kB / 0.7883 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.866, allocations: 4.688 kB / 0.7883 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.866, allocations: 13.91 kB / 0.7883 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.866, allocations: 10.47 kB / 0.7883 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.866, allocations: 3.406 kB / 0.7883 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.8674, allocations: 0.936 MB / 0.7892 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.8677, allocations: 178.1 kB / 0.7894 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.284e-05/0.8678, allocations: 15.09 kB / 0.7894 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.8682, allocations: 31.77 kB / 0.7895 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.8683, allocations: 54.33 kB / 0.7895 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.8684, allocations: 13.69 kB / 0.7895 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003952/0.8688, allocations: 346.2 kB / 0.7899 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8688, allocations: 4.062 kB / 0.7899 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005829/0.8694, allocations: 157.3 kB / 0.79 GB, free: 12.17 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 (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.0004249/0.8698, allocations: 194.3 kB / 0.7902 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000994/0.8708, allocations: 0.5879 MB / 0.7908 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8708, allocations: 0.9062 kB / 0.7908 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005616/0.8714, allocations: 293.4 kB / 0.791 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.8726, allocations: 282.5 kB / 0.7913 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.8743, allocations: 1.044 MB / 0.7923 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.8747, allocations: 0.866 MB / 0.7932 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003975/0.8751, allocations: 123.6 kB / 0.7933 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.8752, allocations: 47.48 kB / 0.7933 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.8752, allocations: 0 / 0.7933 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of Templates: time 0.01581/0.8911, allocations: 10.77 MB / 0.8039 GB, free: 9.164 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)