Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001157/0.001157, allocations: 111.1 kB / 16.41 MB, free: 6.016 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.001143/0.001143, allocations: 186.6 kB / 17.34 MB, free: 5.629 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00245/0.00245, allocations: 291.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9735/0.9735, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003456/0.003456, allocations: 87.86 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4181, allocations: 86.97 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002873/0.421, allocations: 1.644 MB / 0.7686 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1775/0.5985, allocations: 151.6 MB / 0.9167 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.5987, allocations: 0 / 0.9167 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.5989, allocations: 15.8 kB / 0.9167 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.5992, allocations: 43.72 kB / 0.9167 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.5996, allocations: 147.4 kB / 0.9168 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.5998, allocations: 123.6 kB / 0.917 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.5999, allocations: 37.17 kB / 0.917 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.6012, allocations: 174.4 kB / 0.9172 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.6013, allocations: 43.77 kB / 0.9172 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.6013, allocations: 8 kB / 0.9172 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.6017, allocations: 179.7 kB / 0.9174 GB, free: 9.387 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.175e-05/0.6017, allocations: 23.92 kB / 0.9174 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.6018, allocations: 47.72 kB / 0.9175 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.6021, allocations: 189.2 kB / 0.9176 GB, free: 9.137 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6022, allocations: 4 kB / 0.9176 GB, free: 9.133 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.046e-06/0.6022, allocations: 0 / 0.9176 GB, free: 9.133 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.6022, allocations: 3.938 kB / 0.9176 GB, free: 9.129 MB / 0.6856 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.000634/0.6028, allocations: 446.6 kB / 0.9181 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.6029, allocations: 12.02 kB / 0.9181 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008426/0.6037, allocations: 83.98 kB / 0.9182 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.604, allocations: 205.6 kB / 0.9184 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.604, allocations: 4 kB / 0.9184 GB, free: 8.309 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.604, allocations: 8 kB / 0.9184 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000425/0.6044, allocations: 140.3 kB / 0.9185 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.6045, allocations: 0 / 0.9185 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.6045, allocations: 4 kB / 0.9185 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.6045, allocations: 7.938 kB / 0.9185 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/0.6051, allocations: 135.9 kB / 0.9186 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007691/0.6058, allocations: 420.4 kB / 0.919 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/0.6066, allocations: 251.7 kB / 0.9193 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.6068, allocations: 72.8 kB / 0.9194 GB, free: 7.207 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.6068, allocations: 0 / 0.9194 GB, free: 7.207 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.6069, allocations: 34.56 kB / 0.9194 GB, free: 7.164 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.6069, allocations: 4 kB / 0.9194 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8): time 0.000798/0.6077, allocations: 217.4 kB / 0.9196 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.6078, allocations: 55.41 kB / 0.9197 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.6079, allocations: 153.5 kB / 0.9198 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.6079, allocations: 29.7 kB / 0.9198 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.608, allocations: 104.1 kB / 0.9199 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.608, allocations: 27.89 kB / 0.92 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.6081, allocations: 21.7 kB / 0.92 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6083, allocations: 330.8 kB / 0.9203 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.6085, allocations: 55.94 kB / 0.9203 GB, free: 6.137 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.6087, allocations: 70.53 kB / 0.9204 GB, free: 6.059 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.6092, allocations: 124.7 kB / 0.9205 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6092, allocations: 4 kB / 0.9205 GB, free: 5.93 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004925/0.6097, allocations: 157.5 kB / 0.9207 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.6097, allocations: 12 kB / 0.9207 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.6097, allocations: 0 / 0.9207 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.6097, allocations: 0 / 0.9207 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.6099, allocations: 27.97 kB / 0.9207 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.6099, allocations: 0 / 0.9207 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.6101, allocations: 15.92 kB / 0.9207 GB, free: 5.715 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.6101, allocations: 7.984 kB / 0.9207 GB, free: 5.707 MB / 0.6856 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 0.0001071/0.6102, allocations: 132.1 kB / 0.9209 GB, free: 5.57 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.6102, allocations: 15.89 kB / 0.9209 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.807e-05/0.6103, allocations: 16.72 kB / 0.9209 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.6103, allocations: 0 / 0.9209 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.6103, allocations: 7.922 kB / 0.9209 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.6103, allocations: 0 / 0.9209 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008394/0.6112, allocations: 462.4 kB / 0.9213 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6112, allocations: 0 / 0.9213 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.6114, allocations: 31.91 kB / 0.9214 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6114, allocations: 0 / 0.9214 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.6114, allocations: 0 / 0.9214 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.6114, allocations: 11.94 kB / 0.9214 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6114, allocations: 0 / 0.9214 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005245/0.612, allocations: 255.3 kB / 0.9216 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.612, allocations: 89.06 kB / 0.9217 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.6121, allocations: 0 / 0.9217 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.6122, allocations: 23.91 kB / 0.9217 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.6123, allocations: 7.984 kB / 0.9218 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.6123, allocations: 0 / 0.9218 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 8.907e-05/0.6124, allocations: 113.3 kB / 0.9219 GB, free: 4.469 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6124, allocations: 0 / 0.9219 GB, free: 4.469 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004743/0.6129, allocations: 35.86 kB / 0.9219 GB, free: 4.434 MB / 0.6856 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.0002112/0.6131, allocations: 119.1 kB / 0.922 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005582/0.6137, allocations: 124.6 kB / 0.9221 GB, free: 4.188 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.6137, allocations: 0 / 0.9221 GB, free: 4.188 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.6139, allocations: 75.88 kB / 0.9222 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.6143, allocations: 32.27 kB / 0.9222 GB, free: 4.082 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.6149, allocations: 227 kB / 0.9224 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.6152, allocations: 0.7041 MB / 0.9231 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001251/0.6153, allocations: 28.36 kB / 0.9232 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.6154, allocations: 15.44 kB / 0.9232 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of SimCode: time 2.4e-07/0.6154, allocations: 0 / 0.9232 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of Templates: time 0.00518/0.6206, allocations: 1.955 MB / 0.9251 GB, free: 1.133 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)