Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001368/0.001368, allocations: 110.7 kB / 16.41 MB, free: 6.008 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.001328/0.001328, allocations: 185.1 kB / 17.34 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002148/0.002148, allocations: 283.3 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9095/0.9095, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 103.8 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.4649, allocations: 86.97 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00319/0.4682, allocations: 1.906 MB / 0.7689 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1649/0.633, allocations: 155.4 MB / 0.9207 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.6333, allocations: 0 / 0.9207 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.6335, allocations: 23.67 kB / 0.9207 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.6339, allocations: 79.42 kB / 0.9208 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008172/0.6347, allocations: 265.2 kB / 0.921 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0003676/0.6351, allocations: 267.1 kB / 0.9213 GB, free: 5.312 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.6353, allocations: 62.41 kB / 0.9214 GB, free: 5.25 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.6367, allocations: 252.3 kB / 0.9216 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.6369, allocations: 99.59 kB / 0.9217 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.637, allocations: 19.94 kB / 0.9217 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.6374, allocations: 187.7 kB / 0.9219 GB, free: 4.727 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 6.466e-05/0.6375, allocations: 35.91 kB / 0.9219 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.6376, allocations: 95.5 kB / 0.922 GB, free: 4.598 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0005101/0.6381, allocations: 289.6 kB / 0.9223 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6381, allocations: 0 / 0.9223 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6381, allocations: 0 / 0.9223 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.6381, allocations: 0 / 0.9223 GB, free: 4.316 MB / 0.6856 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.0009943/0.6391, allocations: 0.5262 MB / 0.9228 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.6392, allocations: 8.031 kB / 0.9228 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000906/0.6401, allocations: 83.64 kB / 0.9229 GB, free: 3.652 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.6404, allocations: 236.1 kB / 0.9231 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.532e-05/0.6405, allocations: 42.02 kB / 0.9232 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.6405, allocations: 20 kB / 0.9232 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000607/0.6411, allocations: 250.6 kB / 0.9234 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.6412, allocations: 8 kB / 0.9234 GB, free: 3.035 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.6412, allocations: 11.98 kB / 0.9234 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.6412, allocations: 4 kB / 0.9234 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004647/0.6417, allocations: 171.7 kB / 0.9236 GB, free: 2.852 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.6435, allocations: 1.169 MB / 0.9247 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007239/0.6442, allocations: 210.6 kB / 0.9249 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.6444, allocations: 68.81 kB / 0.925 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.6444, allocations: 4 kB / 0.925 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.6445, allocations: 38.5 kB / 0.925 GB, free: 1.27 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.6445, allocations: 0 / 0.925 GB, free: 1.27 MB / 0.6856 GB Notification: Performance of matching and sorting (n=12): time 0.002611/0.6471, allocations: 0.63 MB / 0.9257 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.6471, allocations: 51.41 kB / 0.9257 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.6474, allocations: 219.6 kB / 0.9259 GB, free: 312 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.6474, allocations: 29.64 kB / 0.9259 GB, free: 276 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.6475, allocations: 140 kB / 0.9261 GB, free: 132 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.6476, allocations: 35.45 kB / 0.9261 GB, free: 96 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/0.6477, allocations: 53.59 kB / 0.9262 GB, free: 36 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6478, allocations: 330.8 kB / 0.9265 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.648, allocations: 67.94 kB / 0.9265 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.6483, allocations: 133.5 kB / 0.9267 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.6487, allocations: 198 kB / 0.9269 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.6487, allocations: 4 kB / 0.9269 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001432/0.6502, allocations: 378.6 kB / 0.9272 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.6502, allocations: 4 kB / 0.9272 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6502, allocations: 4 kB / 0.9272 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.6513, allocations: 161.8 kB / 0.9274 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.6516, allocations: 35.95 kB / 0.9274 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003899/0.6555, allocations: 3.25 MB / 0.9306 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.6558, allocations: 43.66 kB / 0.9306 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.6559, allocations: 4 kB / 0.9306 GB, free: 11.08 MB / 0.7012 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.0001473/0.656, allocations: 144.2 kB / 0.9308 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.6561, allocations: 19.8 kB / 0.9308 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.6574, allocations: 371.1 kB / 0.9312 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.6574, allocations: 0 / 0.9312 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.6574, allocations: 0 / 0.9312 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.6574, allocations: 0 / 0.9312 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.6577, allocations: 281.3 kB / 0.9314 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.6577, allocations: 0 / 0.9314 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.6579, allocations: 27.92 kB / 0.9314 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000793/0.6587, allocations: 137.6 kB / 0.9316 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.6587, allocations: 11.94 kB / 0.9316 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003671/0.6624, allocations: 3.289 MB / 0.9348 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.6624, allocations: 7.969 kB / 0.9348 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.6636, allocations: 428.7 kB / 0.9352 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.6638, allocations: 116.8 kB / 0.9353 GB, free: 5.879 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.6638, allocations: 4 kB / 0.9353 GB, free: 5.875 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.6641, allocations: 15.97 kB / 0.9353 GB, free: 5.859 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.6642, allocations: 19.98 kB / 0.9354 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.6642, allocations: 4.125 kB / 0.9354 GB, free: 5.836 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001959/0.6644, allocations: 167.8 kB / 0.9355 GB, free: 5.672 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6644, allocations: 0 / 0.9355 GB, free: 5.672 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000436/0.6648, allocations: 79.89 kB / 0.9356 GB, free: 5.594 MB / 0.7012 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.0001881/0.665, allocations: 111.2 kB / 0.9357 GB, free: 5.473 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.6661, allocations: 445.5 kB / 0.9361 GB, free: 5.012 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6661, allocations: 0 / 0.9361 GB, free: 5.012 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006898/0.6668, allocations: 364.2 kB / 0.9365 GB, free: 4.633 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.6673, allocations: 60.06 kB / 0.9365 GB, free: 4.574 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009733/0.6683, allocations: 455.7 kB / 0.937 GB, free: 4.094 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.6686, allocations: 0.7363 MB / 0.9377 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.718e-05/0.6687, allocations: 23.42 kB / 0.9377 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of SimCode: time 2.1e-07/0.6687, allocations: 0 / 0.9377 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of Templates: time 0.00668/0.6754, allocations: 4.42 MB / 0.942 GB, free: 14.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)