Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.728/0.728, allocations: 140.1 MB / 156 MB, free: 5.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 178.4 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007887/0.0007889, allocations: 78.39 kB / 0.4945 GB, free: 8.418 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001643/0.001643, allocations: 262.3 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006875/0.0006878, allocations: 20 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4396, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.5744, allocations: 108.6 MB / 0.8455 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.5747, allocations: 79.95 kB / 0.8455 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.006573/0.5813, allocations: 1.954 MB / 0.8474 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.685e-06/0.5814, allocations: 3.938 kB / 0.8475 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.5814, allocations: 0 / 0.8475 GB, free: 15.62 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004566/0.5819, allocations: 364 kB / 0.8478 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/0.5819, allocations: 8.031 kB / 0.8478 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003683/0.5823, allocations: 28.81 kB / 0.8478 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.5825, allocations: 164.4 kB / 0.848 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.5825, allocations: 4.375 kB / 0.848 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.5825, allocations: 384 / 0.848 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.5828, allocations: 74.2 kB / 0.8481 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.5828, allocations: 192 / 0.8481 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.5828, allocations: 3.938 kB / 0.8481 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5828, allocations: 0 / 0.8481 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.5831, allocations: 71.88 kB / 0.8481 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005412/0.5837, allocations: 268.9 kB / 0.8484 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.5839, allocations: 66.47 kB / 0.8485 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.584, allocations: 40.89 kB / 0.8485 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.5841, allocations: 0 / 0.8485 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.5841, allocations: 34.56 kB / 0.8485 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.5841, allocations: 0 / 0.8485 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0005123/0.5846, allocations: 133.5 kB / 0.8487 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.5847, allocations: 59.34 kB / 0.8487 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.939e-05/0.5848, allocations: 101.8 kB / 0.8488 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.5848, allocations: 25.7 kB / 0.8488 GB, free: 14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.5848, allocations: 80.14 kB / 0.8489 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.5849, allocations: 7.906 kB / 0.8489 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/0.5849, allocations: 8.031 kB / 0.8489 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.585, allocations: 310.8 kB / 0.8492 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.5852, allocations: 27.97 kB / 0.8493 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.5853, allocations: 35.97 kB / 0.8493 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.5855, allocations: 68.73 kB / 0.8494 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5855, allocations: 4.062 kB / 0.8494 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002929/0.5858, allocations: 101.6 kB / 0.8495 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.5859, allocations: 4 kB / 0.8495 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.5859, allocations: 4.031 kB / 0.8495 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.5859, allocations: 0 / 0.8495 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.5861, allocations: 19.97 kB / 0.8495 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.5861, allocations: 4 kB / 0.8495 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.067e-05/0.5862, allocations: 15.92 kB / 0.8495 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.5862, allocations: 0 / 0.8495 GB, free: 13.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.166e-05/0.5863, allocations: 117.8 kB / 0.8496 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.5863, allocations: 0 / 0.8496 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.499e-05/0.5864, allocations: 11.06 kB / 0.8496 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5864, allocations: 7.984 kB / 0.8496 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.5864, allocations: 0 / 0.8496 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5864, allocations: 192 / 0.8496 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.5866, allocations: 165.5 kB / 0.8498 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.5866, allocations: 0 / 0.8498 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.5867, allocations: 23.92 kB / 0.8498 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.5867, allocations: 3.984 kB / 0.8498 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.5868, allocations: 3.984 kB / 0.8498 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.5868, allocations: 4 kB / 0.8498 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5868, allocations: 0 / 0.8498 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.5871, allocations: 191.4 kB / 0.85 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.5872, allocations: 89 kB / 0.8501 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.5872, allocations: 0 / 0.8501 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.5873, allocations: 18.12 kB / 0.8501 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.5874, allocations: 3.984 kB / 0.8501 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.5874, allocations: 0 / 0.8501 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.162e-05/0.5874, allocations: 83.28 kB / 0.8502 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5874, allocations: 0 / 0.8502 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002476/0.5877, allocations: 15.98 kB / 0.8502 GB, free: 12.49 MB / 0.5261 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 (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002058/0.5879, allocations: 113.3 kB / 0.8503 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002958/0.5882, allocations: 75.86 kB / 0.8504 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5882, allocations: 0 / 0.8504 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.5884, allocations: 44.03 kB / 0.8504 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.5886, allocations: 3.938 kB / 0.8504 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.5891, allocations: 146.2 kB / 0.8506 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.5894, allocations: 0.6771 MB / 0.8512 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.892e-05/0.5895, allocations: 11.92 kB / 0.8512 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.5895, allocations: 11.44 kB / 0.8513 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of SimCode: time 1.462e-06/0.5895, allocations: 0 / 0.8513 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of Templates: time 0.003053/0.5926, allocations: 0.6981 MB / 0.8519 GB, free: 10.66 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)