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.001215/0.001215, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001248/0.001249, allocations: 190.7 kB / 16.25 MB, free: 6.617 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.348/1.348, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.667/1.667, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001443/0.001443, allocations: 69.73 kB / 0.671 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2111, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002818/0.214, allocations: 1.702 MB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5556/0.7696, allocations: 149.4 MB / 0.9304 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.7698, allocations: 1.219 kB / 0.9304 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.77, allocations: 10.09 kB / 0.9304 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.7703, allocations: 33.08 kB / 0.9304 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.7708, allocations: 137.4 kB / 0.9305 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.771, allocations: 125.5 kB / 0.9307 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.7712, allocations: 34.55 kB / 0.9307 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001781/0.773, allocations: 160.4 kB / 0.9308 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.7731, allocations: 47.95 kB / 0.9309 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.7731, allocations: 6.719 kB / 0.9309 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003657/0.7735, allocations: 177.9 kB / 0.9311 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.7735, allocations: 28.22 kB / 0.9311 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.7736, allocations: 48.14 kB / 0.9311 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.7739, allocations: 188.5 kB / 0.9313 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7739, allocations: 0 / 0.9313 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7739, allocations: 4 kB / 0.9313 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.7739, allocations: 0.9688 kB / 0.9313 GB, free: 6.035 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.0008143/0.7747, allocations: 446.6 kB / 0.9317 GB, free: 21.64 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.7748, allocations: 10.44 kB / 0.9318 GB, free: 21.64 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009822/0.7758, allocations: 87.16 kB / 0.9318 GB, free: 21.62 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.776, allocations: 212.3 kB / 0.932 GB, free: 21.41 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.776, allocations: 3.25 kB / 0.932 GB, free: 21.41 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.7761, allocations: 9.375 kB / 0.9321 GB, free: 21.41 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004679/0.7765, allocations: 135 kB / 0.9322 GB, free: 21.38 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.7766, allocations: 0 / 0.9322 GB, free: 21.38 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.7766, allocations: 4.891 kB / 0.9322 GB, free: 21.38 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.7766, allocations: 6 kB / 0.9322 GB, free: 21.38 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005694/0.7772, allocations: 140.9 kB / 0.9323 GB, free: 21.37 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007656/0.778, allocations: 404.9 kB / 0.9327 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007203/0.7787, allocations: 251.8 kB / 0.933 GB, free: 20.97 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.7789, allocations: 77.97 kB / 0.933 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.779, allocations: 3.703 kB / 0.933 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.779, allocations: 31.66 kB / 0.9331 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.779, allocations: 2.719 kB / 0.9331 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.0008178/0.7799, allocations: 219.7 kB / 0.9333 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.7799, allocations: 52.06 kB / 0.9333 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.78, allocations: 155.6 kB / 0.9335 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.7801, allocations: 25.7 kB / 0.9335 GB, free: 20.68 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.7801, allocations: 103.9 kB / 0.9336 GB, free: 20.6 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.7802, allocations: 31.77 kB / 0.9336 GB, free: 20.58 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.666e-05/0.7802, allocations: 29.03 kB / 0.9337 GB, free: 20.56 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.7803, allocations: 324.6 kB / 0.934 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.7806, allocations: 53.81 kB / 0.934 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.7808, allocations: 75.97 kB / 0.9341 GB, free: 20.22 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.7812, allocations: 122.1 kB / 0.9342 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7812, allocations: 0 / 0.9342 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004719/0.7817, allocations: 157.1 kB / 0.9344 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.7817, allocations: 6.844 kB / 0.9344 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.7818, allocations: 3.312 kB / 0.9344 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.7818, allocations: 1.75 kB / 0.9344 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.782, allocations: 32.52 kB / 0.9344 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.782, allocations: 0 / 0.9344 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.7822, allocations: 18.62 kB / 0.9344 GB, free: 20.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.7822, allocations: 5.5 kB / 0.9344 GB, free: 20.16 MB / 0.7481 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 9.702e-05/0.7823, allocations: 127.9 kB / 0.9345 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.7823, allocations: 13.72 kB / 0.9346 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.572e-05/0.7824, allocations: 15.7 kB / 0.9346 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.7824, allocations: 2.531 kB / 0.9346 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7824, allocations: 0 / 0.9346 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.7824, allocations: 0.5625 kB / 0.9346 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007773/0.7832, allocations: 465.9 kB / 0.935 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.7832, allocations: 0 / 0.935 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.7834, allocations: 26.62 kB / 0.935 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.7834, allocations: 3.484 kB / 0.935 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.7834, allocations: 5.547 kB / 0.9351 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.7835, allocations: 0.5625 kB / 0.9351 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.7835, allocations: 3.938 kB / 0.9351 GB, free: 19.72 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004846/0.7839, allocations: 260.2 kB / 0.9353 GB, free: 19.59 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.784, allocations: 88.33 kB / 0.9354 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.784, allocations: 6.188 kB / 0.9354 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.7842, allocations: 18.02 kB / 0.9354 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.7843, allocations: 11.95 kB / 0.9354 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.7843, allocations: 4.734 kB / 0.9354 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.992e-05/0.7844, allocations: 116.1 kB / 0.9355 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7844, allocations: 0 / 0.9355 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002644/0.7846, allocations: 34.59 kB / 0.9356 GB, free: 19.39 MB / 0.7481 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.0001599/0.7848, allocations: 110.4 kB / 0.9357 GB, free: 19.3 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005106/0.7853, allocations: 139.1 kB / 0.9358 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7853, allocations: 3.188 kB / 0.9358 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.7856, allocations: 64.44 kB / 0.9359 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.786, allocations: 28.03 kB / 0.9359 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.7865, allocations: 263.7 kB / 0.9362 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.7868, allocations: 0.7094 MB / 0.9368 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001504/0.787, allocations: 24.69 kB / 0.9369 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.787, allocations: 22.97 kB / 0.9369 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of SimCode: time 4.71e-07/0.787, allocations: 0 / 0.9369 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of Templates: time 0.004665/0.7917, allocations: 1.825 MB / 0.9387 GB, free: 18.3 MB / 0.7481 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)