Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008862/0.0008862, allocations: 99.31 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.0008708/0.0008708, 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.194/1.194, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8722/0.8722, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002906, allocations: 9.406 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1477, allocations: 82.32 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.3834/0.5312, allocations: 149.5 MB / 0.7332 GB, free: 2.145 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007631/0.5388, allocations: 6.525 MB / 0.7396 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004759/0.5393, allocations: 20.22 kB / 0.7396 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000843/0.5402, allocations: 255.5 kB / 0.7399 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002281/0.5425, allocations: 0.8187 MB / 0.7407 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.5443, allocations: 0.5775 MB / 0.7412 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009717/0.5452, allocations: 0.6192 MB / 0.7418 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005216/0.5458, allocations: 343.2 kB / 0.7422 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.5472, allocations: 0.6922 MB / 0.7428 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/0.5476, allocations: 320.4 kB / 0.7431 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.5476, allocations: 23.12 kB / 0.7432 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009896/0.5486, allocations: 444.8 kB / 0.7436 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.5488, allocations: 133.2 kB / 0.7437 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.647e-05/0.5489, allocations: 114.4 kB / 0.7438 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006652/0.5496, allocations: 0.523 MB / 0.7443 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5496, allocations: 0 / 0.7443 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5496, allocations: 3.938 kB / 0.7443 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.5496, allocations: 0 / 0.7443 GB, free: 11.11 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009056/0.5505, allocations: 0.7058 MB / 0.745 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.5505, allocations: 16.03 kB / 0.745 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008716/0.5514, allocations: 146.7 kB / 0.7452 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.5519, allocations: 377.6 kB / 0.7455 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.552, allocations: 29 kB / 0.7456 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/0.552, allocations: 36 kB / 0.7456 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006652/0.5527, allocations: 448.1 kB / 0.746 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.5527, allocations: 4 kB / 0.746 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.5528, allocations: 16 kB / 0.7461 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.5528, allocations: 8 kB / 0.7461 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005514/0.5533, allocations: 322.3 kB / 0.7464 GB, free: 9.164 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.001966/0.5553, allocations: 2.016 MB / 0.7483 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.5557, allocations: 250.9 kB / 0.7486 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003873/0.5561, allocations: 142.1 kB / 0.7487 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.5561, allocations: 38.56 kB / 0.7488 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=24): time 1.463e-06/0.5561, allocations: 0 / 0.7488 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24): time 0.0009346/0.5571, allocations: 467.8 kB / 0.7492 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.5571, allocations: 55.41 kB / 0.7493 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.5575, allocations: 397.8 kB / 0.7496 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.5575, allocations: 33.7 kB / 0.7497 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.5577, allocations: 232.2 kB / 0.7499 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/0.5578, allocations: 78.84 kB / 0.75 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.5578, allocations: 12 kB / 0.75 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5579, allocations: 346.8 kB / 0.7503 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.5582, allocations: 115.9 kB / 0.7504 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.5584, allocations: 188.2 kB / 0.7506 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.5587, allocations: 137.2 kB / 0.7507 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5587, allocations: 0 / 0.7507 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005901/0.5593, allocations: 382.4 kB / 0.7511 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.5593, allocations: 8 kB / 0.7511 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5593, allocations: 0 / 0.7511 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5593, allocations: 4 kB / 0.7511 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.5596, allocations: 63.91 kB / 0.7512 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.5596, allocations: 4 kB / 0.7512 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.5599, allocations: 55.66 kB / 0.7512 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.5599, allocations: 17.27 kB / 0.7512 GB, free: 4.188 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.0001657/0.5601, allocations: 175.4 kB / 0.7514 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.5602, allocations: 35.53 kB / 0.7514 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006192/0.5608, allocations: 383.5 kB / 0.7518 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5608, allocations: 4 kB / 0.7518 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5608, allocations: 3.984 kB / 0.7518 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5608, allocations: 0 / 0.7518 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.5621, allocations: 0.9504 MB / 0.7527 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5621, allocations: 4 kB / 0.7527 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.5624, allocations: 47.91 kB / 0.7528 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.5624, allocations: 4 kB / 0.7528 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.5624, allocations: 11.95 kB / 0.7528 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.5624, allocations: 4 kB / 0.7528 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5624, allocations: 7.938 kB / 0.7528 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008714/0.5633, allocations: 0.7194 MB / 0.7535 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.5635, allocations: 144.6 kB / 0.7537 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/0.5635, allocations: 8 kB / 0.7537 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.5638, allocations: 27.97 kB / 0.7537 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.5638, allocations: 23.97 kB / 0.7537 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.5638, allocations: 12 kB / 0.7537 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002362/0.5641, allocations: 275.1 kB / 0.754 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5641, allocations: 0 / 0.754 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004142/0.5645, allocations: 111.8 kB / 0.7541 GB, free: 1.082 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003548/0.5649, allocations: 185.2 kB / 0.7543 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005245/0.5654, allocations: 288 kB / 0.7545 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5654, allocations: 4.062 kB / 0.7545 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.5657, allocations: 147.8 kB / 0.7547 GB, free: 484 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009208/0.5666, allocations: 214.6 kB / 0.7549 GB, free: 276 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.5678, allocations: 0.9527 MB / 0.7558 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.5682, allocations: 0.8431 MB / 0.7566 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002681/0.5684, allocations: 90.86 kB / 0.7567 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.153e-05/0.5685, allocations: 35.42 kB / 0.7568 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.5685, allocations: 0 / 0.7568 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of Templates: time 0.01104/0.5796, allocations: 6.972 MB / 0.7636 GB, free: 7.445 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: