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.001381/0.001382, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001386/0.001387, allocations: 195.6 kB / 16.14 MB, free: 6.688 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.489/1.489, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002577/0.002577, allocations: 291 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.089/1.089, allocations: 178.6 MB / 0.5068 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002898/0.002899, allocations: 96.02 kB / 0.6057 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1765, allocations: 89.15 MB / 0.6928 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003255/0.1798, allocations: 1.732 MB / 0.6945 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4762/0.656, allocations: 147.4 MB / 0.8384 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.6562, allocations: 0.9375 kB / 0.8384 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.6564, allocations: 22.08 kB / 0.8384 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.6567, allocations: 50.14 kB / 0.8385 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004692/0.6572, allocations: 156 kB / 0.8386 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.6574, allocations: 157.9 kB / 0.8388 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.6576, allocations: 35.91 kB / 0.8388 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0022/0.6598, allocations: 170.6 kB / 0.839 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.6599, allocations: 59.94 kB / 0.839 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.6599, allocations: 6.188 kB / 0.839 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003314/0.6603, allocations: 163 kB / 0.8392 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.889e-05/0.6603, allocations: 28.2 kB / 0.8392 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.394e-05/0.6604, allocations: 47.61 kB / 0.8393 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.6608, allocations: 199.6 kB / 0.8395 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6608, allocations: 3.938 kB / 0.8395 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.21e-07/0.6608, allocations: 0 / 0.8395 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.6608, allocations: 0 / 0.8395 GB, free: 12.3 MB / 0.5762 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.0009289/0.6617, allocations: 472.3 kB / 0.8399 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.6618, allocations: 9.656 kB / 0.8399 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006726/0.6624, allocations: 55.38 kB / 0.84 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.6627, allocations: 204.6 kB / 0.8402 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.6627, allocations: 6.75 kB / 0.8402 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.6628, allocations: 12.95 kB / 0.8402 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.6633, allocations: 180.8 kB / 0.8404 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.6633, allocations: 0 / 0.8404 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.6633, allocations: 8 kB / 0.8404 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.6633, allocations: 4.75 kB / 0.8404 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005205/0.6639, allocations: 139.6 kB / 0.8405 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.6651, allocations: 0.8362 MB / 0.8413 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.6655, allocations: 130.6 kB / 0.8415 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.6658, allocations: 82.23 kB / 0.8415 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.6659, allocations: 1.25 kB / 0.8415 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.6659, allocations: 34.56 kB / 0.8416 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 3.527e-06/0.6659, allocations: 1.344 kB / 0.8416 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.002194/0.6681, allocations: 457.7 kB / 0.842 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.6682, allocations: 57.25 kB / 0.8421 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.6683, allocations: 151.1 kB / 0.8422 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.6684, allocations: 27.52 kB / 0.8422 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.6685, allocations: 112 kB / 0.8423 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.6685, allocations: 31.08 kB / 0.8424 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/0.6686, allocations: 32.62 kB / 0.8424 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.6687, allocations: 317 kB / 0.8427 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.669, allocations: 75.42 kB / 0.8428 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.6693, allocations: 100 kB / 0.8429 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/0.6698, allocations: 177.2 kB / 0.843 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6698, allocations: 0 / 0.843 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001052/0.6708, allocations: 278.1 kB / 0.8433 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.6709, allocations: 5.5 kB / 0.8433 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.6709, allocations: 5.312 kB / 0.8433 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00063/0.6715, allocations: 86.27 kB / 0.8434 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.6718, allocations: 36.52 kB / 0.8434 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.674, allocations: 1.552 MB / 0.8449 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.6742, allocations: 30.81 kB / 0.845 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.6743, allocations: 3.312 kB / 0.845 GB, free: 7.406 MB / 0.5762 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.0001325/0.6744, allocations: 127.3 kB / 0.8451 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.6744, allocations: 9.438 kB / 0.8451 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.6756, allocations: 309.7 kB / 0.8454 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.6756, allocations: 1.219 kB / 0.8454 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.6756, allocations: 2.344 kB / 0.8454 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.6756, allocations: 7.875 kB / 0.8454 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.676, allocations: 253.3 kB / 0.8457 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.676, allocations: 0 / 0.8457 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.6762, allocations: 32.11 kB / 0.8457 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005265/0.6767, allocations: 85.7 kB / 0.8458 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.6768, allocations: 3.984 kB / 0.8458 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.6788, allocations: 1.57 MB / 0.8473 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6788, allocations: 2.938 kB / 0.8473 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.6799, allocations: 382.2 kB / 0.8477 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.68, allocations: 111.8 kB / 0.8478 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.6801, allocations: 2.438 kB / 0.8478 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.6803, allocations: 11.3 kB / 0.8478 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.045e-05/0.6804, allocations: 19.28 kB / 0.8478 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.6804, allocations: 4.438 kB / 0.8478 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.732e-05/0.6805, allocations: 115 kB / 0.8479 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6805, allocations: 0 / 0.8479 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003453/0.6808, allocations: 45.56 kB / 0.848 GB, free: 4.734 MB / 0.5762 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.0002071/0.681, allocations: 120 kB / 0.8481 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008958/0.682, allocations: 303.5 kB / 0.8484 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.682, allocations: 0 / 0.8484 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005404/0.6825, allocations: 233.8 kB / 0.8486 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.6829, allocations: 31.12 kB / 0.8486 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009047/0.6838, allocations: 356.5 kB / 0.849 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.6842, allocations: 0.7078 MB / 0.8497 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001723/0.6843, allocations: 25.09 kB / 0.8497 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/0.6844, allocations: 16.11 kB / 0.8497 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.6844, allocations: 0 / 0.8497 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of Templates: time 0.006592/0.691, allocations: 2.954 MB / 0.8526 GB, free: 1.742 MB / 0.5762 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)