Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001741/0.001741, allocations: 191 kB / 16.25 MB, free: 6.617 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.355/1.355, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.653/1.653, allocations: 292.2 MB / 0.5485 GB, free: 13.61 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.001328/0.001328, allocations: 69.8 kB / 0.671 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2083, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003164/0.2115, allocations: 1.985 MB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5494/0.7609, allocations: 153.2 MB / 0.9343 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.7611, allocations: 2.5 kB / 0.9343 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.7614, allocations: 18.58 kB / 0.9344 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.7617, allocations: 61.36 kB / 0.9344 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007475/0.7625, allocations: 234.2 kB / 0.9346 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.7628, allocations: 254.7 kB / 0.9349 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.763, allocations: 68.84 kB / 0.935 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.7648, allocations: 245.3 kB / 0.9352 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.765, allocations: 92.55 kB / 0.9353 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.765, allocations: 17.33 kB / 0.9353 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000421/0.7654, allocations: 182.8 kB / 0.9355 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.196e-05/0.7655, allocations: 48.25 kB / 0.9355 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.7657, allocations: 91.84 kB / 0.9356 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000416/0.7661, allocations: 270.1 kB / 0.9359 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.7661, allocations: 0 / 0.9359 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.31e-07/0.7661, allocations: 1.094 kB / 0.9359 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.7661, allocations: 2.938 kB / 0.9359 GB, free: 5.863 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001151/0.7673, allocations: 0.5083 MB / 0.9364 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.7673, allocations: 8.531 kB / 0.9364 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008703/0.7682, allocations: 85.75 kB / 0.9365 GB, free: 21.44 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.7685, allocations: 227.2 kB / 0.9367 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.786e-05/0.7685, allocations: 39.5 kB / 0.9367 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.7686, allocations: 19 kB / 0.9367 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.7691, allocations: 259.4 kB / 0.937 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.7691, allocations: 0 / 0.937 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.7692, allocations: 11.56 kB / 0.937 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.7692, allocations: 9.75 kB / 0.937 GB, free: 21.09 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004113/0.7696, allocations: 165.6 kB / 0.9371 GB, free: 21.09 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.7711, allocations: 1.167 MB / 0.9383 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007028/0.7719, allocations: 211.2 kB / 0.9385 GB, free: 20.19 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.772, allocations: 67.56 kB / 0.9386 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.7721, allocations: 6.359 kB / 0.9386 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.7721, allocations: 34.77 kB / 0.9386 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.7721, allocations: 0 / 0.9386 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12): time 0.002607/0.7747, allocations: 0.6281 MB / 0.9392 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.7748, allocations: 51.41 kB / 0.9393 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.775, allocations: 198 kB / 0.9394 GB, free: 19.72 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.775, allocations: 28.2 kB / 0.9395 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.7751, allocations: 141.5 kB / 0.9396 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.7751, allocations: 39.22 kB / 0.9396 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.798e-05/0.7752, allocations: 53.52 kB / 0.9397 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.7753, allocations: 329.7 kB / 0.94 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.7755, allocations: 68.97 kB / 0.9401 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.7758, allocations: 133.8 kB / 0.9402 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.7761, allocations: 198.8 kB / 0.9404 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.7761, allocations: 0 / 0.9404 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001396/0.7775, allocations: 377.6 kB / 0.9408 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.7776, allocations: 6.328 kB / 0.9408 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.7776, allocations: 2.812 kB / 0.9408 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.7787, allocations: 161.4 kB / 0.9409 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.7789, allocations: 41.08 kB / 0.941 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003689/0.7826, allocations: 3.259 MB / 0.9441 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/0.783, allocations: 32.08 kB / 0.9442 GB, free: 16.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.783, allocations: 10.41 kB / 0.9442 GB, free: 16.19 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.7831, allocations: 136.8 kB / 0.9443 GB, free: 16.07 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.7832, allocations: 15.69 kB / 0.9443 GB, free: 16.06 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.7845, allocations: 371.8 kB / 0.9447 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.7845, allocations: 4.797 kB / 0.9447 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.7845, allocations: 1.5 kB / 0.9447 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.7845, allocations: 0.6562 kB / 0.9447 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.7848, allocations: 271.1 kB / 0.9449 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.7848, allocations: 0.75 kB / 0.9449 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.785, allocations: 23.36 kB / 0.945 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007735/0.7857, allocations: 146.6 kB / 0.9451 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.7858, allocations: 5.234 kB / 0.9451 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003413/0.7892, allocations: 3.31 MB / 0.9483 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7892, allocations: 0 / 0.9483 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.7905, allocations: 433.3 kB / 0.9488 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.7907, allocations: 104 kB / 0.9489 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.7907, allocations: 4.531 kB / 0.9489 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.791, allocations: 20.36 kB / 0.9489 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.7911, allocations: 14.38 kB / 0.9489 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.7911, allocations: 9.578 kB / 0.9489 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002227/0.7914, allocations: 155.8 kB / 0.9491 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7914, allocations: 0 / 0.9491 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005731/0.792, allocations: 77.36 kB / 0.9491 GB, free: 12.61 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002681/0.7922, allocations: 122.3 kB / 0.9492 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.7935, allocations: 453.2 kB / 0.9497 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7935, allocations: 0 / 0.9497 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000674/0.7942, allocations: 358.7 kB / 0.95 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.7947, allocations: 61.31 kB / 0.9501 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000958/0.7957, allocations: 477.2 kB / 0.9505 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.796, allocations: 0.7312 MB / 0.9512 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001992/0.7963, allocations: 39.59 kB / 0.9513 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.7963, allocations: 25.53 kB / 0.9513 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of SimCode: time 3.91e-07/0.7963, allocations: 1.203 kB / 0.9513 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of Templates: time 0.01065/0.807, allocations: 5.226 MB / 0.9564 GB, free: 10.76 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)