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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.614/1.614, allocations: 292.3 MB / 308.1 MB, free: 4.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001288/0.001288, allocations: 196.4 kB / 376.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.1 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008889/0.0008888, allocations: 98.86 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 59.91 kB / 0.8703 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1946, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002918/0.1976, allocations: 1.997 MB / 0.9842 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.4776/0.6752, allocations: 153.1 MB / 1.134 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.6754, allocations: 7.312 kB / 1.134 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.6756, allocations: 16.38 kB / 1.134 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.6758, allocations: 67.39 kB / 1.134 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005999/0.6764, allocations: 218.9 kB / 1.134 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.6766, allocations: 258.3 kB / 1.134 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.6768, allocations: 60.56 kB / 1.134 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.6789, allocations: 216.6 kB / 1.134 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.679, allocations: 92.56 kB / 1.135 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.679, allocations: 6.5 kB / 1.135 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003195/0.6794, allocations: 188.4 kB / 1.135 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.6794, allocations: 36.5 kB / 1.135 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.11e-05/0.6795, allocations: 77.58 kB / 1.135 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.6798, allocations: 265.4 kB / 1.135 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6798, allocations: 4 kB / 1.135 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6798, allocations: 0 / 1.135 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.6798, allocations: 0 / 1.135 GB, free: 4.676 MB / 0.7448 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.0008018/0.6806, allocations: 0.5179 MB / 1.136 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.6807, allocations: 9.375 kB / 1.136 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007375/0.6814, allocations: 80.27 kB / 1.136 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.6816, allocations: 224.2 kB / 1.136 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.162e-05/0.6817, allocations: 43.61 kB / 1.136 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.6817, allocations: 17.69 kB / 1.136 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.6821, allocations: 265 kB / 1.136 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.6821, allocations: 3.938 kB / 1.136 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.6822, allocations: 7.125 kB / 1.136 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.6822, allocations: 4.625 kB / 1.136 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003852/0.6826, allocations: 162.3 kB / 1.136 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.6839, allocations: 1.178 MB / 1.138 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006799/0.6846, allocations: 212.1 kB / 1.138 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.6848, allocations: 74.38 kB / 1.138 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.6848, allocations: 0 / 1.138 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.6848, allocations: 34.56 kB / 1.138 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 8.62e-07/0.6848, allocations: 3.375 kB / 1.138 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.002312/0.6871, allocations: 0.6209 MB / 1.138 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.6872, allocations: 51.41 kB / 1.138 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.6874, allocations: 200.5 kB / 1.139 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.6874, allocations: 37.64 kB / 1.139 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.6875, allocations: 136.9 kB / 1.139 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.6875, allocations: 41.03 kB / 1.139 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.298e-05/0.6876, allocations: 48.55 kB / 1.139 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.6876, allocations: 332.8 kB / 1.139 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.6878, allocations: 74.28 kB / 1.139 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.688, allocations: 127.5 kB / 1.139 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.6884, allocations: 201.8 kB / 1.14 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6884, allocations: 0.5625 kB / 1.14 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001266/0.6897, allocations: 371.1 kB / 1.14 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.6897, allocations: 6.031 kB / 1.14 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.6897, allocations: 4.5 kB / 1.14 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009921/0.6907, allocations: 156.7 kB / 1.14 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.6909, allocations: 38.19 kB / 1.14 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003386/0.6943, allocations: 3.042 MB / 1.143 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.6947, allocations: 39.06 kB / 1.143 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.6947, allocations: 5.875 kB / 1.143 GB, free: 14.27 MB / 0.7605 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.0001758/0.6949, allocations: 138.7 kB / 1.143 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.6949, allocations: 15.09 kB / 1.143 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.6962, allocations: 377.2 kB / 1.144 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6962, allocations: 3.312 kB / 1.144 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.6962, allocations: 0 / 1.144 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6962, allocations: 0 / 1.144 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.6965, allocations: 281.3 kB / 1.144 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6965, allocations: 0 / 1.144 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.6967, allocations: 19.25 kB / 1.144 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008675/0.6975, allocations: 163 kB / 1.144 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.6976, allocations: 7.938 kB / 1.144 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003178/0.7008, allocations: 3.078 MB / 1.147 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7008, allocations: 0 / 1.147 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.7024, allocations: 1.081 MB / 1.148 GB, free: 9.988 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.795e-05/0.7025, allocations: 106.1 kB / 1.148 GB, free: 9.879 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.7025, allocations: 7.031 kB / 1.148 GB, free: 9.875 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.7028, allocations: 14.39 kB / 1.148 GB, free: 9.871 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.7029, allocations: 20.44 kB / 1.148 GB, free: 9.867 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.7029, allocations: 3.312 kB / 1.148 GB, free: 9.867 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001575/0.7031, allocations: 151.8 kB / 1.149 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7031, allocations: 1.312 kB / 1.149 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004813/0.7036, allocations: 75.92 kB / 1.149 GB, free: 9.754 MB / 0.7605 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.0001911/0.7038, allocations: 116.3 kB / 1.149 GB, free: 9.656 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009901/0.7048, allocations: 447.9 kB / 1.149 GB, free: 9.371 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7048, allocations: 0 / 1.149 GB, free: 9.371 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006291/0.7054, allocations: 354.7 kB / 1.149 GB, free: 9.105 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.7058, allocations: 56.94 kB / 1.15 GB, free: 9.086 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009539/0.7068, allocations: 0.6115 MB / 1.15 GB, free: 8.656 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.7071, allocations: 0.7379 MB / 1.151 GB, free: 7.953 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002052/0.7073, allocations: 41.62 kB / 1.151 GB, free: 7.938 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.7074, allocations: 20.17 kB / 1.151 GB, free: 7.93 MB / 0.7605 GB Notification: Performance of SimCode: time 2e-07/0.7074, allocations: 3.031 kB / 1.151 GB, free: 7.93 MB / 0.7605 GB Notification: Performance of Templates: time 0.007988/0.7154, allocations: 5.137 MB / 1.156 GB, free: 7.629 MB / 0.7605 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)