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.001106/0.001106, allocations: 109.7 kB / 16.38 MB, free: 6.008 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.001105/0.001105, allocations: 190.8 kB / 17.31 MB, free: 5.621 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.41/1.41, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.749/1.749, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.001599/0.001599, allocations: 71.89 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2104, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003161/0.2136, allocations: 1.65 MB / 0.7864 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5461/0.7597, allocations: 151.6 MB / 0.9344 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.7599, allocations: 8 kB / 0.9344 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.7602, allocations: 11.81 kB / 0.9344 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.7605, allocations: 39.7 kB / 0.9345 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.7609, allocations: 147.4 kB / 0.9346 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.7611, allocations: 123.5 kB / 0.9347 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.7612, allocations: 32.83 kB / 0.9347 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.7623, allocations: 166.8 kB / 0.9349 GB, free: 476 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.655e-05/0.7624, allocations: 43.77 kB / 0.9349 GB, free: 432 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.7625, allocations: 8 kB / 0.935 GB, free: 424 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.7628, allocations: 183.7 kB / 0.9351 GB, free: 240 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.7629, allocations: 19.92 kB / 0.9351 GB, free: 220 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.406e-05/0.7629, allocations: 47.73 kB / 0.9352 GB, free: 172 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.7633, allocations: 196.7 kB / 0.9354 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.7633, allocations: 0 / 0.9354 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7633, allocations: 4 kB / 0.9354 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7633, allocations: 0 / 0.9354 GB, free: 15.98 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.0005842/0.7639, allocations: 437.8 kB / 0.9358 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.7639, allocations: 12.03 kB / 0.9358 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008628/0.7648, allocations: 80.81 kB / 0.9359 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.765, allocations: 214.7 kB / 0.9361 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.765, allocations: 4 kB / 0.9361 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.7651, allocations: 12 kB / 0.9361 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.7655, allocations: 133.5 kB / 0.9362 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.7655, allocations: 0 / 0.9362 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.7655, allocations: 4 kB / 0.9362 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.7655, allocations: 3.938 kB / 0.9362 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005145/0.7661, allocations: 135.9 kB / 0.9364 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007087/0.7668, allocations: 412.4 kB / 0.9368 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.7675, allocations: 255.8 kB / 0.937 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.7677, allocations: 72.8 kB / 0.9371 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.7677, allocations: 4 kB / 0.9371 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.7678, allocations: 34.56 kB / 0.9371 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.7678, allocations: 0 / 0.9371 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0007439/0.7685, allocations: 213.4 kB / 0.9373 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.7686, allocations: 56.72 kB / 0.9374 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.7687, allocations: 148.5 kB / 0.9375 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.7687, allocations: 25.7 kB / 0.9375 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.7688, allocations: 100.1 kB / 0.9376 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.7688, allocations: 31.69 kB / 0.9377 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.7689, allocations: 25.7 kB / 0.9377 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.769, allocations: 330.8 kB / 0.938 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.7692, allocations: 51.95 kB / 0.9381 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.7694, allocations: 77.25 kB / 0.9381 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.7698, allocations: 124.7 kB / 0.9383 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7698, allocations: 0 / 0.9383 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004655/0.7703, allocations: 157.5 kB / 0.9384 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.7703, allocations: 4 kB / 0.9384 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.7704, allocations: 3.938 kB / 0.9384 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.7704, allocations: 4.547 kB / 0.9384 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.7706, allocations: 27.97 kB / 0.9384 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.7706, allocations: 0 / 0.9384 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.7707, allocations: 31.81 kB / 0.9385 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.7708, allocations: 0 / 0.9385 GB, free: 12.57 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.942e-05/0.7709, allocations: 129.7 kB / 0.9386 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.7709, allocations: 13.97 kB / 0.9386 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.771, allocations: 8.719 kB / 0.9386 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.771, allocations: 0 / 0.9386 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.771, allocations: 8 kB / 0.9386 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.771, allocations: 85 kB / 0.9387 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.7711, allocations: 11.94 kB / 0.9387 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.7712, allocations: 11.98 kB / 0.9387 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.7713, allocations: 3.984 kB / 0.9387 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006015/0.7719, allocations: 252.8 kB / 0.939 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005289/0.7724, allocations: 336.5 kB / 0.9393 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002165/0.7727, allocations: 63.92 kB / 0.9394 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.368e-05/0.7727, allocations: 123.2 kB / 0.9395 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of Backend: time 8.42e-07/0.7727, allocations: 0 / 0.9395 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007631/0.7735, allocations: 202.2 kB / 0.9397 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0005574/0.7741, allocations: 0.6412 MB / 0.9403 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of Templates: time 0.005441/0.7795, allocations: 2.616 MB / 0.9428 GB, free: 8.051 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)