Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004904/0.004904, allocations: 101.3 kB / 15.73 MB, free: 6.043 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.001135/0.001135, allocations: 184.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002181/0.002181, allocations: 282.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.969/0.969, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 91.86 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1599, allocations: 86.97 MB / 0.7664 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002495/0.1624, allocations: 1.667 MB / 0.768 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5155/0.678, allocations: 149.7 MB / 0.9142 GB, free: 11.54 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.6782, allocations: 4 kB / 0.9142 GB, free: 11.54 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.6784, allocations: 19.8 kB / 0.9142 GB, free: 11.52 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.6786, allocations: 55.62 kB / 0.9143 GB, free: 11.46 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.6792, allocations: 187.9 kB / 0.9145 GB, free: 11.28 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.6794, allocations: 163.5 kB / 0.9146 GB, free: 11.12 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.6796, allocations: 29.11 kB / 0.9146 GB, free: 11.09 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.6808, allocations: 195.6 kB / 0.9148 GB, free: 10.93 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.681, allocations: 63.75 kB / 0.9149 GB, free: 10.87 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.681, allocations: 12 kB / 0.9149 GB, free: 10.86 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.6813, allocations: 159.8 kB / 0.915 GB, free: 10.7 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.259e-05/0.6814, allocations: 27.91 kB / 0.9151 GB, free: 10.68 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 7.068e-05/0.6814, allocations: 55.72 kB / 0.9151 GB, free: 10.62 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.6818, allocations: 210.2 kB / 0.9153 GB, free: 10.42 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.6818, allocations: 0 / 0.9153 GB, free: 10.42 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6818, allocations: 0 / 0.9153 GB, free: 10.42 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.6818, allocations: 0 / 0.9153 GB, free: 10.42 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008455/0.6827, allocations: 467.5 kB / 0.9158 GB, free: 9.914 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.6827, allocations: 8.031 kB / 0.9158 GB, free: 9.906 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000637/0.6834, allocations: 56.97 kB / 0.9158 GB, free: 9.852 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.6836, allocations: 201.1 kB / 0.916 GB, free: 9.617 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.6836, allocations: 15.95 kB / 0.916 GB, free: 9.602 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.6836, allocations: 4 kB / 0.916 GB, free: 9.598 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004543/0.6841, allocations: 188.5 kB / 0.9162 GB, free: 9.395 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.6841, allocations: 0 / 0.9162 GB, free: 9.395 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.6841, allocations: 8 kB / 0.9162 GB, free: 9.387 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.6841, allocations: 7.938 kB / 0.9162 GB, free: 9.379 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004969/0.6846, allocations: 139.8 kB / 0.9164 GB, free: 9.242 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.6857, allocations: 0.8244 MB / 0.9172 GB, free: 8.34 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.6861, allocations: 130.4 kB / 0.9173 GB, free: 8.203 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.6864, allocations: 84.8 kB / 0.9174 GB, free: 8.117 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.6865, allocations: 4.141 kB / 0.9174 GB, free: 8.113 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.6865, allocations: 34.56 kB / 0.9174 GB, free: 8.07 MB / 0.67 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.6865, allocations: 0 / 0.9174 GB, free: 8.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=8): time 0.001978/0.6885, allocations: 460.7 kB / 0.9179 GB, free: 7.594 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.6885, allocations: 51.41 kB / 0.9179 GB, free: 7.531 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.6887, allocations: 159.8 kB / 0.9181 GB, free: 7.367 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.6887, allocations: 25.7 kB / 0.9181 GB, free: 7.336 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.6888, allocations: 112.2 kB / 0.9182 GB, free: 7.223 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.6888, allocations: 23.66 kB / 0.9182 GB, free: 7.199 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.898e-05/0.6889, allocations: 33.69 kB / 0.9182 GB, free: 7.16 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.689, allocations: 318.8 kB / 0.9186 GB, free: 6.84 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.6892, allocations: 75.92 kB / 0.9186 GB, free: 6.766 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.6895, allocations: 96.23 kB / 0.9187 GB, free: 6.656 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.69, allocations: 184.1 kB / 0.9189 GB, free: 6.461 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.69, allocations: 0 / 0.9189 GB, free: 6.461 MB / 0.67 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001067/0.6911, allocations: 287.4 kB / 0.9192 GB, free: 6.172 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.6912, allocations: 8 kB / 0.9192 GB, free: 6.164 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.6912, allocations: 3.938 kB / 0.9192 GB, free: 6.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005941/0.6918, allocations: 84.83 kB / 0.9193 GB, free: 6.074 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.692, allocations: 39.89 kB / 0.9193 GB, free: 6.035 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.6941, allocations: 1.656 MB / 0.9209 GB, free: 4.238 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.6944, allocations: 23.83 kB / 0.9209 GB, free: 4.215 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.6944, allocations: 12.05 kB / 0.9209 GB, free: 4.203 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.6945, allocations: 126.4 kB / 0.9211 GB, free: 4.07 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.6946, allocations: 7.906 kB / 0.9211 GB, free: 4.062 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.6957, allocations: 316.1 kB / 0.9214 GB, free: 3.742 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.6957, allocations: 3.938 kB / 0.9214 GB, free: 3.738 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.6957, allocations: 0 / 0.9214 GB, free: 3.738 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.6957, allocations: 0 / 0.9214 GB, free: 3.738 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.696, allocations: 241.5 kB / 0.9216 GB, free: 3.453 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.696, allocations: 0 / 0.9216 GB, free: 3.453 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.6963, allocations: 35.95 kB / 0.9216 GB, free: 3.418 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004417/0.6967, allocations: 72.78 kB / 0.9217 GB, free: 3.344 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.6967, allocations: 4 kB / 0.9217 GB, free: 3.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.6986, allocations: 1.69 MB / 0.9234 GB, free: 1.504 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.6986, allocations: 1.25 kB / 0.9234 GB, free: 1.504 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.6997, allocations: 372.8 kB / 0.9237 GB, free: 1.121 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.13e-05/0.6998, allocations: 108.8 kB / 0.9238 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.6998, allocations: 7.984 kB / 0.9238 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.7001, allocations: 11.98 kB / 0.9239 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.7001, allocations: 19.86 kB / 0.9239 GB, free: 0.957 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.7002, allocations: 7.984 kB / 0.9239 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of sorting global known variables: time 8.123e-05/0.7003, allocations: 119.5 kB / 0.924 GB, free: 0.8359 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7003, allocations: 0 / 0.924 GB, free: 0.8359 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00035/0.7006, allocations: 47.98 kB / 0.924 GB, free: 0.7891 MB / 0.67 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001725/0.7008, allocations: 107.2 kB / 0.9241 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008925/0.7017, allocations: 313.8 kB / 0.9244 GB, free: 368 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.7017, allocations: 0 / 0.9244 GB, free: 368 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005184/0.7022, allocations: 242.5 kB / 0.9247 GB, free: 112 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.7026, allocations: 27.55 kB / 0.9247 GB, free: 88 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007999/0.7034, allocations: 300.9 kB / 0.925 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.7037, allocations: 0.7162 MB / 0.9257 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000131/0.7038, allocations: 28.81 kB / 0.9257 GB, free: 15 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/0.7039, allocations: 23.42 kB / 0.9257 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of SimCode: time 3.61e-07/0.7039, allocations: 0 / 0.9257 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of Templates: time 0.006465/0.7104, allocations: 3.236 MB / 0.9289 GB, free: 11.77 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)