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.0009472/0.0009472, allocations: 105.8 kB / 16.29 MB, free: 6.43 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.0008992/0.0008992, allocations: 184 kB / 17.22 MB, free: 5.934 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.204/1.204, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.583/1.583, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001275/0.001275, allocations: 64.47 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1939, allocations: 114.6 MB / 0.7841 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002434/0.1964, allocations: 1.629 MB / 0.7857 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.46/0.6564, allocations: 151.6 MB / 0.9337 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.6565, allocations: 7.938 kB / 0.9337 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.6567, allocations: 7.875 kB / 0.9337 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.6569, allocations: 48.89 kB / 0.9337 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.6573, allocations: 147.4 kB / 0.9339 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.6574, allocations: 121.5 kB / 0.934 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.6576, allocations: 33.11 kB / 0.934 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.6586, allocations: 173.7 kB / 0.9342 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.66e-05/0.6587, allocations: 43.78 kB / 0.9342 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.6587, allocations: 8.75 kB / 0.9342 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003372/0.659, allocations: 179.7 kB / 0.9344 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.6591, allocations: 19.92 kB / 0.9344 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.6591, allocations: 47.75 kB / 0.9345 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.6594, allocations: 195.3 kB / 0.9346 GB, free: 428 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6595, allocations: 0 / 0.9346 GB, free: 428 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6595, allocations: 0 / 0.9346 GB, free: 428 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.6595, allocations: 4 kB / 0.9347 GB, free: 424 kB / 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.0005709/0.6601, allocations: 447.4 kB / 0.9351 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.6601, allocations: 11.97 kB / 0.9351 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008416/0.6609, allocations: 80.12 kB / 0.9352 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.6611, allocations: 206.7 kB / 0.9354 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.6612, allocations: 4 kB / 0.9354 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.6612, allocations: 12 kB / 0.9354 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.6615, allocations: 129.5 kB / 0.9355 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.6616, allocations: 4 kB / 0.9355 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.6616, allocations: 8 kB / 0.9355 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.6616, allocations: 3.938 kB / 0.9355 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004677/0.6621, allocations: 135.9 kB / 0.9356 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006715/0.6628, allocations: 408.4 kB / 0.936 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006192/0.6634, allocations: 247.7 kB / 0.9363 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.6636, allocations: 84.78 kB / 0.9364 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.6636, allocations: 3.938 kB / 0.9364 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.6637, allocations: 30.56 kB / 0.9364 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.6637, allocations: 0.8438 kB / 0.9364 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.000666/0.6643, allocations: 213.4 kB / 0.9366 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.6644, allocations: 55.41 kB / 0.9366 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.6645, allocations: 144.5 kB / 0.9368 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.6645, allocations: 25.7 kB / 0.9368 GB, free: 14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.6646, allocations: 104.1 kB / 0.9369 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.6646, allocations: 31.69 kB / 0.9369 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.6647, allocations: 25.7 kB / 0.937 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.6648, allocations: 330.8 kB / 0.9373 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.665, allocations: 53.44 kB / 0.9373 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.6652, allocations: 82.45 kB / 0.9374 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.6655, allocations: 116.7 kB / 0.9375 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.6656, allocations: 8.016 kB / 0.9375 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004094/0.666, allocations: 157.5 kB / 0.9377 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.666, allocations: 4 kB / 0.9377 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.666, allocations: 0 / 0.9377 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.666, allocations: 0 / 0.9377 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.6662, allocations: 35.91 kB / 0.9377 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.6662, allocations: 0 / 0.9377 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.6664, allocations: 28.81 kB / 0.9377 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.6664, allocations: 4 kB / 0.9377 GB, free: 13 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.268e-05/0.6665, allocations: 117.8 kB / 0.9379 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.6665, allocations: 15.89 kB / 0.9379 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.45e-05/0.6666, allocations: 17.28 kB / 0.9379 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.6666, allocations: 4 kB / 0.9379 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6666, allocations: 0 / 0.9379 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.6666, allocations: 0 / 0.9379 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007055/0.6673, allocations: 463.9 kB / 0.9383 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.6673, allocations: 6.734 kB / 0.9383 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.6675, allocations: 23.97 kB / 0.9384 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.6675, allocations: 4 kB / 0.9384 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.6675, allocations: 3.984 kB / 0.9384 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.6675, allocations: 1.25 kB / 0.9384 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6675, allocations: 3.938 kB / 0.9384 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000447/0.668, allocations: 259.2 kB / 0.9386 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.668, allocations: 85.02 kB / 0.9387 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.6681, allocations: 0 / 0.9387 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.6682, allocations: 23.92 kB / 0.9387 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.6683, allocations: 11.92 kB / 0.9387 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.6683, allocations: 4 kB / 0.9387 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.615e-05/0.6684, allocations: 112.7 kB / 0.9389 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6684, allocations: 0 / 0.9389 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002432/0.6686, allocations: 27.94 kB / 0.9389 GB, free: 11.75 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.0001586/0.6688, allocations: 117.2 kB / 0.939 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.6692, allocations: 123.9 kB / 0.9391 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6692, allocations: 3.938 kB / 0.9391 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.6694, allocations: 75.23 kB / 0.9392 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.6698, allocations: 31.94 kB / 0.9392 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.6703, allocations: 235.8 kB / 0.9394 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.6706, allocations: 0.7047 MB / 0.9401 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.6707, allocations: 27.33 kB / 0.9402 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.6707, allocations: 15.42 kB / 0.9402 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.6707, allocations: 4 kB / 0.9402 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of Templates: time 0.004244/0.675, allocations: 1.931 MB / 0.9421 GB, free: 8.512 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)