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.005637/0.005637, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001078/0.001078, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 274.9 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9392/0.9392, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 91.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1759, allocations: 86.97 MB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002845/0.1788, allocations: 1.912 MB / 0.7682 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6004/0.7792, allocations: 155.4 MB / 0.92 GB, free: 5.508 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.7794, allocations: 4 kB / 0.92 GB, free: 5.504 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.7797, allocations: 27.72 kB / 0.9201 GB, free: 5.477 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.78, allocations: 71.42 kB / 0.9201 GB, free: 5.406 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007243/0.7807, allocations: 260.4 kB / 0.9204 GB, free: 5.152 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.7811, allocations: 267.2 kB / 0.9206 GB, free: 4.891 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.7813, allocations: 78.34 kB / 0.9207 GB, free: 4.812 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.7825, allocations: 247.3 kB / 0.9209 GB, free: 4.605 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.7826, allocations: 91.61 kB / 0.921 GB, free: 4.516 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.7827, allocations: 16 kB / 0.921 GB, free: 4.5 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003629/0.783, allocations: 183.8 kB / 0.9212 GB, free: 4.32 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 6.422e-05/0.7831, allocations: 43.83 kB / 0.9213 GB, free: 4.277 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 9.802e-05/0.7832, allocations: 87.53 kB / 0.9213 GB, free: 4.191 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.7836, allocations: 297 kB / 0.9216 GB, free: 3.906 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7836, allocations: 0 / 0.9216 GB, free: 3.906 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7837, allocations: 0 / 0.9216 GB, free: 3.906 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.7837, allocations: 0 / 0.9216 GB, free: 3.906 MB / 0.67 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.0008992/0.7846, allocations: 0.5297 MB / 0.9221 GB, free: 3.328 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.7846, allocations: 8.031 kB / 0.9221 GB, free: 3.32 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008036/0.7854, allocations: 87.77 kB / 0.9222 GB, free: 3.234 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.7857, allocations: 229.2 kB / 0.9225 GB, free: 2.973 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.252e-05/0.7858, allocations: 41.97 kB / 0.9225 GB, free: 2.926 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.7858, allocations: 19.94 kB / 0.9225 GB, free: 2.906 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005442/0.7864, allocations: 259.8 kB / 0.9228 GB, free: 2.625 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.7864, allocations: 3.938 kB / 0.9228 GB, free: 2.621 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.7864, allocations: 15.94 kB / 0.9228 GB, free: 2.605 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.7865, allocations: 4 kB / 0.9228 GB, free: 2.602 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.7869, allocations: 164.6 kB / 0.9229 GB, free: 2.441 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.7884, allocations: 1.189 MB / 0.9241 GB, free: 1.176 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007028/0.7892, allocations: 206.6 kB / 0.9243 GB, free: 0.9648 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.7893, allocations: 68.81 kB / 0.9244 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.7894, allocations: 8 kB / 0.9244 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.7894, allocations: 34.56 kB / 0.9244 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.7894, allocations: 3.938 kB / 0.9244 GB, free: 0.8398 MB / 0.67 GB Notification: Performance of matching and sorting (n=12): time 0.002522/0.7919, allocations: 0.6283 MB / 0.925 GB, free: 168 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.792, allocations: 51.41 kB / 0.9251 GB, free: 104 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.7922, allocations: 211.2 kB / 0.9253 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.7923, allocations: 29.7 kB / 0.9253 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 8.005e-05/0.7923, allocations: 140.2 kB / 0.9254 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.7924, allocations: 43.58 kB / 0.9255 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.05e-05/0.7925, allocations: 53.62 kB / 0.9255 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.7926, allocations: 330.8 kB / 0.9258 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.7928, allocations: 67.95 kB / 0.9259 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.7931, allocations: 131.7 kB / 0.926 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.7935, allocations: 201.4 kB / 0.9262 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.7935, allocations: 4 kB / 0.9262 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00136/0.7948, allocations: 371 kB / 0.9266 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.7949, allocations: 8 kB / 0.9266 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.7949, allocations: 4 kB / 0.9266 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.7959, allocations: 161.5 kB / 0.9267 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.7961, allocations: 43.89 kB / 0.9268 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003674/0.7998, allocations: 3.244 MB / 0.93 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.8002, allocations: 39.89 kB / 0.93 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.8002, allocations: 7.984 kB / 0.93 GB, free: 10.66 MB / 0.6856 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.0001372/0.8003, allocations: 133.7 kB / 0.9301 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.8004, allocations: 23.86 kB / 0.9302 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.8017, allocations: 376.4 kB / 0.9305 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.8017, allocations: 7.984 kB / 0.9305 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.8017, allocations: 0 / 0.9305 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.8017, allocations: 4 kB / 0.9305 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.802, allocations: 273.4 kB / 0.9308 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.802, allocations: 4 kB / 0.9308 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.8021, allocations: 23.98 kB / 0.9308 GB, free: 9.762 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008277/0.803, allocations: 137.5 kB / 0.9309 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.803, allocations: 8 kB / 0.9309 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003417/0.8064, allocations: 3.299 MB / 0.9342 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.8064, allocations: 0 / 0.9342 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.8077, allocations: 435.7 kB / 0.9346 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.8078, allocations: 116.9 kB / 0.9347 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.8079, allocations: 3.938 kB / 0.9347 GB, free: 5.449 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.8081, allocations: 15.98 kB / 0.9347 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.8082, allocations: 23.91 kB / 0.9347 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.8083, allocations: 4 kB / 0.9347 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001773/0.8085, allocations: 171.1 kB / 0.9349 GB, free: 5.238 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8085, allocations: 4 kB / 0.9349 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004236/0.8089, allocations: 67.94 kB / 0.935 GB, free: 5.168 MB / 0.6856 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.0001869/0.8091, allocations: 115.2 kB / 0.9351 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.8101, allocations: 453.6 kB / 0.9355 GB, free: 4.574 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8101, allocations: 0 / 0.9355 GB, free: 4.574 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006516/0.8108, allocations: 353.3 kB / 0.9359 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.8112, allocations: 60.89 kB / 0.9359 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009416/0.8122, allocations: 423.8 kB / 0.9363 GB, free: 3.703 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.8125, allocations: 0.7285 MB / 0.937 GB, free: 2.949 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001684/0.8126, allocations: 45.91 kB / 0.9371 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.8127, allocations: 23.42 kB / 0.9371 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of SimCode: time 4.41e-07/0.8127, allocations: 0 / 0.9371 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of Templates: time 0.008943/0.8217, allocations: 5.355 MB / 0.9423 GB, free: 13.58 MB / 0.7012 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)