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.00123/0.00123, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001609/0.001609, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.779/1.779, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005247/0.0005248, allocations: 23.88 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2769, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001991/0.2789, allocations: 1.336 MB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.736/1.015, allocations: 137.7 MB / 0.923 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/1.015, allocations: 1.469 kB / 0.923 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/1.015, allocations: 11.33 kB / 0.923 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002129/1.015, allocations: 41.28 kB / 0.9231 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/1.016, allocations: 120.1 kB / 0.9232 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001784/1.016, allocations: 106.2 kB / 0.9233 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/1.016, allocations: 32.98 kB / 0.9233 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003145/1.016, allocations: 113.2 kB / 0.9234 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.771e-05/1.017, allocations: 40.69 kB / 0.9235 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/1.017, allocations: 3 kB / 0.9235 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/1.017, allocations: 176.4 kB / 0.9236 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.274e-05/1.017, allocations: 14.89 kB / 0.9236 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002689/1.017, allocations: 41.75 kB / 0.9237 GB, free: 21.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/1.017, allocations: 129.1 kB / 0.9238 GB, free: 21.83 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.017, allocations: 0 / 0.9238 GB, free: 21.83 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.703e-06/1.017, allocations: 4 kB / 0.9238 GB, free: 21.83 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.248e-06/1.017, allocations: 0 / 0.9238 GB, free: 21.83 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.0006054/1.018, allocations: 439.4 kB / 0.9242 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/1.018, allocations: 11.69 kB / 0.9242 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008507/1.019, allocations: 87.97 kB / 0.9243 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/1.019, allocations: 202.3 kB / 0.9245 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/1.019, allocations: 8.75 kB / 0.9245 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/1.019, allocations: 11 kB / 0.9245 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004147/1.02, allocations: 145.9 kB / 0.9247 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/1.02, allocations: 0 / 0.9247 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/1.02, allocations: 7.953 kB / 0.9247 GB, free: 21.17 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/1.02, allocations: 2.844 kB / 0.9247 GB, free: 21.17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004755/1.02, allocations: 158.7 kB / 0.9248 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000737/1.021, allocations: 412.9 kB / 0.9252 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006277/1.022, allocations: 260.8 kB / 0.9255 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/1.022, allocations: 85.81 kB / 0.9256 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/1.022, allocations: 5.578 kB / 0.9256 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/1.022, allocations: 35.16 kB / 0.9256 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/1.022, allocations: 0 / 0.9256 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0007832/1.023, allocations: 245.2 kB / 0.9258 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/1.023, allocations: 55 kB / 0.9259 GB, free: 20.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/1.023, allocations: 145.3 kB / 0.926 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/1.023, allocations: 29.7 kB / 0.9261 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/1.023, allocations: 111.4 kB / 0.9262 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/1.023, allocations: 24.55 kB / 0.9262 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/1.023, allocations: 0 / 0.9262 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.023, allocations: 324.5 kB / 0.9265 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/1.023, allocations: 68.39 kB / 0.9266 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/1.024, allocations: 90.09 kB / 0.9266 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/1.024, allocations: 63.44 kB / 0.9267 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.024, allocations: 0 / 0.9267 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004775/1.024, allocations: 183.4 kB / 0.9269 GB, free: 19.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.024, allocations: 7.75 kB / 0.9269 GB, free: 19.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/1.024, allocations: 1.219 kB / 0.9269 GB, free: 19.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/1.024, allocations: 0 / 0.9269 GB, free: 19.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/1.025, allocations: 33.08 kB / 0.9269 GB, free: 19.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/1.025, allocations: 0 / 0.9269 GB, free: 19.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/1.025, allocations: 32.95 kB / 0.927 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/1.025, allocations: 5.469 kB / 0.927 GB, free: 19.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.736e-05/1.025, allocations: 121.5 kB / 0.9271 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/1.025, allocations: 7.562 kB / 0.9271 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.947e-05/1.025, allocations: 20.61 kB / 0.9271 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/1.025, allocations: 0 / 0.9271 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.025, allocations: 6.734 kB / 0.9271 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/1.025, allocations: 0 / 0.9271 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008163/1.026, allocations: 490.1 kB / 0.9276 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.026, allocations: 0 / 0.9276 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/1.026, allocations: 37.7 kB / 0.9276 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/1.026, allocations: 0 / 0.9276 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/1.026, allocations: 4 kB / 0.9276 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.026, allocations: 0 / 0.9276 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.026, allocations: 0 / 0.9276 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/1.027, allocations: 288.1 kB / 0.9279 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/1.027, allocations: 84.05 kB / 0.928 GB, free: 19.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/1.027, allocations: 6.984 kB / 0.928 GB, free: 19.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/1.027, allocations: 22.97 kB / 0.928 GB, free: 19.28 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/1.027, allocations: 13.48 kB / 0.928 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/1.027, allocations: 3.922 kB / 0.928 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.077e-05/1.027, allocations: 115.3 kB / 0.9281 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.027, allocations: 0 / 0.9281 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002726/1.027, allocations: 32.44 kB / 0.9282 GB, free: 19.19 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 (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.0001973/1.028, allocations: 119 kB / 0.9283 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005028/1.028, allocations: 142.2 kB / 0.9284 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.028, allocations: 0 / 0.9284 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002358/1.028, allocations: 88.83 kB / 0.9285 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/1.029, allocations: 23.41 kB / 0.9285 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006026/1.029, allocations: 270.7 kB / 0.9288 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/1.03, allocations: 0.7056 MB / 0.9295 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001568/1.03, allocations: 26.89 kB / 0.9295 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/1.03, allocations: 14.94 kB / 0.9295 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/1.03, allocations: 4 kB / 0.9295 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.004891/1.035, allocations: 1.69 MB / 0.9312 GB, free: 18.09 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: