Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.802/1.802, allocations: 297.8 MB / 313.7 MB, free: 152 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001112, allocations: 183 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.2 MB / 0.6626 GB, free: 4.352 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009219/0.0009219, allocations: 96.92 kB / 0.7808 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005348/0.0005348, allocations: 13.97 kB / 0.9088 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7256/0.7262, allocations: 120.3 MB / 1.026 GB, free: 56.02 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.9133, allocations: 142.9 MB / 1.166 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.9136, allocations: 81.69 kB / 1.166 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008817/0.9224, allocations: 2.718 MB / 1.169 GB, free: 15 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.524e-06/0.9224, allocations: 0.6562 kB / 1.169 GB, free: 15 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.9224, allocations: 0.8438 kB / 1.169 GB, free: 15 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004167/0.9229, allocations: 359.1 kB / 1.169 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.984e-05/0.923, allocations: 12.56 kB / 1.169 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.923, allocations: 3.188 kB / 1.169 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.9231, allocations: 169.9 kB / 1.169 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.615e-05/0.9232, allocations: 34.95 kB / 1.169 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.9233, allocations: 4.375 kB / 1.169 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.9234, allocations: 44.53 kB / 1.169 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.9234, allocations: 3.938 kB / 1.169 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.9234, allocations: 3.234 kB / 1.169 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.9235, allocations: 0 / 1.169 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.43e-05/0.9236, allocations: 19.8 kB / 1.169 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.9237, allocations: 156.2 kB / 1.169 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.924, allocations: 52.14 kB / 1.169 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.843e-05/0.924, allocations: 11.97 kB / 1.169 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/0.9244, allocations: 191.8 kB / 1.17 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.9244, allocations: 32.75 kB / 1.17 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.9244, allocations: 0 / 1.17 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002526/0.9247, allocations: 70.31 kB / 1.17 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.9247, allocations: 52.19 kB / 1.17 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.231e-05/0.9248, allocations: 98.11 kB / 1.17 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.9248, allocations: 25.7 kB / 1.17 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.9249, allocations: 84.89 kB / 1.17 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.9249, allocations: 20.39 kB / 1.17 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.9249, allocations: 0.9375 kB / 1.17 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.9251, allocations: 312.8 kB / 1.17 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.815e-05/0.9252, allocations: 12.14 kB / 1.17 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.758e-05/0.9252, allocations: 10.3 kB / 1.17 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.717e-05/0.9253, allocations: 29.5 kB / 1.17 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9253, allocations: 0.7188 kB / 1.17 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001304/0.9254, allocations: 51.66 kB / 1.17 GB, free: 13 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.9255, allocations: 12.64 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.9255, allocations: 0.5312 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.9255, allocations: 3.75 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.291e-05/0.9256, allocations: 10.14 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.9256, allocations: 5.5 kB / 1.17 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.016e-05/0.9256, allocations: 4.797 kB / 1.17 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.9256, allocations: 0.9375 kB / 1.17 GB, free: 12.97 MB / 0.7448 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 (4): * Single equations (assignments): 4 * 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.391e-05/0.9257, allocations: 111 kB / 1.17 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.9257, allocations: 3.938 kB / 1.171 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.9259, allocations: 71.98 kB / 1.171 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.9259, allocations: 1.375 kB / 1.171 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.9259, allocations: 0.6562 kB / 1.171 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.9259, allocations: 1.031 kB / 1.171 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.9261, allocations: 158 kB / 1.171 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9261, allocations: 4.656 kB / 1.171 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.9261, allocations: 12.77 kB / 1.171 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.9262, allocations: 3.938 kB / 1.171 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.9262, allocations: 0.75 kB / 1.171 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.9262, allocations: 4 kB / 1.171 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.9262, allocations: 0 / 1.171 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.9263, allocations: 89.28 kB / 1.171 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.9264, allocations: 79.08 kB / 1.171 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.9265, allocations: 5.531 kB / 1.171 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.274e-05/0.9265, allocations: 5.547 kB / 1.171 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.9265, allocations: 2.109 kB / 1.171 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/0.9266, allocations: 8 kB / 1.171 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.223e-05/0.9266, allocations: 76.69 kB / 1.171 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9266, allocations: 0 / 1.171 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002454/0.9269, allocations: 41.39 kB / 1.171 GB, free: 12.24 MB / 0.7448 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 (4): * Single equations (assignments): 4 * 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.000277/0.9271, allocations: 146.7 kB / 1.171 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.9273, allocations: 26.14 kB / 1.171 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.9273, allocations: 0 / 1.171 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.139e-05/0.9274, allocations: 19.66 kB / 1.171 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.9275, allocations: 1.688 kB / 1.171 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000319/0.9279, allocations: 147.4 kB / 1.171 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.9282, allocations: 0.6757 MB / 1.172 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.782e-05/0.9282, allocations: 9.547 kB / 1.172 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.9282, allocations: 8.141 kB / 1.172 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/0.9283, allocations: 7.938 kB / 1.172 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.00354/0.9318, allocations: 0.9733 MB / 1.173 GB, free: 10.65 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)