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.001069/0.001069, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001121/0.001121, allocations: 194.4 kB / 16.25 MB, free: 6.617 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.347/1.347, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7767/0.7767, allocations: 132.2 MB / 422.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 64.06 kB / 0.5013 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4179, allocations: 80.2 MB / 0.5796 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1977/0.6156, allocations: 177 MB / 0.7525 GB, free: 56 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008775/0.6244, allocations: 7.765 MB / 0.7601 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000642/0.6251, allocations: 19.88 kB / 0.7601 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007109/0.6258, allocations: 206.8 kB / 0.7603 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003002/0.6288, allocations: 1.144 MB / 0.7614 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.6306, allocations: 0.674 MB / 0.7621 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001243/0.6318, allocations: 1.076 MB / 0.7631 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006154/0.6325, allocations: 397.3 kB / 0.7635 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00252/0.635, allocations: 0.8279 MB / 0.7643 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007294/0.6357, allocations: 454.4 kB / 0.7647 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.142e-05/0.6358, allocations: 36 kB / 0.7648 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.6374, allocations: 0.978 MB / 0.7657 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.6376, allocations: 171.5 kB / 0.7659 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002403/0.6378, allocations: 246.8 kB / 0.7661 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.6392, allocations: 0.9932 MB / 0.7671 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6392, allocations: 0 / 0.7671 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.023e-06/0.6392, allocations: 0 / 0.7671 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.6392, allocations: 0 / 0.7671 GB, free: 1.066 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.001084/0.6403, allocations: 0.8064 MB / 0.7679 GB, free: 212 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.6404, allocations: 12.03 kB / 0.7679 GB, free: 200 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008826/0.6413, allocations: 147.3 kB / 0.768 GB, free: 52 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.6417, allocations: 383.3 kB / 0.7684 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.6418, allocations: 36.92 kB / 0.7684 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.445e-05/0.6418, allocations: 40 kB / 0.7685 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006739/0.6425, allocations: 450.4 kB / 0.7689 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.6425, allocations: 3.938 kB / 0.7689 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.6426, allocations: 16 kB / 0.7689 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.6426, allocations: 12 kB / 0.7689 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/0.6432, allocations: 319.8 kB / 0.7692 GB, free: 14.76 MB / 0.6075 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.001868/0.645, allocations: 2.008 MB / 0.7712 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.6454, allocations: 238.4 kB / 0.7714 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.6456, allocations: 140.8 kB / 0.7716 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000559/0.6462, allocations: 315.2 kB / 0.7719 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.6462, allocations: 30.56 kB / 0.7719 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.443e-06/0.6462, allocations: 0 / 0.7719 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.0009085/0.6472, allocations: 457.2 kB / 0.7723 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.6472, allocations: 59.27 kB / 0.7724 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.6476, allocations: 390 kB / 0.7727 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.6476, allocations: 33.7 kB / 0.7728 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.6477, allocations: 236.2 kB / 0.773 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/0.6478, allocations: 78.77 kB / 0.7731 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-05/0.6479, allocations: 57.69 kB / 0.7731 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.648, allocations: 354.7 kB / 0.7735 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.6482, allocations: 119.9 kB / 0.7736 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.6485, allocations: 174.8 kB / 0.7738 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/0.649, allocations: 309.9 kB / 0.774 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.649, allocations: 0 / 0.774 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005665/0.6495, allocations: 360.8 kB / 0.7744 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.6496, allocations: 9.562 kB / 0.7744 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.6496, allocations: 0 / 0.7744 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.6496, allocations: 4 kB / 0.7744 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.6499, allocations: 63.84 kB / 0.7745 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.6499, allocations: 16.14 kB / 0.7745 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.6502, allocations: 63.53 kB / 0.7745 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.6502, allocations: 11.94 kB / 0.7746 GB, free: 8.949 MB / 0.6075 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.0001588/0.6504, allocations: 171.3 kB / 0.7747 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.6504, allocations: 39.53 kB / 0.7748 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006466/0.6511, allocations: 368.9 kB / 0.7751 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.6511, allocations: 0 / 0.7751 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.6511, allocations: 4 kB / 0.7751 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6511, allocations: 0 / 0.7751 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.6523, allocations: 0.9332 MB / 0.776 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6524, allocations: 3.938 kB / 0.776 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.6526, allocations: 47.91 kB / 0.7761 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.6526, allocations: 8.219 kB / 0.7761 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.6526, allocations: 8 kB / 0.7761 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.6527, allocations: 7.938 kB / 0.7761 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6527, allocations: 8 kB / 0.7761 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008384/0.6535, allocations: 0.6367 MB / 0.7767 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.6536, allocations: 140.5 kB / 0.7769 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.6537, allocations: 7.984 kB / 0.7769 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.654, allocations: 28.05 kB / 0.7769 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.654, allocations: 15.98 kB / 0.7769 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.654, allocations: 11.98 kB / 0.7769 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002475/0.6543, allocations: 287.1 kB / 0.7772 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.6543, allocations: 0 / 0.7772 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003952/0.6547, allocations: 111.8 kB / 0.7773 GB, free: 5.988 MB / 0.6075 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.0003463/0.655, allocations: 176.8 kB / 0.7775 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005479/0.6556, allocations: 303.8 kB / 0.7778 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6556, allocations: 4.062 kB / 0.7778 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.6559, allocations: 153.7 kB / 0.7779 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.6569, allocations: 218.3 kB / 0.7781 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.6582, allocations: 0.9523 MB / 0.779 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.6585, allocations: 0.8311 MB / 0.7799 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000275/0.6588, allocations: 103.4 kB / 0.78 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.321e-05/0.6589, allocations: 31.44 kB / 0.78 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.6589, allocations: 0 / 0.78 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of Templates: time 0.01175/0.6707, allocations: 7.513 MB / 0.7873 GB, free: 11.79 MB / 0.6231 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)