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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 181 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7079/0.7079, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 403.4 MB, free: 7.043 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 99.73 kB / 484.3 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001169, allocations: 55.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1499, allocations: 80.2 MB / 0.6402 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.525/0.675, allocations: 179.5 MB / 0.8155 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006499/0.6815, allocations: 4.482 MB / 0.8199 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008191/0.6824, allocations: 15.88 kB / 0.8199 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008421/0.6832, allocations: 190.8 kB / 0.8201 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.6855, allocations: 0.7156 MB / 0.8208 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003792/0.6893, allocations: 1.41 MB / 0.8221 GB, free: 8.781 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00207/0.6913, allocations: 1.699 MB / 0.8238 GB, free: 7.074 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007918/0.6922, allocations: 382 kB / 0.8242 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.6935, allocations: 0.5253 MB / 0.8247 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007595/0.6943, allocations: 426.2 kB / 0.8251 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.6944, allocations: 28 kB / 0.8251 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003203/0.6976, allocations: 1.808 MB / 0.8269 GB, free: 3.918 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.6979, allocations: 175.5 kB / 0.827 GB, free: 3.746 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004613/0.6984, allocations: 290.5 kB / 0.8273 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002604/0.701, allocations: 1.383 MB / 0.8287 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.701, allocations: 0 / 0.8287 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.645e-06/0.701, allocations: 3.984 kB / 0.8287 GB, free: 2.07 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.268e-05/0.7011, allocations: 0 / 0.8287 GB, free: 2.07 MB / 0.5573 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.001983/0.7031, allocations: 1.023 MB / 0.8297 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.7031, allocations: 8.031 kB / 0.8297 GB, free: 0.9805 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/0.7051, allocations: 286.9 kB / 0.83 GB, free: 0.6992 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008913/0.706, allocations: 441.5 kB / 0.8304 GB, free: 232 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.7061, allocations: 33 kB / 0.8304 GB, free: 196 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.353e-05/0.7062, allocations: 44 kB / 0.8305 GB, free: 152 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.7072, allocations: 0.5429 MB / 0.831 GB, free: 15.57 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.7073, allocations: 0 / 0.831 GB, free: 15.57 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.943e-05/0.7073, allocations: 27.92 kB / 0.831 GB, free: 15.54 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.7073, allocations: 16 kB / 0.831 GB, free: 15.53 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.7084, allocations: 451.6 kB / 0.8315 GB, free: 15.09 MB / 0.573 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.002786/0.7112, allocations: 2.123 MB / 0.8335 GB, free: 12.83 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.7122, allocations: 406.4 kB / 0.8339 GB, free: 12.43 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004941/0.7127, allocations: 232.7 kB / 0.8341 GB, free: 12.2 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007124/0.7134, allocations: 396.3 kB / 0.8345 GB, free: 11.73 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006216/0.7141, allocations: 295.2 kB / 0.8348 GB, free: 11.43 MB / 0.573 GB Notification: Performance of pre-optimization done (n=37): time 3.267e-06/0.7141, allocations: 0 / 0.8348 GB, free: 11.43 MB / 0.573 GB Notification: Performance of matching and sorting (n=37): time 0.001801/0.7159, allocations: 0.6839 MB / 0.8355 GB, free: 10.74 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.716, allocations: 59.16 kB / 0.8355 GB, free: 10.67 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006717/0.7167, allocations: 0.4941 MB / 0.836 GB, free: 10.16 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/0.7167, allocations: 37.7 kB / 0.836 GB, free: 10.12 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.7169, allocations: 256.1 kB / 0.8363 GB, free: 9.867 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.7171, allocations: 122.2 kB / 0.8364 GB, free: 9.746 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.7173, allocations: 94.11 kB / 0.8365 GB, free: 9.648 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.7174, allocations: 362.8 kB / 0.8368 GB, free: 9.285 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004758/0.7179, allocations: 196.8 kB / 0.837 GB, free: 9.094 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005547/0.7185, allocations: 316.1 kB / 0.8373 GB, free: 8.75 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009973/0.7195, allocations: 0.5378 MB / 0.8379 GB, free: 8.16 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.7195, allocations: 7.938 kB / 0.8379 GB, free: 8.152 MB / 0.573 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001312/0.7208, allocations: 0.656 MB / 0.8385 GB, free: 7.477 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.15e-05/0.7209, allocations: 64.48 kB / 0.8386 GB, free: 7.402 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.7209, allocations: 0 / 0.8386 GB, free: 7.402 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.7209, allocations: 8 kB / 0.8386 GB, free: 7.395 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004659/0.7214, allocations: 91.88 kB / 0.8387 GB, free: 7.305 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.7214, allocations: 11.94 kB / 0.8387 GB, free: 7.293 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005883/0.722, allocations: 79.73 kB / 0.8387 GB, free: 7.215 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.7221, allocations: 23.98 kB / 0.8388 GB, free: 7.191 MB / 0.573 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.0002486/0.7224, allocations: 194.9 kB / 0.839 GB, free: 6.992 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.113e-05/0.7225, allocations: 51.34 kB / 0.839 GB, free: 6.941 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.7237, allocations: 0.5433 MB / 0.8395 GB, free: 6.391 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.7237, allocations: 7.938 kB / 0.8395 GB, free: 6.383 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7237, allocations: 0 / 0.8395 GB, free: 6.383 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.7238, allocations: 7.984 kB / 0.8395 GB, free: 6.375 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/0.7261, allocations: 1.349 MB / 0.8409 GB, free: 4.926 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.7261, allocations: 8.062 kB / 0.8409 GB, free: 4.918 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.7266, allocations: 75.89 kB / 0.8409 GB, free: 4.844 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.7266, allocations: 4 kB / 0.841 GB, free: 4.84 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/0.7266, allocations: 20.05 kB / 0.841 GB, free: 4.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.7266, allocations: 4 kB / 0.841 GB, free: 4.816 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.7266, allocations: 7.938 kB / 0.841 GB, free: 4.809 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/0.7384, allocations: 4.511 MB / 0.8454 GB, free: 68 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002695/0.7387, allocations: 172.3 kB / 0.8456 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.7388, allocations: 16 kB / 0.8456 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004827/0.7393, allocations: 43.94 kB / 0.8456 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.7394, allocations: 39.95 kB / 0.8456 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.7395, allocations: 27.92 kB / 0.8457 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004193/0.7399, allocations: 350.8 kB / 0.846 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7399, allocations: 0 / 0.846 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0008492/0.7408, allocations: 211.8 kB / 0.8462 GB, free: 15.21 MB / 0.5886 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.0004868/0.7413, allocations: 208.9 kB / 0.8464 GB, free: 15 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.7425, allocations: 0.58 MB / 0.847 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7426, allocations: 0.75 kB / 0.847 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006812/0.7432, allocations: 291.8 kB / 0.8473 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.7447, allocations: 271.1 kB / 0.8475 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.7469, allocations: 1.452 MB / 0.8489 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.7474, allocations: 0.8786 MB / 0.8498 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0005685/0.7479, allocations: 130.3 kB / 0.8499 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.7481, allocations: 43.42 kB / 0.85 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.7481, allocations: 0 / 0.85 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of Templates: time 0.01697/0.7651, allocations: 10.82 MB / 0.8605 GB, free: 0.5547 MB / 0.5886 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)