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.007782/0.007782, allocations: 101.1 kB / 15.88 MB, free: 6.332 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.00168/0.00168, allocations: 196.8 kB / 16.79 MB, free: 6.258 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.396/1.396, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9308/0.9308, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 67.39 kB / 0.5053 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1652, allocations: 80.91 MB / 0.5843 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4721/0.6373, allocations: 177.2 MB / 0.7573 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009209/0.6466, allocations: 7.846 MB / 0.765 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00077/0.6474, allocations: 19.88 kB / 0.765 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007635/0.6482, allocations: 198.8 kB / 0.7652 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003211/0.6514, allocations: 1.14 MB / 0.7663 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.6532, allocations: 0.671 MB / 0.767 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001581/0.6548, allocations: 1.54 MB / 0.7685 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005065/0.6553, allocations: 343.7 kB / 0.7688 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002569/0.6579, allocations: 0.758 MB / 0.7696 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006835/0.6586, allocations: 466.2 kB / 0.77 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.011e-05/0.6587, allocations: 28 kB / 0.77 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.6605, allocations: 1.083 MB / 0.7711 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.6607, allocations: 155.5 kB / 0.7712 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.661, allocations: 238.8 kB / 0.7715 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008855/0.6618, allocations: 0.6588 MB / 0.7721 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.6619, allocations: 0 / 0.7721 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6619, allocations: 0 / 0.7721 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.6619, allocations: 4 kB / 0.7721 GB, free: 13.21 MB / 0.5919 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.001158/0.663, allocations: 0.8024 MB / 0.7729 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.6631, allocations: 8.031 kB / 0.7729 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009517/0.664, allocations: 155.2 kB / 0.773 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.6646, allocations: 383.4 kB / 0.7734 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.6646, allocations: 29 kB / 0.7734 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.268e-05/0.6647, allocations: 36 kB / 0.7735 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006984/0.6654, allocations: 446.4 kB / 0.7739 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.6654, allocations: 4 kB / 0.7739 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.6654, allocations: 19.94 kB / 0.7739 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.6655, allocations: 8.688 kB / 0.7739 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005924/0.6661, allocations: 323.7 kB / 0.7742 GB, free: 10.92 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.002067/0.6681, allocations: 2.008 MB / 0.7762 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.6685, allocations: 235.1 kB / 0.7764 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.6688, allocations: 156.8 kB / 0.7766 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005845/0.6694, allocations: 311.2 kB / 0.7769 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.6694, allocations: 38.5 kB / 0.7769 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 2.736e-06/0.6694, allocations: 0 / 0.7769 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001006/0.6704, allocations: 453.8 kB / 0.7773 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.6705, allocations: 59.27 kB / 0.7774 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.6709, allocations: 398 kB / 0.7778 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.6709, allocations: 29.7 kB / 0.7778 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.6711, allocations: 236.2 kB / 0.778 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.561e-05/0.6711, allocations: 78.83 kB / 0.7781 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.785e-05/0.6712, allocations: 57.69 kB / 0.7782 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6714, allocations: 350.7 kB / 0.7785 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.6716, allocations: 107.9 kB / 0.7786 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.6719, allocations: 187.2 kB / 0.7788 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/0.6724, allocations: 304.7 kB / 0.7791 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.6724, allocations: 0 / 0.7791 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005954/0.673, allocations: 368.6 kB / 0.7794 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.673, allocations: 4 kB / 0.7794 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.673, allocations: 7.938 kB / 0.7794 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.673, allocations: 4 kB / 0.7794 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.6733, allocations: 59.91 kB / 0.7795 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.6733, allocations: 4 kB / 0.7795 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.6736, allocations: 59.69 kB / 0.7795 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.6737, allocations: 8 kB / 0.7796 GB, free: 5.117 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.0001796/0.6739, allocations: 170.8 kB / 0.7797 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/0.6739, allocations: 39.53 kB / 0.7798 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000682/0.6746, allocations: 369 kB / 0.7801 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.6746, allocations: 8 kB / 0.7801 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6746, allocations: 0 / 0.7801 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.6746, allocations: 0 / 0.7801 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.676, allocations: 0.9409 MB / 0.781 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.676, allocations: 3.938 kB / 0.781 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.6763, allocations: 47.91 kB / 0.7811 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.6763, allocations: 7.938 kB / 0.7811 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.6763, allocations: 8 kB / 0.7811 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.6763, allocations: 4 kB / 0.7811 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6763, allocations: 224 / 0.7811 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008811/0.6772, allocations: 0.6333 MB / 0.7817 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.6774, allocations: 148.5 kB / 0.7819 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/0.6774, allocations: 8 kB / 0.7819 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.6777, allocations: 23.97 kB / 0.7819 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.6777, allocations: 27.98 kB / 0.7819 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.6778, allocations: 11.98 kB / 0.7819 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002831/0.6781, allocations: 279.1 kB / 0.7822 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6781, allocations: 0 / 0.7822 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004619/0.6785, allocations: 111.8 kB / 0.7823 GB, free: 2.156 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.0004175/0.679, allocations: 178.3 kB / 0.7825 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005736/0.6795, allocations: 291.1 kB / 0.7828 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6796, allocations: 0 / 0.7828 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.6798, allocations: 152.6 kB / 0.7829 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.6809, allocations: 211.3 kB / 0.7831 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.6823, allocations: 0.9892 MB / 0.7841 GB, free: 316 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.6827, allocations: 0.8275 MB / 0.7849 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.6828, allocations: 39.44 kB / 0.7849 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of SimCode: time 3.9e-07/0.6828, allocations: 0 / 0.7849 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of Templates: time 0.01017/0.693, allocations: 6.794 MB / 0.7915 GB, free: 8.723 MB / 0.6075 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)