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-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.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.0008639/0.000864, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008442/0.0008443, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8318/0.8318, allocations: 135.2 MB / 426.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003115, allocations: 9.125 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1475, allocations: 82.31 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001544/0.1491, allocations: 1.307 MB / 0.5885 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3794/0.5285, allocations: 127.9 MB / 0.7134 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.804e-05/0.5286, allocations: 4.969 kB / 0.7134 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.5288, allocations: 12 kB / 0.7134 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.529, allocations: 50.62 kB / 0.7134 GB, free: 488 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.5293, allocations: 120 kB / 0.7135 GB, free: 428 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.5294, allocations: 77.3 kB / 0.7136 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.5296, allocations: 18.92 kB / 0.7136 GB, free: 384 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.5298, allocations: 105.1 kB / 0.7137 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.298e-05/0.5299, allocations: 36.25 kB / 0.7138 GB, free: 320 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.5299, allocations: 3.312 kB / 0.7138 GB, free: 320 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003677/0.5303, allocations: 185.8 kB / 0.7139 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.169e-05/0.5303, allocations: 20.34 kB / 0.714 GB, free: 264 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.5304, allocations: 41.11 kB / 0.714 GB, free: 224 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.5306, allocations: 130.6 kB / 0.7141 GB, free: 200 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.5306, allocations: 0 / 0.7141 GB, free: 200 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5306, allocations: 1.25 kB / 0.7141 GB, free: 200 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.5306, allocations: 4 kB / 0.7141 GB, free: 196 kB / 0.5294 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.0005948/0.5312, allocations: 440.5 kB / 0.7146 GB, free: 15.79 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.5313, allocations: 8.719 kB / 0.7146 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008296/0.5321, allocations: 82.89 kB / 0.7146 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.5323, allocations: 197.4 kB / 0.7148 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.5323, allocations: 3.062 kB / 0.7148 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.5323, allocations: 13.23 kB / 0.7148 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.5328, allocations: 155.6 kB / 0.715 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.5328, allocations: 0 / 0.715 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.5328, allocations: 4.953 kB / 0.715 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.5328, allocations: 1.812 kB / 0.715 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005333/0.5334, allocations: 158.6 kB / 0.7152 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007364/0.5341, allocations: 423 kB / 0.7156 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007037/0.5348, allocations: 255 kB / 0.7158 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.5349, allocations: 1.891 kB / 0.7158 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.5349, allocations: 35.5 kB / 0.7158 GB, free: 14.92 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.5349, allocations: 4 kB / 0.7158 GB, free: 14.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0008447/0.5358, allocations: 247.1 kB / 0.7161 GB, free: 14.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.5358, allocations: 53.34 kB / 0.7161 GB, free: 14.78 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.536, allocations: 148.1 kB / 0.7163 GB, free: 14.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.536, allocations: 33.64 kB / 0.7163 GB, free: 14.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.5361, allocations: 100.8 kB / 0.7164 GB, free: 14.53 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.5361, allocations: 33.12 kB / 0.7164 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-06/0.5361, allocations: 0 / 0.7164 GB, free: 14.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5363, allocations: 325 kB / 0.7167 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.5365, allocations: 68.69 kB / 0.7168 GB, free: 14.17 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.5368, allocations: 91.61 kB / 0.7169 GB, free: 14.13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.537, allocations: 64.33 kB / 0.7169 GB, free: 14.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.537, allocations: 1.188 kB / 0.7169 GB, free: 14.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005199/0.5376, allocations: 181.1 kB / 0.7171 GB, free: 14.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.5376, allocations: 5.469 kB / 0.7171 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.5376, allocations: 4.422 kB / 0.7171 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5376, allocations: 1.031 kB / 0.7171 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.5378, allocations: 31.95 kB / 0.7172 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5378, allocations: 1.312 kB / 0.7172 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.538, allocations: 28.34 kB / 0.7172 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.538, allocations: 3.344 kB / 0.7172 GB, free: 14.04 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.5382, allocations: 123.2 kB / 0.7173 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.5382, allocations: 12.94 kB / 0.7173 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.299e-05/0.5383, allocations: 22.48 kB / 0.7173 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5383, allocations: 0.9688 kB / 0.7173 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5383, allocations: 0 / 0.7173 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5383, allocations: 1.922 kB / 0.7173 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007978/0.5391, allocations: 480.1 kB / 0.7178 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5391, allocations: 0.6562 kB / 0.7178 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.5393, allocations: 43.38 kB / 0.7178 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5393, allocations: 5.031 kB / 0.7179 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.5393, allocations: 2.109 kB / 0.7179 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.5393, allocations: 1.125 kB / 0.7179 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5394, allocations: 0.6562 kB / 0.7179 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005253/0.5399, allocations: 285.8 kB / 0.7181 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.5399, allocations: 88.56 kB / 0.7182 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.54, allocations: 1.828 kB / 0.7182 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.5401, allocations: 19.31 kB / 0.7182 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.5402, allocations: 9.828 kB / 0.7182 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.5402, allocations: 3.891 kB / 0.7182 GB, free: 13.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.659e-05/0.5403, allocations: 115.5 kB / 0.7184 GB, free: 13.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5403, allocations: 0 / 0.7184 GB, free: 13.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002629/0.5406, allocations: 31.88 kB / 0.7184 GB, free: 13.15 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001916/0.5408, allocations: 116.9 kB / 0.7185 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005386/0.5413, allocations: 142.1 kB / 0.7186 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5413, allocations: 0 / 0.7186 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.5416, allocations: 86.38 kB / 0.7187 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.5419, allocations: 31.69 kB / 0.7187 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005343/0.5424, allocations: 254.7 kB / 0.719 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.5427, allocations: 0.7066 MB / 0.7197 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001445/0.5428, allocations: 35.27 kB / 0.7197 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.5429, allocations: 14.89 kB / 0.7197 GB, free: 12.1 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5429, allocations: 0 / 0.7197 GB, free: 12.1 MB / 0.545 GB Notification: Performance of Templates: time 0.004642/0.5475, allocations: 1.688 MB / 0.7214 GB, free: 11.98 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: