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.001438/0.001438, allocations: 104 kB / 16.35 MB, free: 5.879 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.001602/0.001602, allocations: 195.1 kB / 17.29 MB, free: 5.516 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.323/1.323, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.793/1.793, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001375/0.001375, allocations: 67.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2369, allocations: 114.5 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003095/0.24, allocations: 1.931 MB / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5029/0.743, allocations: 155.4 MB / 0.9384 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.7432, allocations: 0 / 0.9384 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.7434, allocations: 31.66 kB / 0.9384 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.7437, allocations: 67.48 kB / 0.9385 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007284/0.7445, allocations: 267.9 kB / 0.9387 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.7448, allocations: 255.2 kB / 0.939 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.7449, allocations: 67.3 kB / 0.939 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.7462, allocations: 240.8 kB / 0.9393 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.7464, allocations: 91.66 kB / 0.9394 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.7464, allocations: 12 kB / 0.9394 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.7468, allocations: 189.3 kB / 0.9395 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.531e-05/0.7468, allocations: 39.84 kB / 0.9396 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.939e-05/0.7469, allocations: 91.56 kB / 0.9397 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004098/0.7474, allocations: 277.3 kB / 0.9399 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7474, allocations: 3.938 kB / 0.9399 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7474, allocations: 0 / 0.9399 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.7474, allocations: 0 / 0.9399 GB, free: 11.25 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.0009677/0.7484, allocations: 0.4979 MB / 0.9404 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.7484, allocations: 12.03 kB / 0.9404 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009111/0.7493, allocations: 87.72 kB / 0.9405 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.7496, allocations: 222.6 kB / 0.9407 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.261e-05/0.7497, allocations: 45.97 kB / 0.9408 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.7498, allocations: 19.94 kB / 0.9408 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005528/0.7503, allocations: 254.7 kB / 0.941 GB, free: 10 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.7504, allocations: 3.938 kB / 0.941 GB, free: 10 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.7504, allocations: 8 kB / 0.9411 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.7504, allocations: 4.844 kB / 0.9411 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004648/0.7509, allocations: 167.8 kB / 0.9412 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.7526, allocations: 1.169 MB / 0.9424 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007647/0.7533, allocations: 206.6 kB / 0.9426 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.7535, allocations: 76.81 kB / 0.9426 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.7536, allocations: 0 / 0.9426 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.7536, allocations: 36.12 kB / 0.9427 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.7536, allocations: 1.406 kB / 0.9427 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.00275/0.7564, allocations: 0.6268 MB / 0.9433 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.7564, allocations: 51.41 kB / 0.9433 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.7567, allocations: 205 kB / 0.9435 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.7567, allocations: 29.7 kB / 0.9435 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.7568, allocations: 135.6 kB / 0.9437 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.7568, allocations: 43.39 kB / 0.9437 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.51e-05/0.7569, allocations: 45.59 kB / 0.9438 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.757, allocations: 330.8 kB / 0.9441 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.7573, allocations: 71.94 kB / 0.9441 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.7575, allocations: 127.7 kB / 0.9443 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.7579, allocations: 212 kB / 0.9445 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.7579, allocations: 0 / 0.9445 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001454/0.7594, allocations: 371.8 kB / 0.9448 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.7594, allocations: 9.406 kB / 0.9448 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7594, allocations: 0 / 0.9448 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.7606, allocations: 157.7 kB / 0.945 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.7608, allocations: 43.91 kB / 0.945 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004102/0.7649, allocations: 3.253 MB / 0.9482 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.7653, allocations: 39.7 kB / 0.9482 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.7654, allocations: 8 kB / 0.9482 GB, free: 2.086 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.0001514/0.7655, allocations: 137.7 kB / 0.9484 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.499e-05/0.7656, allocations: 11.91 kB / 0.9484 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.7669, allocations: 375.1 kB / 0.9487 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.767, allocations: 4 kB / 0.9488 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.767, allocations: 7.938 kB / 0.9488 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.767, allocations: 5.391 kB / 0.9488 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.7673, allocations: 265.5 kB / 0.949 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.7673, allocations: 0 / 0.949 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.7675, allocations: 24.55 kB / 0.949 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008476/0.7683, allocations: 141.6 kB / 0.9492 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.7683, allocations: 0 / 0.9492 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003553/0.7719, allocations: 3.304 MB / 0.9524 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7719, allocations: 0 / 0.9524 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.7732, allocations: 428.7 kB / 0.9528 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.7734, allocations: 108.1 kB / 0.9529 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.7734, allocations: 7.938 kB / 0.9529 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.7737, allocations: 15.98 kB / 0.9529 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/0.7738, allocations: 23.81 kB / 0.953 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.7738, allocations: 8 kB / 0.953 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001748/0.774, allocations: 159 kB / 0.9531 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.774, allocations: 0.75 kB / 0.9531 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004305/0.7744, allocations: 67.94 kB / 0.9532 GB, free: 12.63 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.0001858/0.7746, allocations: 107.2 kB / 0.9533 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.7757, allocations: 450 kB / 0.9537 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.7757, allocations: 0 / 0.9537 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006563/0.7764, allocations: 371.3 kB / 0.9541 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.7768, allocations: 56.69 kB / 0.9541 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008755/0.7777, allocations: 414.5 kB / 0.9545 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.778, allocations: 0.7401 MB / 0.9552 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000154/0.7781, allocations: 33.94 kB / 0.9553 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.7782, allocations: 15.44 kB / 0.9553 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.7782, allocations: 1.969 kB / 0.9553 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of Templates: time 0.009139/0.7874, allocations: 5.309 MB / 0.9605 GB, free: 5.191 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)