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.0009125/0.0009123, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001066/0.001066, allocations: 172.7 kB / 15.95 MB, free: 208 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.392/1.392, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9932/0.9932, allocations: 135.3 MB / 426.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003625, allocations: 12 kB / 0.507 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1962, allocations: 82.32 MB / 0.5874 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5514/0.7477, allocations: 163.1 MB / 0.7466 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008975/0.7567, allocations: 7.284 MB / 0.7538 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008433/0.7576, allocations: 13.19 kB / 0.7538 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007781/0.7584, allocations: 164.3 kB / 0.7539 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002947/0.7614, allocations: 0.8973 MB / 0.7548 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.7632, allocations: 0.5309 MB / 0.7553 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001623/0.7648, allocations: 1.298 MB / 0.7566 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006197/0.7654, allocations: 317.6 kB / 0.7569 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002016/0.7674, allocations: 0.6888 MB / 0.7576 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008288/0.7683, allocations: 418.5 kB / 0.758 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.549e-05/0.7684, allocations: 20 kB / 0.758 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.7703, allocations: 0.5262 MB / 0.7585 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.7706, allocations: 147.5 kB / 0.7586 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.7709, allocations: 113.5 kB / 0.7588 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.7722, allocations: 0.5806 MB / 0.7593 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.7723, allocations: 0 / 0.7593 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.986e-06/0.7723, allocations: 0 / 0.7593 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.7723, allocations: 0 / 0.7593 GB, free: 12.93 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001582/0.7739, allocations: 0.7324 MB / 0.76 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 8.546e-05/0.774, allocations: 12.03 kB / 0.76 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.7752, allocations: 151.3 kB / 0.7602 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008332/0.776, allocations: 375.5 kB / 0.7605 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.249e-05/0.7761, allocations: 29 kB / 0.7606 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.861e-05/0.7762, allocations: 36 kB / 0.7606 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.7773, allocations: 454.4 kB / 0.761 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.7773, allocations: 3.984 kB / 0.761 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.831e-05/0.7774, allocations: 16 kB / 0.7611 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.7774, allocations: 11.98 kB / 0.7611 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007028/0.7781, allocations: 323.8 kB / 0.7614 GB, free: 10.71 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.002655/0.7808, allocations: 2.023 MB / 0.7634 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/0.7812, allocations: 242.4 kB / 0.7636 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.7815, allocations: 150 kB / 0.7637 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006454/0.7822, allocations: 323.2 kB / 0.764 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.7822, allocations: 38.56 kB / 0.7641 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=24): time 2.405e-06/0.7822, allocations: 0 / 0.7641 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24): time 0.001044/0.7833, allocations: 473 kB / 0.7645 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.7833, allocations: 59.39 kB / 0.7646 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004609/0.7838, allocations: 393.9 kB / 0.765 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.7838, allocations: 29.7 kB / 0.765 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.784, allocations: 224.3 kB / 0.7652 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.551e-05/0.7841, allocations: 86.73 kB / 0.7653 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/0.7841, allocations: 8 kB / 0.7653 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000205/0.7844, allocations: 350.8 kB / 0.7656 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.7846, allocations: 123.8 kB / 0.7657 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.7849, allocations: 184.4 kB / 0.7659 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.7852, allocations: 135.1 kB / 0.766 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.7852, allocations: 8 kB / 0.7661 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006282/0.7858, allocations: 364.8 kB / 0.7664 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.7858, allocations: 8.219 kB / 0.7664 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.7859, allocations: 7.984 kB / 0.7664 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.7859, allocations: 0 / 0.7664 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.7862, allocations: 63.91 kB / 0.7665 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.7862, allocations: 5.625 kB / 0.7665 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.7865, allocations: 67.41 kB / 0.7666 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/0.7866, allocations: 15.98 kB / 0.7666 GB, free: 5.086 MB / 0.5762 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.000211/0.7868, allocations: 157.8 kB / 0.7667 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.7869, allocations: 43.47 kB / 0.7668 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007206/0.7876, allocations: 376.8 kB / 0.7671 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.7876, allocations: 4 kB / 0.7671 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.7876, allocations: 0 / 0.7671 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.7876, allocations: 0 / 0.7671 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.7891, allocations: 0.9487 MB / 0.768 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.7891, allocations: 4.203 kB / 0.7681 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.7894, allocations: 59.91 kB / 0.7681 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.7894, allocations: 7.953 kB / 0.7681 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.7894, allocations: 4 kB / 0.7681 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.7894, allocations: 7.984 kB / 0.7681 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.7894, allocations: 3.938 kB / 0.7681 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009317/0.7904, allocations: 0.6392 MB / 0.7688 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.7905, allocations: 148.6 kB / 0.7689 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.7906, allocations: 7.953 kB / 0.7689 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.7909, allocations: 31.98 kB / 0.7689 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.7909, allocations: 19.97 kB / 0.769 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.7909, allocations: 8 kB / 0.769 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002956/0.7912, allocations: 279.1 kB / 0.7692 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7913, allocations: 0 / 0.7692 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004932/0.7918, allocations: 111.7 kB / 0.7693 GB, free: 2.113 MB / 0.5762 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.0004034/0.7922, allocations: 174.9 kB / 0.7695 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005874/0.7928, allocations: 292.1 kB / 0.7698 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7928, allocations: 0 / 0.7698 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.793, allocations: 155.8 kB / 0.7699 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.7941, allocations: 218.9 kB / 0.7701 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.7954, allocations: 0.9503 MB / 0.7711 GB, free: 304 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.7958, allocations: 0.8275 MB / 0.7719 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003947/0.7962, allocations: 99.52 kB / 0.772 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.7963, allocations: 35.44 kB / 0.772 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of SimCode: time 5e-07/0.7964, allocations: 0 / 0.772 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of Templates: time 0.01249/0.8089, allocations: 6.984 MB / 0.7788 GB, free: 8.48 MB / 0.5919 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)