Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001505/0.001505, allocations: 106.3 kB / 16.41 MB, free: 6.5 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.001773/0.001773, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8133/0.8133, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 60.19 kB / 0.5862 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1423, allocations: 80.93 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002772/0.1451, allocations: 1.639 MB / 0.6669 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5038/0.649, allocations: 151.5 MB / 0.8149 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.371e-05/0.6491, allocations: 1.156 kB / 0.8149 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.6493, allocations: 15.41 kB / 0.8149 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.6495, allocations: 50.47 kB / 0.8149 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.6499, allocations: 143.6 kB / 0.8151 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.6501, allocations: 120.5 kB / 0.8152 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.6502, allocations: 46.23 kB / 0.8152 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.6514, allocations: 166.6 kB / 0.8154 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.446e-05/0.6514, allocations: 48.77 kB / 0.8154 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.6515, allocations: 6.031 kB / 0.8154 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003482/0.6518, allocations: 179.9 kB / 0.8156 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.6519, allocations: 23.27 kB / 0.8156 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.6519, allocations: 46.73 kB / 0.8157 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.6523, allocations: 191.1 kB / 0.8159 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6523, allocations: 1.375 kB / 0.8159 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6523, allocations: 0 / 0.8159 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.6523, allocations: 0 / 0.8159 GB, free: 9.855 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.0005923/0.6529, allocations: 440.4 kB / 0.8163 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.6529, allocations: 14.64 kB / 0.8163 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009091/0.6538, allocations: 84.66 kB / 0.8164 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.6541, allocations: 211.4 kB / 0.8166 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.6541, allocations: 6.312 kB / 0.8166 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.6541, allocations: 9.5 kB / 0.8166 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.6545, allocations: 134.9 kB / 0.8167 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.6546, allocations: 1.375 kB / 0.8167 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.6546, allocations: 0 / 0.8167 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.6546, allocations: 6.688 kB / 0.8167 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005343/0.6551, allocations: 142.6 kB / 0.8169 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007056/0.6558, allocations: 410.1 kB / 0.8173 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007128/0.6566, allocations: 256.9 kB / 0.8175 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.6568, allocations: 73.48 kB / 0.8176 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.6569, allocations: 0 / 0.8176 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.6569, allocations: 44.44 kB / 0.8176 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 2.284e-06/0.6569, allocations: 0 / 0.8176 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0007652/0.6577, allocations: 218.3 kB / 0.8178 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.6577, allocations: 51.41 kB / 0.8179 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.6578, allocations: 152.6 kB / 0.818 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.6578, allocations: 25.7 kB / 0.8181 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.6579, allocations: 106.9 kB / 0.8182 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.6579, allocations: 26.25 kB / 0.8182 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.658, allocations: 23.67 kB / 0.8182 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.6581, allocations: 325.3 kB / 0.8185 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.6583, allocations: 56.48 kB / 0.8186 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.6586, allocations: 74.73 kB / 0.8186 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.659, allocations: 121.7 kB / 0.8188 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.659, allocations: 0 / 0.8188 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004982/0.6595, allocations: 166.6 kB / 0.8189 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.6595, allocations: 5.531 kB / 0.8189 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6595, allocations: 80 / 0.8189 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.6596, allocations: 3.984 kB / 0.8189 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.6598, allocations: 27.53 kB / 0.8189 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.6598, allocations: 3.984 kB / 0.8189 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.6599, allocations: 14.17 kB / 0.819 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.66, allocations: 6.75 kB / 0.819 GB, free: 7.574 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.135e-05/0.6601, allocations: 125.6 kB / 0.8191 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.6601, allocations: 13.08 kB / 0.8191 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.159e-05/0.6602, allocations: 14.38 kB / 0.8191 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.6602, allocations: 0 / 0.8191 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6602, allocations: 4.812 kB / 0.8191 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.6602, allocations: 2.094 kB / 0.8191 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007638/0.661, allocations: 466 kB / 0.8196 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.661, allocations: 0 / 0.8196 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.6612, allocations: 32.95 kB / 0.8196 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.6612, allocations: 6.75 kB / 0.8196 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.6612, allocations: 4 kB / 0.8196 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6612, allocations: 0 / 0.8196 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.6612, allocations: 7.875 kB / 0.8196 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/0.6617, allocations: 259.4 kB / 0.8199 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.6618, allocations: 86.2 kB / 0.8199 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.6618, allocations: 3.938 kB / 0.8199 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.662, allocations: 15.47 kB / 0.82 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.6621, allocations: 11.72 kB / 0.82 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.6621, allocations: 3.984 kB / 0.82 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.346e-05/0.6622, allocations: 109.5 kB / 0.8201 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6622, allocations: 7.938 kB / 0.8201 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002731/0.6624, allocations: 34.16 kB / 0.8201 GB, free: 6.656 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.0001534/0.6626, allocations: 111.5 kB / 0.8202 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004985/0.6631, allocations: 130.7 kB / 0.8204 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6631, allocations: 0 / 0.8204 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.6634, allocations: 67.19 kB / 0.8204 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.6637, allocations: 35.77 kB / 0.8205 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/0.6643, allocations: 250.1 kB / 0.8207 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.6645, allocations: 0.7007 MB / 0.8214 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.014e-05/0.6646, allocations: 19.55 kB / 0.8214 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.6646, allocations: 4 kB / 0.8214 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of Templates: time 0.003309/0.6679, allocations: 1.726 MB / 0.8231 GB, free: 4.703 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)