Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.527/1.527, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.0009734/0.0009732, allocations: 184.8 kB / 366.7 MB, free: 1.648 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.559/1.559, allocations: 205.2 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009174/0.0009174, allocations: 88.8 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.922e-05/1.95e-05, allocations: 8 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6376/0.6376, allocations: 116.3 MB / 0.9732 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1761/0.8138, allocations: 140.2 MB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.814, allocations: 76.64 kB / 1.11 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.008177/0.8222, allocations: 2.491 MB / 1.113 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8222, allocations: 0 / 1.113 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.8223, allocations: 0 / 1.113 GB, free: 7.488 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005299/0.8228, allocations: 394.3 kB / 1.113 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.8229, allocations: 8.031 kB / 1.113 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.8229, allocations: 7.828 kB / 1.113 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.8231, allocations: 182.8 kB / 1.113 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.8231, allocations: 0 / 1.113 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.8231, allocations: 0 / 1.113 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001027/0.8232, allocations: 21.31 kB / 1.113 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.37e-05/0.8233, allocations: 49.69 kB / 1.113 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.8233, allocations: 0 / 1.113 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.8234, allocations: 7.984 kB / 1.113 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.8234, allocations: 0 / 1.113 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.8238, allocations: 253.4 kB / 1.114 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.702e-05/0.8238, allocations: 34.56 kB / 1.114 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/0.8239, allocations: 12.86 kB / 1.114 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.8241, allocations: 101.2 kB / 1.114 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.8241, allocations: 30.56 kB / 1.114 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.8241, allocations: 0 / 1.114 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003579/0.8245, allocations: 77.56 kB / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.8245, allocations: 55.41 kB / 1.114 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.568e-05/0.8246, allocations: 102.9 kB / 1.114 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.8246, allocations: 25.7 kB / 1.114 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.8247, allocations: 92.12 kB / 1.114 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.8247, allocations: 11.84 kB / 1.114 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.8247, allocations: 0 / 1.114 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.8249, allocations: 317.4 kB / 1.114 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-05/0.8249, allocations: 8 kB / 1.114 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.117e-05/0.8249, allocations: 12 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.8252, allocations: 35.95 kB / 1.114 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8252, allocations: 0 / 1.114 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002543/0.8255, allocations: 77.58 kB / 1.114 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.8255, allocations: 7.984 kB / 1.115 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.8255, allocations: 2.812 kB / 1.115 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.8255, allocations: 0 / 1.115 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.8257, allocations: 19.98 kB / 1.115 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.8257, allocations: 0 / 1.115 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.249e-05/0.8258, allocations: 26.67 kB / 1.115 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.8258, allocations: 6.953 kB / 1.115 GB, free: 5.348 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.373e-05/0.8259, allocations: 104.9 kB / 1.115 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.8259, allocations: 3.906 kB / 1.115 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.8262, allocations: 85.98 kB / 1.115 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.8262, allocations: 0 / 1.115 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.8262, allocations: 0 / 1.115 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.8263, allocations: 4 kB / 1.115 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.8264, allocations: 150.2 kB / 1.115 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8264, allocations: 8 kB / 1.115 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.8265, allocations: 15.98 kB / 1.115 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.8265, allocations: 4 kB / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.8266, allocations: 0 / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.8266, allocations: 0 / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.8266, allocations: 0 / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.8269, allocations: 179.6 kB / 1.115 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.8269, allocations: 81.06 kB / 1.115 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.827, allocations: 11.97 kB / 1.115 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.8271, allocations: 15.98 kB / 1.115 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.8271, allocations: 0 / 1.115 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.8271, allocations: 0 / 1.115 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.648e-05/0.8272, allocations: 93.98 kB / 1.115 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8272, allocations: 4 kB / 1.115 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002562/0.8275, allocations: 31.94 kB / 1.115 GB, free: 4.477 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002292/0.8277, allocations: 131.2 kB / 1.115 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.776e-05/0.8278, allocations: 27.94 kB / 1.115 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8278, allocations: 0 / 1.115 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.004e-05/0.8278, allocations: 12 kB / 1.115 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.828, allocations: 15.94 kB / 1.115 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.8283, allocations: 79.81 kB / 1.116 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.8285, allocations: 0.6846 MB / 1.116 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.561e-05/0.8286, allocations: 6.031 kB / 1.116 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.8286, allocations: 7.438 kB / 1.116 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.8286, allocations: 0 / 1.116 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of Templates: time 0.003213/0.8318, allocations: 1.036 MB / 1.117 GB, free: 2.465 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)