Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001044/0.001044, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7842/0.7842, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 67.7 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1427, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003094/0.1459, allocations: 1.632 MB / 0.6619 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.528/0.6739, allocations: 151.5 MB / 0.8099 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.6741, allocations: 4 kB / 0.8099 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.6743, allocations: 19.16 kB / 0.8099 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.6745, allocations: 42.58 kB / 0.81 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.6749, allocations: 147.1 kB / 0.8101 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.6751, allocations: 121 kB / 0.8102 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.6753, allocations: 34.84 kB / 0.8103 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.6764, allocations: 170.4 kB / 0.8104 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.945e-05/0.6765, allocations: 45.84 kB / 0.8105 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.6765, allocations: 12.56 kB / 0.8105 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003384/0.6769, allocations: 177.8 kB / 0.8107 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.442e-05/0.6769, allocations: 24.88 kB / 0.8107 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.677, allocations: 44.2 kB / 0.8107 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.6773, allocations: 194.7 kB / 0.8109 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6773, allocations: 2.625 kB / 0.8109 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6773, allocations: 0 / 0.8109 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.6773, allocations: 2.75 kB / 0.8109 GB, free: 11.39 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000574/0.6779, allocations: 440.3 kB / 0.8113 GB, free: 11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.6779, allocations: 10.06 kB / 0.8113 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008362/0.6788, allocations: 79.77 kB / 0.8114 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.679, allocations: 214.6 kB / 0.8116 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.679, allocations: 9.5 kB / 0.8116 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.6791, allocations: 9.312 kB / 0.8116 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.6795, allocations: 141.1 kB / 0.8118 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.6795, allocations: 0 / 0.8118 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.6795, allocations: 6.594 kB / 0.8118 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.6795, allocations: 3.938 kB / 0.8118 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004988/0.68, allocations: 135.6 kB / 0.8119 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007164/0.6807, allocations: 407.4 kB / 0.8123 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006944/0.6814, allocations: 250.2 kB / 0.8125 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.6817, allocations: 81.55 kB / 0.8126 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.6817, allocations: 10.44 kB / 0.8126 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.6818, allocations: 30.56 kB / 0.8127 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.6818, allocations: 2.375 kB / 0.8127 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0007394/0.6825, allocations: 220.2 kB / 0.8129 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.6825, allocations: 51.41 kB / 0.8129 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.6827, allocations: 143.4 kB / 0.8131 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.6827, allocations: 25.7 kB / 0.8131 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.484e-05/0.6827, allocations: 104.2 kB / 0.8132 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.6828, allocations: 27.5 kB / 0.8132 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.6828, allocations: 25.66 kB / 0.8132 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.683, allocations: 332.7 kB / 0.8135 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.6832, allocations: 50.86 kB / 0.8136 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.6834, allocations: 75.2 kB / 0.8137 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.6838, allocations: 123.8 kB / 0.8138 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6838, allocations: 0 / 0.8138 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004636/0.6843, allocations: 161.9 kB / 0.8139 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.6843, allocations: 4.625 kB / 0.8139 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.6843, allocations: 1.156 kB / 0.8139 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.6843, allocations: 0 / 0.8139 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.6845, allocations: 32.75 kB / 0.814 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.6845, allocations: 0.5469 kB / 0.814 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.6847, allocations: 17.94 kB / 0.814 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.6847, allocations: 7.547 kB / 0.814 GB, free: 9.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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 9.346e-05/0.6848, allocations: 126.3 kB / 0.8141 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.6849, allocations: 12.09 kB / 0.8141 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.766e-05/0.6849, allocations: 14.53 kB / 0.8141 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.6849, allocations: 1.188 kB / 0.8141 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.685, allocations: 2.391 kB / 0.8141 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.685, allocations: 5.281 kB / 0.8142 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007627/0.6857, allocations: 462.2 kB / 0.8146 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6857, allocations: 0 / 0.8146 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.6859, allocations: 36.12 kB / 0.8146 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.6859, allocations: 1.531 kB / 0.8146 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.686, allocations: 0 / 0.8146 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.686, allocations: 5.5 kB / 0.8146 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.686, allocations: 7.875 kB / 0.8146 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005136/0.6865, allocations: 258.7 kB / 0.8149 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.6866, allocations: 87.61 kB / 0.815 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.6866, allocations: 5.797 kB / 0.815 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.6868, allocations: 15.73 kB / 0.815 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.6868, allocations: 10.8 kB / 0.815 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.6868, allocations: 2.5 kB / 0.815 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.497e-05/0.6869, allocations: 118.5 kB / 0.8151 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6869, allocations: 0 / 0.8151 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002685/0.6872, allocations: 31.19 kB / 0.8151 GB, free: 8.652 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 8 * 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.0001503/0.6874, allocations: 114.4 kB / 0.8153 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004839/0.6879, allocations: 124.8 kB / 0.8154 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6879, allocations: 0 / 0.8154 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.6881, allocations: 67.81 kB / 0.8154 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.6884, allocations: 37.44 kB / 0.8155 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.6891, allocations: 258 kB / 0.8157 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.6894, allocations: 0.7033 MB / 0.8164 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.6894, allocations: 19.67 kB / 0.8164 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.6894, allocations: 0 / 0.8164 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of Templates: time 0.00334/0.6928, allocations: 1.737 MB / 0.8181 GB, free: 6.695 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)