Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.576/1.576, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009212/0.0009213, allocations: 171.7 kB / 327.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 0.5783 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007141/0.0007141, allocations: 86.36 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004592, allocations: 6.812 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2698, allocations: 106.3 MB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002155/0.272, allocations: 1.336 MB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1803/0.4524, allocations: 137.7 MB / 1.037 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.4526, allocations: 3.938 kB / 1.037 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.4527, allocations: 3.938 kB / 1.037 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.453, allocations: 39.75 kB / 1.037 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.4534, allocations: 119.5 kB / 1.037 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.4536, allocations: 103.6 kB / 1.037 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.4537, allocations: 29.31 kB / 1.037 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003171/0.454, allocations: 111.8 kB / 1.037 GB, free: 4.07 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.337e-05/0.4541, allocations: 35.78 kB / 1.037 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.4541, allocations: 4 kB / 1.037 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.4545, allocations: 179.7 kB / 1.037 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.022e-05/0.4545, allocations: 19.91 kB / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 5.225e-05/0.4546, allocations: 49.58 kB / 1.037 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.4548, allocations: 124 kB / 1.037 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4548, allocations: 0 / 1.037 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4548, allocations: 0 / 1.037 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.4548, allocations: 4 kB / 1.037 GB, free: 3.656 MB / 0.6823 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.0006663/0.4555, allocations: 442.8 kB / 1.038 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.4556, allocations: 12.03 kB / 1.038 GB, free: 3.164 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009577/0.4565, allocations: 79.81 kB / 1.038 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.4568, allocations: 197.1 kB / 1.038 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.4568, allocations: 11.94 kB / 1.038 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.4568, allocations: 8 kB / 1.038 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004524/0.4573, allocations: 145.5 kB / 1.038 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.4573, allocations: 7.953 kB / 1.038 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.4573, allocations: 4 kB / 1.038 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.4574, allocations: 3.984 kB / 1.038 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005527/0.4579, allocations: 155.9 kB / 1.038 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007965/0.4587, allocations: 420.4 kB / 1.039 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000734/0.4595, allocations: 255.7 kB / 1.039 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.4598, allocations: 84.8 kB / 1.039 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.4598, allocations: 3.938 kB / 1.039 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.4599, allocations: 46.56 kB / 1.039 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.4599, allocations: 0 / 1.039 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0008165/0.4607, allocations: 241.4 kB / 1.039 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.4607, allocations: 63.38 kB / 1.039 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.4609, allocations: 145.3 kB / 1.04 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.4609, allocations: 29.7 kB / 1.04 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.461, allocations: 100.3 kB / 1.04 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.461, allocations: 27.7 kB / 1.04 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-06/0.461, allocations: 0 / 1.04 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.4611, allocations: 322.8 kB / 1.04 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.4614, allocations: 75.88 kB / 1.04 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.4616, allocations: 90.45 kB / 1.04 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.4619, allocations: 67.98 kB / 1.04 GB, free: 456 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.4619, allocations: 0 / 1.04 GB, free: 456 kB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005041/0.4624, allocations: 181.5 kB / 1.04 GB, free: 268 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.4624, allocations: 4 kB / 1.04 GB, free: 264 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4624, allocations: 0 / 1.04 GB, free: 264 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.4624, allocations: 0 / 1.04 GB, free: 264 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.4627, allocations: 31.97 kB / 1.041 GB, free: 232 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.4627, allocations: 12.48 kB / 1.041 GB, free: 220 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.4629, allocations: 23.88 kB / 1.041 GB, free: 196 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.4629, allocations: 4 kB / 1.041 GB, free: 192 kB / 0.6823 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.0001074/0.463, allocations: 121.8 kB / 1.041 GB, free: 60 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.463, allocations: 7.906 kB / 1.041 GB, free: 52 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.868e-05/0.4631, allocations: 20.7 kB / 1.041 GB, free: 28 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4631, allocations: 0 / 1.041 GB, free: 28 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4631, allocations: 0 / 1.041 GB, free: 28 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4631, allocations: 0 / 1.041 GB, free: 28 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008673/0.464, allocations: 494.2 kB / 1.041 GB, free: 15.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.464, allocations: 0 / 1.041 GB, free: 15.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.4642, allocations: 35.97 kB / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4642, allocations: 0 / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.4642, allocations: 4 kB / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4642, allocations: 0 / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4642, allocations: 0 / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.4648, allocations: 291.2 kB / 1.041 GB, free: 15.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.4649, allocations: 81.02 kB / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.4649, allocations: 7.984 kB / 1.042 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.4651, allocations: 19.98 kB / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.4651, allocations: 7.984 kB / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.4652, allocations: 3.938 kB / 1.042 GB, free: 15.01 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.054e-05/0.4652, allocations: 125.2 kB / 1.042 GB, free: 14.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4652, allocations: 0 / 1.042 GB, free: 14.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003832/0.4656, allocations: 32 kB / 1.042 GB, free: 14.86 MB / 0.698 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.0001838/0.4658, allocations: 115.1 kB / 1.042 GB, free: 14.74 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00054/0.4664, allocations: 143.9 kB / 1.042 GB, free: 14.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4664, allocations: 0 / 1.042 GB, free: 14.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.4666, allocations: 79.88 kB / 1.042 GB, free: 14.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.467, allocations: 32.95 kB / 1.042 GB, free: 14.49 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000643/0.4677, allocations: 286.7 kB / 1.042 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.468, allocations: 0.6965 MB / 1.043 GB, free: 13.45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.4681, allocations: 19.42 kB / 1.043 GB, free: 13.44 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.4681, allocations: 0 / 1.043 GB, free: 13.44 MB / 0.698 GB Notification: Performance of Templates: time 0.00329/0.4714, allocations: 1.71 MB / 1.045 GB, free: 11.73 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)