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.001089/0.001089, allocations: 101.8 kB / 16.35 MB, free: 5.875 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.001065/0.001065, allocations: 191.8 kB / 17.29 MB, free: 5.516 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7976/0.7976, allocations: 132.2 MB / 423.3 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 63.91 kB / 0.5032 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3838, allocations: 80.18 MB / 0.5815 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5518/0.9356, allocations: 179.4 MB / 0.7567 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008197/0.9438, allocations: 7.843 MB / 0.7643 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006619/0.9445, allocations: 18.03 kB / 0.7643 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007011/0.9453, allocations: 249.8 kB / 0.7646 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003325/0.9486, allocations: 1.224 MB / 0.7658 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.9507, allocations: 0.7269 MB / 0.7665 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001874/0.9526, allocations: 1.081 MB / 0.7675 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00079/0.9534, allocations: 403.1 kB / 0.7679 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002905/0.9563, allocations: 0.8356 MB / 0.7687 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007164/0.957, allocations: 431.8 kB / 0.7692 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.668e-05/0.9571, allocations: 37.34 kB / 0.7692 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.9589, allocations: 0.9504 MB / 0.7701 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.959, allocations: 158.7 kB / 0.7703 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.9593, allocations: 250.7 kB / 0.7705 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.961, allocations: 0.942 MB / 0.7714 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.961, allocations: 3.203 kB / 0.7714 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.963e-06/0.961, allocations: 0 / 0.7714 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.961, allocations: 0 / 0.7714 GB, free: 1.52 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.001361/0.9624, allocations: 0.8051 MB / 0.7722 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.9625, allocations: 10.23 kB / 0.7722 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.9635, allocations: 149.9 kB / 0.7724 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006178/0.9641, allocations: 402.2 kB / 0.7728 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.9642, allocations: 30.78 kB / 0.7728 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/0.9642, allocations: 34.97 kB / 0.7728 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/0.9649, allocations: 449.4 kB / 0.7732 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.965, allocations: 3.688 kB / 0.7732 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.965, allocations: 19.25 kB / 0.7733 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.965, allocations: 9.188 kB / 0.7733 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006103/0.9656, allocations: 320.9 kB / 0.7736 GB, free: 16.6 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.00218/0.9678, allocations: 2.009 MB / 0.7755 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/0.9682, allocations: 244.7 kB / 0.7758 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.9685, allocations: 145.8 kB / 0.7759 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005903/0.9691, allocations: 305.2 kB / 0.7762 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.9691, allocations: 39.7 kB / 0.7762 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.9692, allocations: 1 kB / 0.7762 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001054/0.9702, allocations: 458.2 kB / 0.7767 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.9703, allocations: 58.05 kB / 0.7767 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/0.9707, allocations: 401.8 kB / 0.7771 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.9707, allocations: 33.08 kB / 0.7772 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.9709, allocations: 231 kB / 0.7774 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.9709, allocations: 78.44 kB / 0.7774 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.605e-05/0.971, allocations: 58.55 kB / 0.7775 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.9712, allocations: 350 kB / 0.7778 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.9714, allocations: 108.9 kB / 0.7779 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.9716, allocations: 187.9 kB / 0.7781 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.9721, allocations: 303.8 kB / 0.7784 GB, free: 14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.9721, allocations: 4.031 kB / 0.7784 GB, free: 14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005873/0.9727, allocations: 370.3 kB / 0.7788 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.9727, allocations: 11.61 kB / 0.7788 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.9727, allocations: 0.9062 kB / 0.7788 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.9728, allocations: 3.766 kB / 0.7788 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.973, allocations: 57.75 kB / 0.7788 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.9731, allocations: 3.188 kB / 0.7788 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.9733, allocations: 43.55 kB / 0.7789 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.9734, allocations: 13.84 kB / 0.7789 GB, free: 13.92 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.0001719/0.9736, allocations: 167.3 kB / 0.7791 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.9736, allocations: 46.72 kB / 0.7791 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006228/0.9743, allocations: 367.2 kB / 0.7794 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.9743, allocations: 3.188 kB / 0.7795 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9743, allocations: 2.469 kB / 0.7795 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.9743, allocations: 2.953 kB / 0.7795 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.9756, allocations: 0.9401 MB / 0.7804 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.9756, allocations: 0.7812 kB / 0.7804 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.9758, allocations: 49.62 kB / 0.7804 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.9759, allocations: 2.812 kB / 0.7804 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.9759, allocations: 8.844 kB / 0.7804 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.9759, allocations: 6.562 kB / 0.7804 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.9759, allocations: 4.219 kB / 0.7804 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000792/0.9767, allocations: 0.6265 MB / 0.7811 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.9769, allocations: 145.9 kB / 0.7812 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.977, allocations: 12.97 kB / 0.7812 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.9772, allocations: 10 kB / 0.7812 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.9772, allocations: 26.16 kB / 0.7812 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.9773, allocations: 12.47 kB / 0.7813 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000245/0.9775, allocations: 281 kB / 0.7815 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9775, allocations: 3.406 kB / 0.7815 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004757/0.978, allocations: 103.8 kB / 0.7816 GB, free: 12.94 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.0003692/0.9784, allocations: 177.2 kB / 0.7818 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005559/0.9789, allocations: 292.5 kB / 0.7821 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.979, allocations: 0.875 kB / 0.7821 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.9792, allocations: 153.3 kB / 0.7822 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009367/0.9801, allocations: 221.6 kB / 0.7824 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.9814, allocations: 0.8055 MB / 0.7832 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.9818, allocations: 0.8368 MB / 0.784 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002983/0.9821, allocations: 97.52 kB / 0.7841 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.904e-05/0.9822, allocations: 35.19 kB / 0.7842 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of SimCode: time 1.133e-06/0.9822, allocations: 0 / 0.7842 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of Templates: time 0.01461/0.9968, allocations: 7.597 MB / 0.7916 GB, free: 11.34 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)