Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.76/1.76, allocations: 288.4 MB / 303.4 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 188.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.927/1.927, allocations: 205.4 MB / 0.6307 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008211/0.0008209, allocations: 90.36 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004143/0.0004144, allocations: 11.62 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2567, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002142/0.2589, allocations: 1.332 MB / 0.9809 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7293/0.9883, allocations: 137.7 MB / 1.115 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.9884, allocations: 1.812 kB / 1.115 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.9886, allocations: 15.55 kB / 1.115 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.9888, allocations: 45.47 kB / 1.115 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.9892, allocations: 111.9 kB / 1.115 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.9894, allocations: 111.4 kB / 1.116 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.9895, allocations: 32.27 kB / 1.116 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003425/0.9899, allocations: 117.5 kB / 1.116 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.124e-05/0.99, allocations: 34.17 kB / 1.116 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.99, allocations: 4 kB / 1.116 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003739/0.9904, allocations: 176.9 kB / 1.116 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.9904, allocations: 14.22 kB / 1.116 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.9906, allocations: 40.33 kB / 1.116 GB, free: 18.2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.9908, allocations: 132.2 kB / 1.116 GB, free: 18.19 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.9908, allocations: 0 / 1.116 GB, free: 18.19 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.003e-06/0.9909, allocations: 0 / 1.116 GB, free: 18.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.148e-06/0.9909, allocations: 4 kB / 1.116 GB, free: 18.18 MB / 0.698 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.0007088/0.9916, allocations: 436.9 kB / 1.117 GB, free: 17.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.9916, allocations: 11.38 kB / 1.117 GB, free: 17.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009602/0.9926, allocations: 77.28 kB / 1.117 GB, free: 17.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.9929, allocations: 203.1 kB / 1.117 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.9929, allocations: 7.172 kB / 1.117 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.9929, allocations: 5.75 kB / 1.117 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005186/0.9935, allocations: 155.6 kB / 1.117 GB, free: 17.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.9935, allocations: 0 / 1.117 GB, free: 17.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.9935, allocations: 0.9688 kB / 1.117 GB, free: 17.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.9935, allocations: 1.438 kB / 1.117 GB, free: 17.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005867/0.9941, allocations: 166.3 kB / 1.117 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007875/0.9949, allocations: 410.2 kB / 1.118 GB, free: 17.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007498/0.9957, allocations: 262.8 kB / 1.118 GB, free: 17.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.996, allocations: 86.86 kB / 1.118 GB, free: 17.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.996, allocations: 1.031 kB / 1.118 GB, free: 17.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.996, allocations: 34.75 kB / 1.118 GB, free: 17.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.996, allocations: 1.344 kB / 1.118 GB, free: 17.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0008617/0.9969, allocations: 250.7 kB / 1.118 GB, free: 17.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.9969, allocations: 53.2 kB / 1.118 GB, free: 16.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.9971, allocations: 151 kB / 1.118 GB, free: 16.85 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.9971, allocations: 25.7 kB / 1.118 GB, free: 16.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.9972, allocations: 112.1 kB / 1.118 GB, free: 16.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.9972, allocations: 24.75 kB / 1.118 GB, free: 16.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-06/0.9972, allocations: 2.922 kB / 1.118 GB, free: 16.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.9973, allocations: 321.8 kB / 1.119 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.9976, allocations: 66.64 kB / 1.119 GB, free: 16.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.9978, allocations: 84.52 kB / 1.119 GB, free: 16.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.9981, allocations: 69.08 kB / 1.119 GB, free: 16.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9981, allocations: 0 / 1.119 GB, free: 16.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005266/0.9986, allocations: 184.5 kB / 1.119 GB, free: 16.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.9986, allocations: 9.719 kB / 1.119 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.9986, allocations: 4 kB / 1.119 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.9987, allocations: 2.016 kB / 1.119 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.9989, allocations: 31.19 kB / 1.119 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.9989, allocations: 0.9062 kB / 1.119 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.9991, allocations: 28.84 kB / 1.119 GB, free: 16.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.9991, allocations: 10.14 kB / 1.119 GB, free: 16.3 MB / 0.698 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 9.778e-05/0.9992, allocations: 117 kB / 1.119 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.9992, allocations: 9.75 kB / 1.119 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.457e-05/0.9993, allocations: 19.48 kB / 1.119 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.9993, allocations: 1.859 kB / 1.119 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.9993, allocations: 1.438 kB / 1.119 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.9993, allocations: 4.797 kB / 1.119 GB, free: 16.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008259/1, allocations: 488.9 kB / 1.12 GB, free: 15.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1, allocations: 0.7031 kB / 1.12 GB, free: 15.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/1, allocations: 33.95 kB / 1.12 GB, free: 15.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/1, allocations: 4.516 kB / 1.12 GB, free: 15.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/1, allocations: 6.828 kB / 1.12 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1, allocations: 0 / 1.12 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1, allocations: 5.359 kB / 1.12 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005413/1.001, allocations: 276.3 kB / 1.12 GB, free: 15.72 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/1.001, allocations: 85.11 kB / 1.12 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/1.001, allocations: 4.062 kB / 1.12 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/1.001, allocations: 23.52 kB / 1.12 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/1.001, allocations: 9.203 kB / 1.12 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/1.001, allocations: 7.641 kB / 1.12 GB, free: 15.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.148e-05/1.001, allocations: 120.3 kB / 1.12 GB, free: 15.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.001, allocations: 0 / 1.12 GB, free: 15.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002685/1.002, allocations: 23.59 kB / 1.12 GB, free: 15.54 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.0001711/1.002, allocations: 122.9 kB / 1.121 GB, free: 15.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005274/1.002, allocations: 148.7 kB / 1.121 GB, free: 15.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.002, allocations: 0 / 1.121 GB, free: 15.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002523/1.003, allocations: 77.3 kB / 1.121 GB, free: 15.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/1.003, allocations: 32.53 kB / 1.121 GB, free: 15.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005536/1.004, allocations: 270.5 kB / 1.121 GB, free: 15.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/1.004, allocations: 0.7036 MB / 1.122 GB, free: 14.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001508/1.004, allocations: 20.52 kB / 1.122 GB, free: 14.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/1.004, allocations: 16.23 kB / 1.122 GB, free: 14.54 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/1.004, allocations: 0 / 1.122 GB, free: 14.54 MB / 0.698 GB Notification: Performance of Templates: time 0.00415/1.008, allocations: 1.704 MB / 1.123 GB, free: 14.42 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)