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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8555/0.8555, allocations: 143.4 MB / 159.2 MB, free: 4.883 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 191.5 kB / 191.9 MB, free: 5.715 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 447.3 MB, free: 5.844 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 107.5 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001876/0.001876, allocations: 284.9 kB / 0.5973 GB, free: 49.35 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 76.11 kB / 0.6885 GB, free: 3.828 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3663, allocations: 81.29 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002731/0.3691, allocations: 1.944 MB / 0.7698 GB, free: 25.7 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5344/0.9035, allocations: 153.1 MB / 0.9193 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.9037, allocations: 2.5 kB / 0.9193 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.904, allocations: 25 kB / 0.9194 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.9043, allocations: 60.39 kB / 0.9194 GB, free: 0.4922 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008367/0.9051, allocations: 234.1 kB / 0.9197 GB, free: 488 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.9054, allocations: 243 kB / 0.9199 GB, free: 488 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.9056, allocations: 65.64 kB / 0.9199 GB, free: 484 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.9079, allocations: 221.4 kB / 0.9202 GB, free: 476 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.908, allocations: 86.25 kB / 0.9202 GB, free: 476 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.9081, allocations: 12.17 kB / 0.9203 GB, free: 476 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003984/0.9085, allocations: 179.4 kB / 0.9204 GB, free: 472 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.9085, allocations: 44.19 kB / 0.9205 GB, free: 468 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.9087, allocations: 80.14 kB / 0.9205 GB, free: 468 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.9091, allocations: 272.3 kB / 0.9208 GB, free: 444 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.9091, allocations: 2.75 kB / 0.9208 GB, free: 444 kB / 0.5573 GB Notification: Performance of FrontEnd: time 7.91e-07/0.9091, allocations: 0 / 0.9208 GB, free: 444 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.9091, allocations: 0 / 0.9208 GB, free: 444 kB / 0.5573 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.0009907/0.9101, allocations: 0.5065 MB / 0.9213 GB, free: 16.02 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.9101, allocations: 10.22 kB / 0.9213 GB, free: 16.02 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008227/0.911, allocations: 83.86 kB / 0.9214 GB, free: 16.01 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.9113, allocations: 225.5 kB / 0.9216 GB, free: 15.8 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.312e-05/0.9113, allocations: 37.59 kB / 0.9216 GB, free: 15.77 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.9114, allocations: 17.75 kB / 0.9217 GB, free: 15.77 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/0.9119, allocations: 261.1 kB / 0.9219 GB, free: 15.67 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.912, allocations: 1.531 kB / 0.9219 GB, free: 15.67 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.912, allocations: 9.266 kB / 0.9219 GB, free: 15.67 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.912, allocations: 4.531 kB / 0.9219 GB, free: 15.67 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.9125, allocations: 171.3 kB / 0.9221 GB, free: 15.66 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.9143, allocations: 1.182 MB / 0.9232 GB, free: 14.77 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007533/0.915, allocations: 206.1 kB / 0.9234 GB, free: 14.75 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.9152, allocations: 75.91 kB / 0.9235 GB, free: 14.74 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.9153, allocations: 2.531 kB / 0.9235 GB, free: 14.74 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.9153, allocations: 34.2 kB / 0.9235 GB, free: 14.7 MB / 0.573 GB Notification: Performance of pre-optimization done (n=12): time 1.843e-06/0.9153, allocations: 0 / 0.9235 GB, free: 14.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=12): time 0.00266/0.918, allocations: 0.6251 MB / 0.9242 GB, free: 14.44 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.918, allocations: 55.97 kB / 0.9242 GB, free: 14.38 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.9183, allocations: 201.1 kB / 0.9244 GB, free: 14.28 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.9183, allocations: 30.23 kB / 0.9244 GB, free: 14.25 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 9.404e-05/0.9184, allocations: 138.3 kB / 0.9246 GB, free: 14.14 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.9185, allocations: 40.38 kB / 0.9246 GB, free: 14.11 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.9186, allocations: 48.8 kB / 0.9246 GB, free: 14.09 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.9187, allocations: 329 kB / 0.925 GB, free: 13.78 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.919, allocations: 74.05 kB / 0.925 GB, free: 13.77 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.9192, allocations: 126.8 kB / 0.9251 GB, free: 13.7 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.9196, allocations: 208.2 kB / 0.9253 GB, free: 13.63 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.9196, allocations: 1.094 kB / 0.9253 GB, free: 13.63 MB / 0.573 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001337/0.921, allocations: 370.5 kB / 0.9257 GB, free: 13.57 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.921, allocations: 5.531 kB / 0.9257 GB, free: 13.57 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.921, allocations: 0 / 0.9257 GB, free: 13.57 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.922, allocations: 158.1 kB / 0.9259 GB, free: 13.55 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.9223, allocations: 43.09 kB / 0.9259 GB, free: 13.54 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003729/0.926, allocations: 3.036 MB / 0.9289 GB, free: 10.95 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.9264, allocations: 36.17 kB / 0.9289 GB, free: 10.94 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.9264, allocations: 14.02 kB / 0.9289 GB, free: 10.93 MB / 0.573 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.0001354/0.9265, allocations: 131.2 kB / 0.929 GB, free: 10.82 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.9266, allocations: 17.39 kB / 0.9291 GB, free: 10.81 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.9279, allocations: 366.2 kB / 0.9294 GB, free: 10.74 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.9279, allocations: 0 / 0.9294 GB, free: 10.74 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.9279, allocations: 0 / 0.9294 GB, free: 10.74 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.9279, allocations: 5.25 kB / 0.9294 GB, free: 10.74 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.9282, allocations: 277 kB / 0.9297 GB, free: 10.54 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.9282, allocations: 5.203 kB / 0.9297 GB, free: 10.53 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.9284, allocations: 22.58 kB / 0.9297 GB, free: 10.53 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009392/0.9293, allocations: 161.2 kB / 0.9298 GB, free: 10.51 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.9294, allocations: 6.531 kB / 0.9299 GB, free: 10.51 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00342/0.9328, allocations: 3.081 MB / 0.9329 GB, free: 7.898 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9328, allocations: 0 / 0.9329 GB, free: 7.898 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.9346, allocations: 1.073 MB / 0.9339 GB, free: 7.152 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.9348, allocations: 106 kB / 0.934 GB, free: 7.051 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.9348, allocations: 9.734 kB / 0.934 GB, free: 7.047 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.9351, allocations: 14.67 kB / 0.934 GB, free: 7.047 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.168e-05/0.9352, allocations: 17.05 kB / 0.9341 GB, free: 7.047 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.9352, allocations: 9.297 kB / 0.9341 GB, free: 7.047 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001593/0.9354, allocations: 154.3 kB / 0.9342 GB, free: 6.965 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9354, allocations: 0 / 0.9342 GB, free: 6.965 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005038/0.9359, allocations: 73.06 kB / 0.9343 GB, free: 6.957 MB / 0.573 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.0002005/0.9361, allocations: 118.6 kB / 0.9344 GB, free: 6.863 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.9371, allocations: 444.4 kB / 0.9348 GB, free: 6.633 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.9371, allocations: 1.344 kB / 0.9348 GB, free: 6.633 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006672/0.9378, allocations: 352.3 kB / 0.9352 GB, free: 6.402 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.9383, allocations: 67.19 kB / 0.9352 GB, free: 6.387 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.9396, allocations: 0.6056 MB / 0.9358 GB, free: 6.02 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.9401, allocations: 0.7413 MB / 0.9365 GB, free: 5.312 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002586/0.9403, allocations: 39.92 kB / 0.9366 GB, free: 5.297 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.892e-05/0.9404, allocations: 21.47 kB / 0.9366 GB, free: 5.289 MB / 0.573 GB Notification: Performance of SimCode: time 7.51e-07/0.9404, allocations: 0 / 0.9366 GB, free: 5.289 MB / 0.573 GB Notification: Performance of Templates: time 0.01063/0.9511, allocations: 5.134 MB / 0.9416 GB, free: 4.992 MB / 0.573 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)