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.001376/0.001376, allocations: 104 kB / 16.36 MB, free: 6.301 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: 192.1 kB / 17.29 MB, free: 5.875 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.556/1.556, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.833/1.833, allocations: 292.3 MB / 0.5496 GB, free: 17.32 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.001473/0.001473, allocations: 71.89 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2888, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003405/0.2923, allocations: 1.654 MB / 0.7864 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6769/0.9692, allocations: 151.6 MB / 0.9344 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.9694, allocations: 0 / 0.9344 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.9697, allocations: 15.81 kB / 0.9344 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.97, allocations: 43.7 kB / 0.9344 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.9705, allocations: 143.4 kB / 0.9346 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000196/0.9707, allocations: 123.6 kB / 0.9347 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.9709, allocations: 28.83 kB / 0.9347 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.9721, allocations: 166.4 kB / 0.9349 GB, free: 456 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.248e-05/0.9722, allocations: 43.72 kB / 0.9349 GB, free: 412 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.9722, allocations: 10.62 kB / 0.9349 GB, free: 404 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004175/0.9726, allocations: 183.7 kB / 0.9351 GB, free: 220 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.762e-05/0.9727, allocations: 19.92 kB / 0.9351 GB, free: 200 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.542e-05/0.9728, allocations: 43.75 kB / 0.9352 GB, free: 156 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.9731, allocations: 191.3 kB / 0.9354 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9731, allocations: 0 / 0.9354 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9732, allocations: 0 / 0.9354 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.9732, allocations: 0 / 0.9354 GB, free: 15.97 MB / 0.7325 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.0007054/0.9739, allocations: 453.8 kB / 0.9358 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.9739, allocations: 11.97 kB / 0.9358 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009136/0.9748, allocations: 79.94 kB / 0.9359 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.9751, allocations: 206.8 kB / 0.9361 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.9751, allocations: 3.984 kB / 0.9361 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.9752, allocations: 12 kB / 0.9361 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004374/0.9756, allocations: 133.5 kB / 0.9362 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.9756, allocations: 4 kB / 0.9362 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.9757, allocations: 6 kB / 0.9362 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.9757, allocations: 3.938 kB / 0.9362 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005379/0.9762, allocations: 139.8 kB / 0.9364 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007977/0.977, allocations: 408.4 kB / 0.9367 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007384/0.9778, allocations: 255.7 kB / 0.937 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.978, allocations: 80.8 kB / 0.9371 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.9781, allocations: 0 / 0.9371 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.9781, allocations: 30.56 kB / 0.9371 GB, free: 14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.9781, allocations: 0 / 0.9371 GB, free: 14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0007781/0.9789, allocations: 216.3 kB / 0.9373 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.9789, allocations: 55.41 kB / 0.9374 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.9791, allocations: 148.5 kB / 0.9375 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.9792, allocations: 26.45 kB / 0.9375 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.9792, allocations: 100.1 kB / 0.9376 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.579e-05/0.9793, allocations: 35.67 kB / 0.9377 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.9794, allocations: 25.7 kB / 0.9377 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.9796, allocations: 330.8 kB / 0.938 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.9798, allocations: 47.95 kB / 0.938 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.98, allocations: 78.52 kB / 0.9381 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.9805, allocations: 116.8 kB / 0.9382 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9805, allocations: 5.812 kB / 0.9382 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005066/0.981, allocations: 157.4 kB / 0.9384 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.981, allocations: 4 kB / 0.9384 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.9811, allocations: 0 / 0.9384 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.9811, allocations: 0 / 0.9384 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.9813, allocations: 35.95 kB / 0.9384 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.9813, allocations: 0 / 0.9384 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.9815, allocations: 25.7 kB / 0.9384 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.9815, allocations: 0 / 0.9384 GB, free: 12.56 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 0.0001373/0.9817, allocations: 125.8 kB / 0.9386 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.9817, allocations: 11.91 kB / 0.9386 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.992e-05/0.9818, allocations: 16.72 kB / 0.9386 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.9818, allocations: 4 kB / 0.9386 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.9818, allocations: 3.938 kB / 0.9386 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.9818, allocations: 0 / 0.9386 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008564/0.9827, allocations: 465.1 kB / 0.939 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.9827, allocations: 1.406 kB / 0.939 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.9829, allocations: 27.97 kB / 0.9391 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.9829, allocations: 0 / 0.9391 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.9829, allocations: 3.984 kB / 0.9391 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.9829, allocations: 3.938 kB / 0.9391 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.9829, allocations: 3.938 kB / 0.9391 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005675/0.9835, allocations: 267.2 kB / 0.9393 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.9836, allocations: 85.02 kB / 0.9394 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.9836, allocations: 0 / 0.9394 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.9838, allocations: 23.92 kB / 0.9394 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/0.9839, allocations: 7.984 kB / 0.9394 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.9839, allocations: 4 kB / 0.9395 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.508e-05/0.984, allocations: 112.7 kB / 0.9396 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.984, allocations: 4 kB / 0.9396 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003005/0.9843, allocations: 27.94 kB / 0.9396 GB, free: 11.29 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.0002375/0.9845, allocations: 112.8 kB / 0.9397 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005326/0.9851, allocations: 131.8 kB / 0.9398 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9851, allocations: 0 / 0.9398 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.9853, allocations: 67.94 kB / 0.9399 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.9857, allocations: 35.7 kB / 0.9399 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007626/0.9865, allocations: 261.5 kB / 0.9402 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.9869, allocations: 0.7047 MB / 0.9409 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.987, allocations: 19.42 kB / 0.9409 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/0.987, allocations: 0 / 0.9409 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of Templates: time 0.004232/0.9912, allocations: 1.711 MB / 0.9425 GB, free: 8.238 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)