Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.79/3.79, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002327/0.002327, allocations: 179 kB / 326.2 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.182/4.182, allocations: 205.4 MB / 0.5772 GB, free: 21.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 85.94 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007707/0.0007711, allocations: 12 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3457, allocations: 106.3 MB / 0.8995 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.46/11.81, allocations: 2.192 GB / 3.091 GB, free: 251.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004573/11.81, allocations: 91.22 kB / 3.092 GB, free: 251.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4744/12.28, allocations: 88.08 MB / 3.178 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.837e-06/12.28, allocations: 192 / 3.178 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.652e-05/12.28, allocations: 3.812 kB / 3.178 GB, free: 236.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001774/12.29, allocations: 0.508 MB / 3.178 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/12.29, allocations: 7.875 kB / 3.178 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/12.29, allocations: 87.17 kB / 3.178 GB, free: 236 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/12.29, allocations: 227.2 kB / 3.178 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/12.29, allocations: 37.72 kB / 3.178 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.868e-05/12.29, allocations: 15.62 kB / 3.178 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/12.29, allocations: 268.5 kB / 3.179 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/12.29, allocations: 3.938 kB / 3.179 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.025e-05/12.29, allocations: 7.812 kB / 3.179 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/12.29, allocations: 3.906 kB / 3.179 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/12.29, allocations: 180 kB / 3.179 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00352/12.29, allocations: 1.186 MB / 3.18 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/12.3, allocations: 213 kB / 3.18 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004535/12.3, allocations: 76.97 kB / 3.18 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-05/12.3, allocations: 3.75 kB / 3.18 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/12.3, allocations: 38.5 kB / 3.18 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 4.328e-06/12.3, allocations: 0 / 3.18 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12): time 0.006362/12.3, allocations: 0.6458 MB / 3.181 GB, free: 234 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/12.3, allocations: 55.22 kB / 3.181 GB, free: 234 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004862/12.3, allocations: 205.9 kB / 3.181 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-05/12.3, allocations: 33.39 kB / 3.181 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/12.3, allocations: 137.1 kB / 3.181 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.66e-05/12.3, allocations: 38.73 kB / 3.181 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/12.3, allocations: 7.844 kB / 3.181 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001094/12.3, allocations: 325.6 kB / 3.182 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005214/12.3, allocations: 73.08 kB / 3.182 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005902/12.31, allocations: 144.8 kB / 3.182 GB, free: 233.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000576/12.31, allocations: 83.94 kB / 3.182 GB, free: 233.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/12.31, allocations: 7.938 kB / 3.182 GB, free: 233.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00368/12.31, allocations: 391.3 kB / 3.182 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/12.31, allocations: 7.906 kB / 3.182 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/12.31, allocations: 3.938 kB / 3.182 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002696/12.31, allocations: 166.6 kB / 3.183 GB, free: 233 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005501/12.31, allocations: 39.39 kB / 3.183 GB, free: 233 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007701/12.32, allocations: 3.027 MB / 3.186 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008767/12.32, allocations: 39.28 kB / 3.186 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/12.32, allocations: 11.16 kB / 3.186 GB, free: 230.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002723/12.32, allocations: 130.9 kB / 3.186 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/12.32, allocations: 23.62 kB / 3.186 GB, free: 230 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003383/12.33, allocations: 387.1 kB / 3.186 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/12.33, allocations: 0 / 3.186 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/12.33, allocations: 3.984 kB / 3.186 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/12.33, allocations: 3.969 kB / 3.186 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007736/12.33, allocations: 272.8 kB / 3.186 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/12.33, allocations: 0 / 3.186 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/12.33, allocations: 27.45 kB / 3.186 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002192/12.33, allocations: 158.5 kB / 3.187 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.507e-05/12.33, allocations: 15.48 kB / 3.187 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007093/12.34, allocations: 3.066 MB / 3.19 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/12.34, allocations: 0 / 3.19 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002985/12.34, allocations: 448.6 kB / 3.19 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/12.34, allocations: 119.9 kB / 3.19 GB, free: 226.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.698e-05/12.34, allocations: 0 / 3.19 GB, free: 226.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007038/12.34, allocations: 19.61 kB / 3.19 GB, free: 226.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/12.34, allocations: 26.78 kB / 3.19 GB, free: 226.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/12.34, allocations: 7.906 kB / 3.19 GB, free: 226.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003503/12.34, allocations: 156.1 kB / 3.19 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.61e-07/12.34, allocations: 0 / 3.19 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001456/12.34, allocations: 125.3 kB / 3.19 GB, free: 226.3 MB / 0.8855 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001853/12.34, allocations: 0.7008 MB / 3.191 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002359/12.35, allocations: 460.3 kB / 3.192 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/12.35, allocations: 0 / 3.192 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/12.35, allocations: 366.7 kB / 3.192 GB, free: 225.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/12.35, allocations: 49.88 kB / 3.192 GB, free: 225.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/12.35, allocations: 472.8 kB / 3.192 GB, free: 225 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/12.35, allocations: 0.7351 MB / 3.193 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005271/12.35, allocations: 37.64 kB / 3.193 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/12.35, allocations: 27.09 kB / 3.193 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.333e-06/12.35, allocations: 0 / 3.193 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.0461/12.4, allocations: 14.17 MB / 3.207 GB, free: 217.1 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)