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.0009929/0.000993, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.0009909/0.0009909, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 303.4 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8768/0.8768, allocations: 169.2 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 89.23 kB / 0.5966 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1611, allocations: 86.97 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002601/0.1638, allocations: 1.675 MB / 0.6832 GB, free: 5.785 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4125/0.5763, allocations: 149.7 MB / 0.8294 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.213e-05/0.5764, allocations: 0.5625 kB / 0.8294 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.5766, allocations: 31.73 kB / 0.8294 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.5768, allocations: 47.62 kB / 0.8295 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.5772, allocations: 193 kB / 0.8297 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.5774, allocations: 155.5 kB / 0.8298 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.5775, allocations: 41.78 kB / 0.8298 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.5787, allocations: 192.2 kB / 0.83 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.5788, allocations: 55.77 kB / 0.8301 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.5788, allocations: 8 kB / 0.8301 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002709/0.5791, allocations: 167.8 kB / 0.8302 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/0.5791, allocations: 27.91 kB / 0.8303 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.5792, allocations: 51.72 kB / 0.8303 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.5795, allocations: 206.1 kB / 0.8305 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.5795, allocations: 7.938 kB / 0.8305 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5795, allocations: 4 kB / 0.8305 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.5795, allocations: 0 / 0.8305 GB, free: 6.043 MB / 0.5919 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.0007883/0.5803, allocations: 463.6 kB / 0.831 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.5804, allocations: 12.03 kB / 0.831 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006507/0.581, allocations: 56.88 kB / 0.831 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.5813, allocations: 202.8 kB / 0.8312 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.5813, allocations: 4 kB / 0.8312 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.5813, allocations: 8 kB / 0.8312 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/0.5818, allocations: 191 kB / 0.8314 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.5818, allocations: 3.938 kB / 0.8314 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.5818, allocations: 0 / 0.8314 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.5818, allocations: 4 kB / 0.8314 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.5823, allocations: 143.8 kB / 0.8316 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.5833, allocations: 0.8167 MB / 0.8324 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.5837, allocations: 134.5 kB / 0.8325 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.584, allocations: 76.8 kB / 0.8326 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.584, allocations: 12.14 kB / 0.8326 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.584, allocations: 30.56 kB / 0.8326 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.584, allocations: 0 / 0.8326 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001842/0.5859, allocations: 460.5 kB / 0.833 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.5859, allocations: 51.41 kB / 0.8331 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.586, allocations: 156.2 kB / 0.8332 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.5861, allocations: 29.7 kB / 0.8333 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/0.5861, allocations: 116.2 kB / 0.8334 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.5862, allocations: 23.66 kB / 0.8334 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/0.5862, allocations: 37.59 kB / 0.8334 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.5863, allocations: 318.8 kB / 0.8337 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.5866, allocations: 67.92 kB / 0.8338 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.5868, allocations: 108.2 kB / 0.8339 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.5873, allocations: 188.1 kB / 0.8341 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5873, allocations: 0 / 0.8341 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009768/0.5883, allocations: 274.4 kB / 0.8344 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.5883, allocations: 4 kB / 0.8344 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.5883, allocations: 7.938 kB / 0.8344 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005977/0.5889, allocations: 84.89 kB / 0.8345 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.5891, allocations: 35.89 kB / 0.8345 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.5912, allocations: 1.665 MB / 0.8361 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.5915, allocations: 23.83 kB / 0.8361 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.5915, allocations: 7.984 kB / 0.8361 GB, free: 15.84 MB / 0.6075 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.0001085/0.5916, allocations: 129.8 kB / 0.8363 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.5917, allocations: 7.906 kB / 0.8363 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.5927, allocations: 314.9 kB / 0.8366 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.5927, allocations: 3.938 kB / 0.8366 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.5927, allocations: 0 / 0.8366 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.5927, allocations: 0 / 0.8366 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.593, allocations: 253 kB / 0.8368 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.593, allocations: 0 / 0.8368 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.5932, allocations: 31.95 kB / 0.8368 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004138/0.5936, allocations: 84.66 kB / 0.8369 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.5936, allocations: 0 / 0.8369 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.5955, allocations: 1.683 MB / 0.8386 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5955, allocations: 4.031 kB / 0.8386 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009749/0.5965, allocations: 386.9 kB / 0.8389 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.344e-05/0.5966, allocations: 96.94 kB / 0.839 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.5967, allocations: 4 kB / 0.839 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.5969, allocations: 23.97 kB / 0.8391 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.5969, allocations: 11.92 kB / 0.8391 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.597, allocations: 12.8 kB / 0.8391 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.29e-05/0.597, allocations: 114.4 kB / 0.8392 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.597, allocations: 0 / 0.8392 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003061/0.5974, allocations: 40 kB / 0.8392 GB, free: 12.42 MB / 0.6075 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.000166/0.5975, allocations: 119.2 kB / 0.8393 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008243/0.5984, allocations: 311.2 kB / 0.8396 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.5984, allocations: 0 / 0.8396 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005253/0.5989, allocations: 234.4 kB / 0.8399 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.5992, allocations: 29.11 kB / 0.8399 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007402/0.6, allocations: 311.6 kB / 0.8402 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.6003, allocations: 0.7085 MB / 0.8409 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.6004, allocations: 24.81 kB / 0.8409 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.6004, allocations: 19.44 kB / 0.8409 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.6004, allocations: 0 / 0.8409 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.006048/0.6065, allocations: 3.214 MB / 0.8441 GB, free: 7.418 MB / 0.6075 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)