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.0013/0.0013, allocations: 101.9 kB / 16.27 MB, free: 6.414 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.001253/0.001253, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.513/1.513, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.89/1.89, allocations: 292.3 MB / 0.5495 GB, free: 17.44 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.002808/0.002808, allocations: 67.91 kB / 0.6722 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3165, allocations: 114.5 MB / 0.784 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004404/0.321, allocations: 1.92 MB / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6168/0.9378, allocations: 155.4 MB / 0.9376 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.9381, allocations: 7.938 kB / 0.9376 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.9383, allocations: 27.72 kB / 0.9377 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003916/0.9387, allocations: 63.5 kB / 0.9377 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008421/0.9396, allocations: 263.1 kB / 0.938 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003504/0.94, allocations: 251.3 kB / 0.9382 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.9402, allocations: 70.25 kB / 0.9383 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.9415, allocations: 232.4 kB / 0.9385 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.9416, allocations: 87.66 kB / 0.9386 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.9416, allocations: 16 kB / 0.9386 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003965/0.9421, allocations: 183.7 kB / 0.9388 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.72e-05/0.9421, allocations: 43.83 kB / 0.9388 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.9422, allocations: 87.58 kB / 0.9389 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004199/0.9427, allocations: 275.2 kB / 0.9392 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.9427, allocations: 4 kB / 0.9392 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9427, allocations: 0 / 0.9392 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.9427, allocations: 0 / 0.9392 GB, free: 11.79 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.0009601/0.9437, allocations: 0.5135 MB / 0.9397 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.9437, allocations: 8.031 kB / 0.9397 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008485/0.9446, allocations: 79.72 kB / 0.9398 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.9449, allocations: 226.6 kB / 0.94 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-05/0.9449, allocations: 41.97 kB / 0.94 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.945, allocations: 22.59 kB / 0.94 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000531/0.9455, allocations: 258.6 kB / 0.9403 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.9456, allocations: 4 kB / 0.9403 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.9456, allocations: 4 kB / 0.9403 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.9456, allocations: 4 kB / 0.9403 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.9461, allocations: 171.8 kB / 0.9405 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.9477, allocations: 1.173 MB / 0.9416 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007446/0.9485, allocations: 208.4 kB / 0.9418 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.9487, allocations: 74.56 kB / 0.9419 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.9487, allocations: 11.94 kB / 0.9419 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.9488, allocations: 30.56 kB / 0.9419 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.664e-06/0.9488, allocations: 0 / 0.9419 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.002629/0.9514, allocations: 0.618 MB / 0.9425 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.9515, allocations: 55.41 kB / 0.9426 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.9517, allocations: 205 kB / 0.9428 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.9518, allocations: 33.7 kB / 0.9428 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.359e-05/0.9519, allocations: 139.6 kB / 0.9429 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.9519, allocations: 35.45 kB / 0.943 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.389e-05/0.952, allocations: 49.59 kB / 0.943 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.9521, allocations: 330.8 kB / 0.9433 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.9524, allocations: 71.94 kB / 0.9434 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.9526, allocations: 131.6 kB / 0.9435 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.953, allocations: 203.2 kB / 0.9437 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.9531, allocations: 4 kB / 0.9437 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001438/0.9545, allocations: 380 kB / 0.9441 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.9545, allocations: 6.344 kB / 0.9441 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.9546, allocations: 4 kB / 0.9441 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.9556, allocations: 157.6 kB / 0.9442 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.9559, allocations: 41.72 kB / 0.9443 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004061/0.9599, allocations: 3.25 MB / 0.9475 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/0.9604, allocations: 31.67 kB / 0.9475 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.9604, allocations: 12.06 kB / 0.9475 GB, free: 2.605 MB / 0.7325 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.0001728/0.9606, allocations: 137.7 kB / 0.9476 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.9606, allocations: 11.91 kB / 0.9476 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.962, allocations: 382.7 kB / 0.948 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.962, allocations: 5.781 kB / 0.948 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.962, allocations: 0 / 0.948 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.962, allocations: 3.984 kB / 0.948 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.9624, allocations: 265.5 kB / 0.9483 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.9624, allocations: 0 / 0.9483 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.9625, allocations: 23.98 kB / 0.9483 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008521/0.9634, allocations: 141.5 kB / 0.9484 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.9634, allocations: 4 kB / 0.9484 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003881/0.9673, allocations: 3.306 MB / 0.9517 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.9674, allocations: 0 / 0.9517 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.9687, allocations: 428.7 kB / 0.9521 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.9689, allocations: 104.9 kB / 0.9522 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.9689, allocations: 8 kB / 0.9522 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.9693, allocations: 23.86 kB / 0.9522 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.862e-05/0.9694, allocations: 27.81 kB / 0.9522 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.9694, allocations: 8 kB / 0.9522 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001888/0.9696, allocations: 151 kB / 0.9524 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9696, allocations: 0 / 0.9524 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004683/0.9701, allocations: 71.94 kB / 0.9524 GB, free: 13.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 (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.0002379/0.9703, allocations: 117.2 kB / 0.9526 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.9715, allocations: 447.7 kB / 0.953 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.9715, allocations: 0 / 0.953 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007133/0.9723, allocations: 363 kB / 0.9533 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.9727, allocations: 52.28 kB / 0.9534 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.9738, allocations: 440.8 kB / 0.9538 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.9742, allocations: 0.7361 MB / 0.9545 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.9742, allocations: 23.42 kB / 0.9545 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of SimCode: time 3.126e-06/0.9742, allocations: 0 / 0.9545 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of Templates: time 0.007656/0.9819, allocations: 4.42 MB / 0.9589 GB, free: 6.516 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)