Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001213/0.001213, allocations: 106.9 kB / 16.41 MB, free: 6.492 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.001208/0.001208, allocations: 187 kB / 17.34 MB, free: 5.73 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.232/1.232, 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.7603/0.7603, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 65.72 kB / 0.5863 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1392, allocations: 80.93 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4863/0.6256, allocations: 179.4 MB / 0.8405 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007999/0.6336, allocations: 7.838 MB / 0.8482 GB, free: 4 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005495/0.6342, allocations: 20.17 kB / 0.8482 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006216/0.6348, allocations: 239.9 kB / 0.8484 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002708/0.6376, allocations: 1.228 MB / 0.8496 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.6392, allocations: 0.7272 MB / 0.8503 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001019/0.6403, allocations: 1.081 MB / 0.8514 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005144/0.6408, allocations: 406.6 kB / 0.8518 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.6428, allocations: 0.8139 MB / 0.8526 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005497/0.6433, allocations: 446.3 kB / 0.853 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.334e-05/0.6434, allocations: 37.53 kB / 0.853 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.6449, allocations: 0.9513 MB / 0.8539 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.645, allocations: 155.8 kB / 0.8541 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.6452, allocations: 249.1 kB / 0.8543 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.6464, allocations: 0.9395 MB / 0.8552 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.6464, allocations: 0 / 0.8552 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6464, allocations: 0 / 0.8552 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.6464, allocations: 2.781 kB / 0.8552 GB, free: 11.34 MB / 0.6231 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.001046/0.6474, allocations: 0.804 MB / 0.856 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.6475, allocations: 10.89 kB / 0.856 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008368/0.6483, allocations: 149.1 kB / 0.8562 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/0.6489, allocations: 406.3 kB / 0.8566 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.6489, allocations: 30.44 kB / 0.8566 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.227e-05/0.6489, allocations: 37.16 kB / 0.8566 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006441/0.6496, allocations: 451.8 kB / 0.8571 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.6496, allocations: 7.875 kB / 0.8571 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.6497, allocations: 14.75 kB / 0.8571 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.6497, allocations: 9.75 kB / 0.8571 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005366/0.6502, allocations: 318.8 kB / 0.8574 GB, free: 9.746 MB / 0.6231 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.001845/0.6521, allocations: 2.009 MB / 0.8594 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.6524, allocations: 236.7 kB / 0.8596 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.6527, allocations: 152.7 kB / 0.8597 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005036/0.6532, allocations: 308.7 kB / 0.86 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.6532, allocations: 32.38 kB / 0.8601 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=24): time 1.312e-06/0.6532, allocations: 4 kB / 0.8601 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24): time 0.0008903/0.6541, allocations: 457.7 kB / 0.8605 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.6541, allocations: 53.91 kB / 0.8606 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.6545, allocations: 398.2 kB / 0.8609 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.6546, allocations: 33.7 kB / 0.861 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.6547, allocations: 236.2 kB / 0.8612 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.6548, allocations: 74.91 kB / 0.8613 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.6549, allocations: 57.61 kB / 0.8613 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.655, allocations: 350.7 kB / 0.8617 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.6552, allocations: 115.9 kB / 0.8618 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.6555, allocations: 190.7 kB / 0.8619 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/0.656, allocations: 308.5 kB / 0.8622 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.656, allocations: 0 / 0.8622 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005778/0.6566, allocations: 368.9 kB / 0.8626 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.6566, allocations: 9.875 kB / 0.8626 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.6566, allocations: 0 / 0.8626 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.6566, allocations: 4 kB / 0.8626 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.6569, allocations: 61.16 kB / 0.8627 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.6569, allocations: 4 kB / 0.8627 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.6571, allocations: 39.61 kB / 0.8627 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.6571, allocations: 12 kB / 0.8627 GB, free: 4.75 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.6573, allocations: 173.7 kB / 0.8629 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.6573, allocations: 47.36 kB / 0.8629 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006317/0.658, allocations: 362.7 kB / 0.8633 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.658, allocations: 4 kB / 0.8633 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.658, allocations: 0 / 0.8633 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.658, allocations: 3.984 kB / 0.8633 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.6593, allocations: 0.9374 MB / 0.8642 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.6593, allocations: 4 kB / 0.8642 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.6595, allocations: 52.06 kB / 0.8642 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6595, allocations: 7.938 kB / 0.8643 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.6595, allocations: 16 kB / 0.8643 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.6596, allocations: 0 / 0.8643 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.6596, allocations: 4 kB / 0.8643 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008349/0.6604, allocations: 0.6294 MB / 0.8649 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.6606, allocations: 144.5 kB / 0.865 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.6606, allocations: 8 kB / 0.865 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.6608, allocations: 16.05 kB / 0.865 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.6609, allocations: 15.98 kB / 0.8651 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.6609, allocations: 11.98 kB / 0.8651 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002435/0.6611, allocations: 283.1 kB / 0.8653 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6611, allocations: 0 / 0.8653 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004086/0.6616, allocations: 115.7 kB / 0.8655 GB, free: 1.797 MB / 0.6231 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 (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.000326/0.6619, allocations: 177.8 kB / 0.8656 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005293/0.6624, allocations: 291.6 kB / 0.8659 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6624, allocations: 0 / 0.8659 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.6627, allocations: 148.5 kB / 0.866 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009834/0.6637, allocations: 223.2 kB / 0.8663 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.6648, allocations: 0.8444 MB / 0.8671 GB, free: 92 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.6652, allocations: 0.8272 MB / 0.8679 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.6653, allocations: 43.36 kB / 0.8679 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of SimCode: time 1.473e-06/0.6653, allocations: 0 / 0.8679 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of Templates: time 0.008345/0.6736, allocations: 6.795 MB / 0.8746 GB, free: 8.465 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)