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.001279/0.001279, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001177/0.001177, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.285/1.285, allocations: 222.9 MB / 239.9 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 286.9 kB / 290.4 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9279/0.9279, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 91.14 kB / 0.5947 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1534, allocations: 86.99 MB / 0.6796 GB, free: 1.109 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002636/0.156, allocations: 1.724 MB / 0.6813 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4413/0.5973, allocations: 147.5 MB / 0.8254 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.5975, allocations: 5.125 kB / 0.8254 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.5977, allocations: 21.75 kB / 0.8254 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.5979, allocations: 46.56 kB / 0.8254 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.5984, allocations: 163.2 kB / 0.8256 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.5986, allocations: 166.1 kB / 0.8258 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.5987, allocations: 32.08 kB / 0.8258 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.6005, allocations: 188.2 kB / 0.826 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.6006, allocations: 67.28 kB / 0.826 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.6006, allocations: 10.03 kB / 0.826 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.6009, allocations: 165.2 kB / 0.8262 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.954e-05/0.601, allocations: 28.94 kB / 0.8262 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.697e-05/0.601, allocations: 52.48 kB / 0.8263 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.6013, allocations: 197.6 kB / 0.8265 GB, free: 460 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6013, allocations: 1.094 kB / 0.8265 GB, free: 460 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6013, allocations: 0 / 0.8265 GB, free: 460 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.6013, allocations: 3.938 kB / 0.8265 GB, free: 456 kB / 0.5606 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.0008294/0.6022, allocations: 472 kB / 0.8269 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.6022, allocations: 8.844 kB / 0.8269 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006585/0.6029, allocations: 62.34 kB / 0.827 GB, free: 16.03 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.6031, allocations: 202.7 kB / 0.8272 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.6031, allocations: 6.344 kB / 0.8272 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.6031, allocations: 5.938 kB / 0.8272 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.6036, allocations: 184.6 kB / 0.8274 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.6036, allocations: 1.281 kB / 0.8274 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.6036, allocations: 4.656 kB / 0.8274 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6036, allocations: 6.219 kB / 0.8274 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004851/0.6041, allocations: 145.8 kB / 0.8275 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.6052, allocations: 0.815 MB / 0.8283 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.6056, allocations: 132.9 kB / 0.8284 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.6058, allocations: 82.25 kB / 0.8285 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.6059, allocations: 8.531 kB / 0.8285 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.6059, allocations: 31.69 kB / 0.8286 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 2.014e-06/0.6059, allocations: 4 kB / 0.8286 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001984/0.6079, allocations: 459.4 kB / 0.829 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.6079, allocations: 51.41 kB / 0.829 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.6081, allocations: 156.7 kB / 0.8292 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.6081, allocations: 25.7 kB / 0.8292 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.6082, allocations: 110 kB / 0.8293 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.6082, allocations: 32.95 kB / 0.8294 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.6083, allocations: 35.95 kB / 0.8294 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.6084, allocations: 318.9 kB / 0.8297 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.6086, allocations: 67.06 kB / 0.8298 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.6089, allocations: 105.5 kB / 0.8299 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004984/0.6094, allocations: 176.4 kB / 0.83 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6094, allocations: 3.188 kB / 0.83 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001063/0.6105, allocations: 281 kB / 0.8303 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.6105, allocations: 5.094 kB / 0.8303 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.6105, allocations: 5.25 kB / 0.8303 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006156/0.6112, allocations: 86.05 kB / 0.8304 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.6114, allocations: 38.67 kB / 0.8304 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.6136, allocations: 1.653 MB / 0.832 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.6138, allocations: 33.7 kB / 0.8321 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.6138, allocations: 3.438 kB / 0.8321 GB, free: 12.61 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.0001267/0.614, allocations: 133.3 kB / 0.8322 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.614, allocations: 9.562 kB / 0.8322 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.6151, allocations: 304.7 kB / 0.8325 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.6151, allocations: 10.09 kB / 0.8325 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.6152, allocations: 0 / 0.8325 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.6152, allocations: 3.016 kB / 0.8325 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.6155, allocations: 261.7 kB / 0.8328 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.6155, allocations: 0 / 0.8328 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.6157, allocations: 29.94 kB / 0.8328 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004707/0.6162, allocations: 75.44 kB / 0.8329 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.6162, allocations: 5.281 kB / 0.8329 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.6183, allocations: 1.678 MB / 0.8345 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6183, allocations: 2.625 kB / 0.8345 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.6194, allocations: 384.4 kB / 0.8349 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.6196, allocations: 102.8 kB / 0.835 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.6196, allocations: 4.594 kB / 0.835 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.6198, allocations: 13.95 kB / 0.835 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/0.6199, allocations: 17.27 kB / 0.835 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.62, allocations: 7.219 kB / 0.835 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.2e-05/0.6201, allocations: 126.2 kB / 0.8351 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6201, allocations: 0 / 0.8351 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003799/0.6204, allocations: 43.84 kB / 0.8352 GB, free: 10.43 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.0002065/0.6207, allocations: 112.5 kB / 0.8353 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009553/0.6216, allocations: 316.8 kB / 0.8356 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6216, allocations: 1.312 kB / 0.8356 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005558/0.6222, allocations: 229 kB / 0.8358 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.6226, allocations: 26.17 kB / 0.8358 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009538/0.6235, allocations: 358.6 kB / 0.8362 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.6238, allocations: 0.7127 MB / 0.8369 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001811/0.624, allocations: 24.83 kB / 0.8369 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/0.6241, allocations: 23.44 kB / 0.8369 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.6241, allocations: 0 / 0.8369 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of Templates: time 0.007007/0.6311, allocations: 3.108 MB / 0.84 GB, free: 8.461 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)