Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001498/0.001498, 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.001626/0.001626, allocations: 191.6 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 65.62 kB / 0.6708 GB, free: 26.61 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2041, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002851/0.207, allocations: 1.752 MB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5355/0.7425, allocations: 147.4 MB / 0.9283 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.7427, allocations: 0.875 kB / 0.9283 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.7429, allocations: 20.83 kB / 0.9283 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.7431, allocations: 40.23 kB / 0.9283 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.7435, allocations: 161.2 kB / 0.9285 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00017/0.7437, allocations: 151.4 kB / 0.9286 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.7438, allocations: 24.31 kB / 0.9287 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.7456, allocations: 168.6 kB / 0.9288 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.501e-05/0.7457, allocations: 59.03 kB / 0.9289 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.7457, allocations: 8.297 kB / 0.9289 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.746, allocations: 166.2 kB / 0.929 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.911e-05/0.746, allocations: 20.16 kB / 0.9291 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.197e-05/0.7461, allocations: 47.42 kB / 0.9291 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.7464, allocations: 187.5 kB / 0.9293 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7464, allocations: 0 / 0.9293 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.02e-07/0.7464, allocations: 1.25 kB / 0.9293 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.7464, allocations: 0 / 0.9293 GB, free: 5.859 MB / 0.7325 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.001/0.7474, allocations: 469.3 kB / 0.9297 GB, free: 21.46 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.7475, allocations: 12.56 kB / 0.9297 GB, free: 21.46 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000658/0.7481, allocations: 53.17 kB / 0.9298 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.7483, allocations: 208 kB / 0.93 GB, free: 21.25 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.7484, allocations: 3.266 kB / 0.93 GB, free: 21.25 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.7484, allocations: 8.375 kB / 0.93 GB, free: 21.25 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.7489, allocations: 187.7 kB / 0.9302 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.7489, allocations: 0 / 0.9302 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.7489, allocations: 5.656 kB / 0.9302 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.7489, allocations: 1.719 kB / 0.9302 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.7495, allocations: 143.5 kB / 0.9303 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.7506, allocations: 0.8255 MB / 0.9311 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004333/0.7511, allocations: 135.8 kB / 0.9313 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.7513, allocations: 78.7 kB / 0.9313 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.7514, allocations: 0 / 0.9313 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.7514, allocations: 35.41 kB / 0.9314 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 1.813e-06/0.7514, allocations: 4 kB / 0.9314 GB, free: 20.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.002053/0.7535, allocations: 458.7 kB / 0.9318 GB, free: 20.26 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.7535, allocations: 53.92 kB / 0.9319 GB, free: 20.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.7537, allocations: 153.3 kB / 0.932 GB, free: 20.09 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.7537, allocations: 26.41 kB / 0.932 GB, free: 20.05 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.7537, allocations: 105.8 kB / 0.9321 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.7538, allocations: 30.34 kB / 0.9322 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.997e-05/0.7539, allocations: 33.64 kB / 0.9322 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.754, allocations: 321.8 kB / 0.9325 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.7543, allocations: 66.78 kB / 0.9326 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.7545, allocations: 107.4 kB / 0.9327 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005093/0.7551, allocations: 181.2 kB / 0.9328 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7551, allocations: 0 / 0.9328 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00107/0.7561, allocations: 270.3 kB / 0.9331 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.7562, allocations: 8.875 kB / 0.9331 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.7562, allocations: 10.11 kB / 0.9331 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000585/0.7568, allocations: 83.42 kB / 0.9332 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.757, allocations: 35.72 kB / 0.9332 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.759, allocations: 1.56 MB / 0.9348 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.7593, allocations: 16.94 kB / 0.9348 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.7593, allocations: 12.28 kB / 0.9348 GB, free: 18.16 MB / 0.7481 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.0001082/0.7594, allocations: 123.9 kB / 0.9349 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.7595, allocations: 9.781 kB / 0.9349 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.7606, allocations: 312.7 kB / 0.9352 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.7606, allocations: 2.969 kB / 0.9352 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.7606, allocations: 2.312 kB / 0.9352 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.7606, allocations: 5.734 kB / 0.9352 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.7608, allocations: 232.5 kB / 0.9354 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7608, allocations: 0.7031 kB / 0.9354 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.7611, allocations: 32.98 kB / 0.9355 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005237/0.7616, allocations: 87.56 kB / 0.9356 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.7616, allocations: 1.5 kB / 0.9356 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.7634, allocations: 1.573 MB / 0.9371 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7634, allocations: 4.859 kB / 0.9371 GB, free: 16.47 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.7644, allocations: 379.9 kB / 0.9375 GB, free: 16.32 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.7644, allocations: 84.61 kB / 0.9375 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.7645, allocations: 4.5 kB / 0.9375 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.7647, allocations: 13.78 kB / 0.9376 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.7648, allocations: 19.31 kB / 0.9376 GB, free: 16.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.7648, allocations: 7.734 kB / 0.9376 GB, free: 16.21 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.974e-05/0.7649, allocations: 107.6 kB / 0.9377 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7649, allocations: 0 / 0.9377 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003314/0.7652, allocations: 45.25 kB / 0.9377 GB, free: 16.14 MB / 0.7481 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.0001695/0.7654, allocations: 113.5 kB / 0.9378 GB, free: 16.05 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000836/0.7662, allocations: 311.1 kB / 0.9381 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7663, allocations: 0 / 0.9381 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005114/0.7668, allocations: 232.7 kB / 0.9384 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.7671, allocations: 30.72 kB / 0.9384 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007485/0.7679, allocations: 346.5 kB / 0.9387 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.7681, allocations: 0.7033 MB / 0.9394 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.7683, allocations: 29.11 kB / 0.9394 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.7684, allocations: 19.72 kB / 0.9394 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of SimCode: time 2.81e-07/0.7684, allocations: 0 / 0.9394 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of Templates: time 0.006044/0.7744, allocations: 2.954 MB / 0.9423 GB, free: 14.72 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)