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.001603/0.001603, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001831/0.001831, allocations: 195.1 kB / 16.25 MB, free: 6.648 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.471/1.471, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002513/0.002513, allocations: 286.9 kB / 290.4 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.07/1.07, allocations: 178.6 MB / 0.5069 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 104 kB / 0.6059 GB, free: 25.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1612, allocations: 89.15 MB / 0.693 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003264/0.1645, allocations: 1.733 MB / 0.6947 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4773/0.6418, allocations: 147.5 MB / 0.8387 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.642, allocations: 7.938 kB / 0.8387 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.6422, allocations: 17.27 kB / 0.8387 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.6425, allocations: 41.2 kB / 0.8388 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.643, allocations: 173.1 kB / 0.839 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.6433, allocations: 167 kB / 0.8391 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.6434, allocations: 28.81 kB / 0.8391 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.6455, allocations: 182.6 kB / 0.8393 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.6457, allocations: 68.64 kB / 0.8394 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.6457, allocations: 14.62 kB / 0.8394 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.646, allocations: 157.1 kB / 0.8395 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.6461, allocations: 33.39 kB / 0.8396 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.103e-05/0.6462, allocations: 49.95 kB / 0.8396 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.6465, allocations: 207.8 kB / 0.8398 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6465, allocations: 0 / 0.8398 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6465, allocations: 0 / 0.8398 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.6465, allocations: 2.469 kB / 0.8398 GB, free: 12.39 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.0009249/0.6474, allocations: 466.1 kB / 0.8403 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.6475, allocations: 10.69 kB / 0.8403 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006589/0.6482, allocations: 60.41 kB / 0.8403 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.6484, allocations: 208 kB / 0.8405 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.6484, allocations: 6.5 kB / 0.8405 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.6484, allocations: 8.438 kB / 0.8405 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.6489, allocations: 176.8 kB / 0.8407 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.649, allocations: 0 / 0.8407 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.649, allocations: 10.8 kB / 0.8407 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.649, allocations: 6.875 kB / 0.8407 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005048/0.6495, allocations: 145.2 kB / 0.8409 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.6508, allocations: 0.8322 MB / 0.8417 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.6512, allocations: 128.9 kB / 0.8418 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.6515, allocations: 79.89 kB / 0.8419 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.6515, allocations: 1.375 kB / 0.8419 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.6515, allocations: 32.34 kB / 0.8419 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.6515, allocations: 0 / 0.8419 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.002057/0.6536, allocations: 463.6 kB / 0.8424 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.6537, allocations: 53.19 kB / 0.8424 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.6538, allocations: 154.1 kB / 0.8426 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.6539, allocations: 25.7 kB / 0.8426 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/0.6539, allocations: 108.4 kB / 0.8427 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.654, allocations: 31.83 kB / 0.8427 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.6541, allocations: 35.31 kB / 0.8427 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6542, allocations: 324.2 kB / 0.8431 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.6545, allocations: 67.69 kB / 0.8431 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.6547, allocations: 108.6 kB / 0.8432 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00049/0.6552, allocations: 175.8 kB / 0.8434 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6552, allocations: 1.375 kB / 0.8434 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001027/0.6563, allocations: 273.9 kB / 0.8437 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.6563, allocations: 5.5 kB / 0.8437 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6563, allocations: 5.312 kB / 0.8437 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006196/0.6569, allocations: 90.2 kB / 0.8438 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.6572, allocations: 36.58 kB / 0.8438 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.6594, allocations: 1.658 MB / 0.8454 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.6597, allocations: 30.75 kB / 0.8454 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.6597, allocations: 12.58 kB / 0.8454 GB, free: 7.379 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.0001185/0.6598, allocations: 123.9 kB / 0.8456 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.6599, allocations: 8.969 kB / 0.8456 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.661, allocations: 305.5 kB / 0.8459 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.661, allocations: 9.375 kB / 0.8459 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.661, allocations: 1.688 kB / 0.8459 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.661, allocations: 0 / 0.8459 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.6613, allocations: 253.1 kB / 0.8461 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6613, allocations: 0 / 0.8461 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.6615, allocations: 37.17 kB / 0.8462 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005488/0.6621, allocations: 69.94 kB / 0.8462 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.6621, allocations: 9.609 kB / 0.8462 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.6642, allocations: 1.685 MB / 0.8479 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6642, allocations: 1.375 kB / 0.8479 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.6653, allocations: 382.8 kB / 0.8482 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.6654, allocations: 104.3 kB / 0.8483 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.6654, allocations: 4 kB / 0.8483 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.6656, allocations: 13.61 kB / 0.8484 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.6657, allocations: 18.02 kB / 0.8484 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.6657, allocations: 6.078 kB / 0.8484 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.185e-05/0.6658, allocations: 117.2 kB / 0.8485 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6658, allocations: 4 kB / 0.8485 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003173/0.6661, allocations: 49.59 kB / 0.8485 GB, free: 4.598 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.0001787/0.6663, allocations: 113.9 kB / 0.8487 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000916/0.6673, allocations: 313.4 kB / 0.849 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6673, allocations: 3 kB / 0.849 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005657/0.6678, allocations: 226.6 kB / 0.8492 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.6683, allocations: 26.58 kB / 0.8492 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009404/0.6693, allocations: 363.2 kB / 0.8495 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.6697, allocations: 0.7084 MB / 0.8502 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001675/0.6698, allocations: 27.47 kB / 0.8503 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.6699, allocations: 16.77 kB / 0.8503 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.6699, allocations: 6.656 kB / 0.8503 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of Templates: time 0.006931/0.6769, allocations: 3.105 MB / 0.8533 GB, free: 1.516 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)