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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001238/0.001238, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001209/0.001209, allocations: 198.4 kB / 16.91 MB, free: 6.195 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.315/1.315, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7611/0.7611, allocations: 132.2 MB / 422.9 MB, free: 6.805 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 0.5019 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.4003, allocations: 80.2 MB / 0.5802 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5501/0.9505, allocations: 177 MB / 0.7531 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007827/0.9583, allocations: 7.773 MB / 0.7607 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006274/0.959, allocations: 17.38 kB / 0.7607 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006711/0.9597, allocations: 205.6 kB / 0.7609 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.9629, allocations: 1.144 MB / 0.762 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.965, allocations: 0.6742 MB / 0.7627 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001632/0.9666, allocations: 1.087 MB / 0.7637 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006857/0.9673, allocations: 382.3 kB / 0.7641 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003035/0.9703, allocations: 0.8287 MB / 0.7649 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000817/0.9712, allocations: 469.6 kB / 0.7653 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.436e-05/0.9712, allocations: 34.22 kB / 0.7654 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.973, allocations: 0.9832 MB / 0.7663 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.9732, allocations: 156.7 kB / 0.7665 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002742/0.9734, allocations: 247.8 kB / 0.7667 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000941/0.9744, allocations: 0.6705 MB / 0.7674 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.9744, allocations: 2.906 kB / 0.7674 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.715e-06/0.9744, allocations: 4.344 kB / 0.7674 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.9744, allocations: 1.094 kB / 0.7674 GB, free: 1.586 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.001237/0.9757, allocations: 0.7954 MB / 0.7682 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.9757, allocations: 11.36 kB / 0.7682 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009525/0.9767, allocations: 146.5 kB / 0.7683 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005148/0.9772, allocations: 385.3 kB / 0.7687 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.9773, allocations: 26.66 kB / 0.7687 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.315e-05/0.9773, allocations: 39.22 kB / 0.7687 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007513/0.9781, allocations: 450.7 kB / 0.7692 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.9781, allocations: 1.75 kB / 0.7692 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.9782, allocations: 17.84 kB / 0.7692 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.9782, allocations: 10.78 kB / 0.7692 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006051/0.9788, allocations: 318.7 kB / 0.7695 GB, free: 16.69 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.0021/0.9809, allocations: 2.016 MB / 0.7715 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.9813, allocations: 243 kB / 0.7717 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.9815, allocations: 152.9 kB / 0.7719 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006051/0.9821, allocations: 309.6 kB / 0.7721 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.9822, allocations: 32.72 kB / 0.7722 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 2.234e-06/0.9822, allocations: 0.875 kB / 0.7722 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001025/0.9832, allocations: 457.4 kB / 0.7726 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.9833, allocations: 62.55 kB / 0.7727 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004254/0.9837, allocations: 396.2 kB / 0.7731 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.9838, allocations: 31.61 kB / 0.7731 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.9839, allocations: 228 kB / 0.7733 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.075e-05/0.984, allocations: 85.62 kB / 0.7734 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.944e-05/0.9841, allocations: 58.36 kB / 0.7734 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.9843, allocations: 347.1 kB / 0.7738 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.9845, allocations: 111.3 kB / 0.7739 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.9848, allocations: 187.5 kB / 0.7741 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.9853, allocations: 304.1 kB / 0.7743 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.9853, allocations: 1.625 kB / 0.7743 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006463/0.986, allocations: 373.6 kB / 0.7747 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.986, allocations: 6.906 kB / 0.7747 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.986, allocations: 5.812 kB / 0.7747 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.986, allocations: 4.375 kB / 0.7747 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.9863, allocations: 58.61 kB / 0.7748 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.9863, allocations: 10.27 kB / 0.7748 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.9866, allocations: 50.05 kB / 0.7748 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.9867, allocations: 13.81 kB / 0.7748 GB, free: 13.99 MB / 0.5919 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.0001653/0.9869, allocations: 165.6 kB / 0.775 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.9869, allocations: 43.09 kB / 0.775 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006109/0.9875, allocations: 366.2 kB / 0.7754 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.9876, allocations: 3.406 kB / 0.7754 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.9876, allocations: 4 kB / 0.7754 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.9876, allocations: 4.031 kB / 0.7754 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.9889, allocations: 0.9337 MB / 0.7763 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.9889, allocations: 3.438 kB / 0.7763 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.9891, allocations: 47.17 kB / 0.7764 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.9892, allocations: 3.031 kB / 0.7764 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.9892, allocations: 8.906 kB / 0.7764 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.9892, allocations: 6.312 kB / 0.7764 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.9892, allocations: 7.438 kB / 0.7764 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008111/0.99, allocations: 0.6336 MB / 0.777 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.9902, allocations: 142 kB / 0.7771 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.712e-05/0.9902, allocations: 13.3 kB / 0.7772 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.9905, allocations: 29.16 kB / 0.7772 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.9906, allocations: 19.06 kB / 0.7772 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.9906, allocations: 10.56 kB / 0.7772 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002409/0.9908, allocations: 286 kB / 0.7775 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9908, allocations: 0 / 0.7775 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004638/0.9913, allocations: 109.7 kB / 0.7776 GB, free: 13.01 MB / 0.5919 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.0004092/0.9917, allocations: 172.6 kB / 0.7778 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005552/0.9923, allocations: 302.1 kB / 0.778 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9923, allocations: 4.031 kB / 0.778 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.9925, allocations: 154 kB / 0.7782 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.9936, allocations: 224.1 kB / 0.7784 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.9949, allocations: 0.9811 MB / 0.7794 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.9953, allocations: 0.8243 MB / 0.7802 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.9955, allocations: 41 kB / 0.7802 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.9955, allocations: 0 / 0.7802 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of Templates: time 0.01082/1.006, allocations: 6.795 MB / 0.7868 GB, free: 11.15 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (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)