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.0008256/0.0008257, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008315/0.0008315, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00168/0.00168, allocations: 270.9 kB / 291.4 MB, free: 1.832 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9118/0.9118, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004592, allocations: 17.91 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1526, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002034/0.1547, allocations: 1.573 MB / 0.686 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5143/0.6691, allocations: 141.2 MB / 0.824 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.6692, allocations: 1.406 kB / 0.824 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.6694, allocations: 17.02 kB / 0.824 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002655/0.6697, allocations: 59.77 kB / 0.824 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.6704, allocations: 222.9 kB / 0.8242 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.6706, allocations: 235.6 kB / 0.8245 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.6707, allocations: 56.36 kB / 0.8245 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004134/0.6712, allocations: 188.3 kB / 0.8247 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.6713, allocations: 71.22 kB / 0.8248 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.6713, allocations: 10.7 kB / 0.8248 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.6717, allocations: 173.9 kB / 0.8249 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.6717, allocations: 34.75 kB / 0.825 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.6718, allocations: 54.39 kB / 0.825 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.672, allocations: 194.4 kB / 0.8252 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.672, allocations: 1.094 kB / 0.8252 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.672, allocations: 0 / 0.8252 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.672, allocations: 0 / 0.8252 GB, free: 15.15 MB / 0.5606 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.0008102/0.6729, allocations: 0.4973 MB / 0.8257 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.6729, allocations: 8.969 kB / 0.8257 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007604/0.6737, allocations: 85.72 kB / 0.8258 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.6739, allocations: 219.8 kB / 0.826 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.349e-05/0.674, allocations: 43.8 kB / 0.826 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.674, allocations: 13.06 kB / 0.8261 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004679/0.6745, allocations: 269.2 kB / 0.8263 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.6745, allocations: 8.859 kB / 0.8263 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.6746, allocations: 13.03 kB / 0.8263 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.6746, allocations: 4.375 kB / 0.8263 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003996/0.675, allocations: 174.5 kB / 0.8265 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.6765, allocations: 1.202 MB / 0.8277 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006635/0.6772, allocations: 211.3 kB / 0.8279 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.6773, allocations: 77 kB / 0.828 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.6774, allocations: 3.875 kB / 0.828 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.6774, allocations: 31.94 kB / 0.828 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.522e-06/0.6774, allocations: 0 / 0.828 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002243/0.6796, allocations: 0.6459 MB / 0.8286 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.6797, allocations: 52.78 kB / 0.8287 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.6799, allocations: 217 kB / 0.8289 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.68, allocations: 30.8 kB / 0.8289 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.796e-05/0.6801, allocations: 142.9 kB / 0.829 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.6801, allocations: 39.58 kB / 0.8291 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.6801, allocations: 3.062 kB / 0.8291 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6803, allocations: 323.5 kB / 0.8294 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.6805, allocations: 84.66 kB / 0.8295 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.6808, allocations: 132 kB / 0.8296 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.681, allocations: 93.5 kB / 0.8297 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.6811, allocations: 4 kB / 0.8297 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001425/0.6825, allocations: 383.3 kB / 0.8301 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.6825, allocations: 5.938 kB / 0.8301 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.6826, allocations: 2.25 kB / 0.8301 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009772/0.6835, allocations: 165.4 kB / 0.8302 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.6838, allocations: 47.58 kB / 0.8303 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003581/0.6874, allocations: 3.025 MB / 0.8332 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.6877, allocations: 42.41 kB / 0.8333 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.6877, allocations: 5.031 kB / 0.8333 GB, free: 8.988 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.6879, allocations: 133.6 kB / 0.8334 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.6879, allocations: 20.59 kB / 0.8334 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.689, allocations: 382 kB / 0.8338 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.6891, allocations: 3.188 kB / 0.8338 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.6891, allocations: 0 / 0.8338 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.6891, allocations: 3.953 kB / 0.8338 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.6894, allocations: 279 kB / 0.834 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6894, allocations: 1.812 kB / 0.834 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.6895, allocations: 30.58 kB / 0.8341 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007703/0.6903, allocations: 159.8 kB / 0.8342 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.6903, allocations: 8.562 kB / 0.8342 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002956/0.6933, allocations: 3.078 MB / 0.8372 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.6933, allocations: 3.344 kB / 0.8372 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.6943, allocations: 443.2 kB / 0.8377 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.6945, allocations: 118.8 kB / 0.8378 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.6945, allocations: 6.578 kB / 0.8378 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.6947, allocations: 16.95 kB / 0.8378 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.6948, allocations: 21.67 kB / 0.8378 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.6948, allocations: 10.98 kB / 0.8378 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001471/0.695, allocations: 155 kB / 0.838 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.695, allocations: 0 / 0.838 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003871/0.6954, allocations: 77.62 kB / 0.8381 GB, free: 5.129 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001791/0.6956, allocations: 110 kB / 0.8382 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008503/0.6964, allocations: 466.3 kB / 0.8386 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6964, allocations: 0 / 0.8386 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005364/0.697, allocations: 368.3 kB / 0.839 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.6974, allocations: 47.23 kB / 0.839 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008074/0.6982, allocations: 0.4936 MB / 0.8395 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.6985, allocations: 0.7362 MB / 0.8402 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.6987, allocations: 39.48 kB / 0.8402 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.6987, allocations: 20.73 kB / 0.8403 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.6987, allocations: 0 / 0.8403 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of Templates: time 0.00812/0.7068, allocations: 4.804 MB / 0.845 GB, free: 0.9648 MB / 0.5606 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)