Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001273/0.001273, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 190 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.1 MB / 222.5 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.704/1.704, allocations: 292.3 MB / 0.549 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 74.89 kB / 0.6723 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2103, allocations: 114.6 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002951/0.2133, allocations: 1.636 MB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5369/0.7502, allocations: 151.6 MB / 0.9337 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.7503, allocations: 3.938 kB / 0.9337 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.7505, allocations: 17.53 kB / 0.9337 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.7508, allocations: 47.88 kB / 0.9338 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.7512, allocations: 146.1 kB / 0.9339 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.7514, allocations: 119.1 kB / 0.934 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.7515, allocations: 35.44 kB / 0.9341 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.7526, allocations: 161.9 kB / 0.9342 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.806e-05/0.7527, allocations: 46.95 kB / 0.9343 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.7528, allocations: 6.219 kB / 0.9343 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003615/0.7531, allocations: 176.2 kB / 0.9344 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.111e-05/0.7532, allocations: 27.83 kB / 0.9345 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.165e-05/0.7532, allocations: 41.92 kB / 0.9345 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.7535, allocations: 199.8 kB / 0.9347 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7535, allocations: 2.625 kB / 0.9347 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7535, allocations: 0 / 0.9347 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.7536, allocations: 0 / 0.9347 GB, free: 2.93 MB / 0.7169 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.0006864/0.7543, allocations: 441 kB / 0.9351 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.7543, allocations: 10.5 kB / 0.9351 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008679/0.7552, allocations: 82.58 kB / 0.9352 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.7554, allocations: 215.5 kB / 0.9354 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.7554, allocations: 6 kB / 0.9354 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.7554, allocations: 5.25 kB / 0.9354 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.7559, allocations: 142 kB / 0.9356 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.7559, allocations: 1.719 kB / 0.9356 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.7559, allocations: 3.938 kB / 0.9356 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.7559, allocations: 7.656 kB / 0.9356 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005167/0.7565, allocations: 137.3 kB / 0.9357 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007288/0.7572, allocations: 409.4 kB / 0.9361 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006516/0.7579, allocations: 260 kB / 0.9363 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.7581, allocations: 74.89 kB / 0.9364 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.7581, allocations: 1 kB / 0.9364 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.7582, allocations: 37 kB / 0.9365 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/0.7582, allocations: 0 / 0.9365 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0007348/0.7589, allocations: 213.1 kB / 0.9367 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.759, allocations: 56.62 kB / 0.9367 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.908e-05/0.7591, allocations: 148.2 kB / 0.9369 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.7591, allocations: 28.83 kB / 0.9369 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.7592, allocations: 102.5 kB / 0.937 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.7592, allocations: 31.81 kB / 0.937 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.7592, allocations: 23.62 kB / 0.937 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.7594, allocations: 324.3 kB / 0.9373 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.7596, allocations: 58.52 kB / 0.9374 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.7598, allocations: 76.39 kB / 0.9375 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.7602, allocations: 121.6 kB / 0.9376 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7602, allocations: 1.203 kB / 0.9376 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000438/0.7607, allocations: 161.5 kB / 0.9377 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.7607, allocations: 6.281 kB / 0.9377 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.7607, allocations: 0 / 0.9377 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.7607, allocations: 0 / 0.9377 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.7609, allocations: 31.98 kB / 0.9378 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.7609, allocations: 2.953 kB / 0.9378 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.7611, allocations: 17.58 kB / 0.9378 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.7611, allocations: 9.453 kB / 0.9378 GB, free: 17.03 MB / 0.7325 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 8.776e-05/0.7612, allocations: 123.1 kB / 0.9379 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.7612, allocations: 11 kB / 0.9379 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/0.7613, allocations: 19.47 kB / 0.938 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.7613, allocations: 0 / 0.938 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.7613, allocations: 1.625 kB / 0.938 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.7613, allocations: 0 / 0.938 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007508/0.7621, allocations: 459.8 kB / 0.9384 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.7621, allocations: 0 / 0.9384 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.7622, allocations: 31.77 kB / 0.9384 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7623, allocations: 4 kB / 0.9384 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.7623, allocations: 7.141 kB / 0.9384 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.7623, allocations: 2.516 kB / 0.9384 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7623, allocations: 6.75 kB / 0.9384 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.7628, allocations: 253 kB / 0.9387 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.7628, allocations: 89.22 kB / 0.9388 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.7629, allocations: 7.344 kB / 0.9388 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.763, allocations: 15.86 kB / 0.9388 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.7631, allocations: 11.06 kB / 0.9388 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.7631, allocations: 0.75 kB / 0.9388 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.075e-05/0.7632, allocations: 119.1 kB / 0.9389 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7632, allocations: 4 kB / 0.9389 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002671/0.7635, allocations: 34.75 kB / 0.939 GB, free: 16.25 MB / 0.7325 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.0001708/0.7636, allocations: 109.5 kB / 0.9391 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004689/0.7641, allocations: 130.4 kB / 0.9392 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7641, allocations: 0 / 0.9392 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.7643, allocations: 70.88 kB / 0.9392 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.7647, allocations: 30.94 kB / 0.9393 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.7652, allocations: 231.6 kB / 0.9395 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.7655, allocations: 0.6966 MB / 0.9402 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.7656, allocations: 34.62 kB / 0.9402 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.7656, allocations: 18.59 kB / 0.9402 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.7656, allocations: 0 / 0.9402 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of Templates: time 0.00464/0.7703, allocations: 1.934 MB / 0.9421 GB, free: 15.18 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)