Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8406/0.8406, allocations: 143.3 MB / 158.3 MB, free: 5.75 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.001397/0.001397, allocations: 181 kB / 191.5 MB, free: 5.742 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.634/1.634, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.001147/0.001147, allocations: 92.31 kB / 0.5187 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001984/0.001984, allocations: 271.8 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004321/0.0004322, allocations: 13.66 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1596, allocations: 82.79 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.3104, allocations: 109.1 MB / 0.8803 GB, free: 0.5156 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.3107, allocations: 79.89 kB / 0.8804 GB, free: 448 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.374/0.6847, allocations: 0.9893 MB / 0.8814 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6847, allocations: 0 / 0.8814 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.6848, allocations: 1.219 kB / 0.8814 GB, free: 109.2 MB / 0.5417 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.0003201/0.6851, allocations: 342.3 kB / 0.8817 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.6851, allocations: 9.531 kB / 0.8817 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.03e-05/0.6852, allocations: 38.56 kB / 0.8817 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.6853, allocations: 10.42 kB / 0.8817 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.172e-05/0.6854, allocations: 166.5 kB / 0.8819 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.6854, allocations: 4.766 kB / 0.8819 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.6854, allocations: 0.9375 kB / 0.8819 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.6856, allocations: 57.97 kB / 0.882 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.6856, allocations: 0 / 0.882 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.6856, allocations: 0.9062 kB / 0.882 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.6856, allocations: 0 / 0.882 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.6858, allocations: 46.22 kB / 0.882 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.6861, allocations: 250.7 kB / 0.8822 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.6862, allocations: 46.52 kB / 0.8823 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.6862, allocations: 1.219 kB / 0.8823 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.6863, allocations: 33.66 kB / 0.8823 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.6863, allocations: 2.516 kB / 0.8823 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0003499/0.6866, allocations: 99.02 kB / 0.8824 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.6866, allocations: 54.25 kB / 0.8825 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.697e-05/0.6867, allocations: 87.97 kB / 0.8826 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.6867, allocations: 32.55 kB / 0.8826 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.54e-05/0.6867, allocations: 85.36 kB / 0.8827 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.6868, allocations: 7.906 kB / 0.8827 GB, free: 108 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.6868, allocations: 0 / 0.8827 GB, free: 108 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.6868, allocations: 313.7 kB / 0.883 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.991e-05/0.6869, allocations: 20.69 kB / 0.883 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.805e-05/0.687, allocations: 24.36 kB / 0.883 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.577e-05/0.6871, allocations: 30.11 kB / 0.883 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.6871, allocations: 0 / 0.883 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001722/0.6872, allocations: 77.69 kB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.6873, allocations: 7.812 kB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.6873, allocations: 0 / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.6873, allocations: 0 / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.68e-05/0.6874, allocations: 14.86 kB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.6874, allocations: 0 / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/0.6874, allocations: 13.02 kB / 0.8832 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.6875, allocations: 10.53 kB / 0.8832 GB, free: 107.6 MB / 0.5417 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 4.674e-05/0.6875, allocations: 109.8 kB / 0.8833 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.6875, allocations: 3.344 kB / 0.8833 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.6878, allocations: 96.64 kB / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.6878, allocations: 0 / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6878, allocations: 0 / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.6878, allocations: 1.031 kB / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.6879, allocations: 156.3 kB / 0.8835 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6879, allocations: 3.953 kB / 0.8835 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.038e-05/0.688, allocations: 13.52 kB / 0.8835 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.688, allocations: 0 / 0.8835 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.688, allocations: 5.281 kB / 0.8835 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.688, allocations: 4 kB / 0.8835 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.688, allocations: 0.6875 kB / 0.8835 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.6882, allocations: 170.3 kB / 0.8837 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.12e-05/0.6883, allocations: 97.45 kB / 0.8838 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.6883, allocations: 6.344 kB / 0.8838 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/0.6884, allocations: 5.312 kB / 0.8838 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.6884, allocations: 4.359 kB / 0.8838 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.6884, allocations: 7.688 kB / 0.8838 GB, free: 107 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.034e-05/0.6885, allocations: 78.09 kB / 0.8839 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.062e-06/0.6885, allocations: 0 / 0.8839 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001997/0.6887, allocations: 13.12 kB / 0.8839 GB, free: 106.9 MB / 0.5417 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 (3): * Single equations (assignments): 3 * 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.0003656/0.689, allocations: 0.7115 MB / 0.8846 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001893/0.6892, allocations: 50.31 kB / 0.8846 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6892, allocations: 2.75 kB / 0.8846 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.133e-05/0.6893, allocations: 25.84 kB / 0.8847 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.6895, allocations: 9.219 kB / 0.8847 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.6899, allocations: 159.3 kB / 0.8848 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.69, allocations: 0.6784 MB / 0.8855 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.166e-05/0.6901, allocations: 6.844 kB / 0.8855 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.6901, allocations: 7.438 kB / 0.8855 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of SimCode: time 4.21e-07/0.6901, allocations: 0 / 0.8855 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0105/0.7006, allocations: 1.111 MB / 0.8866 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.7008, allocations: 208.5 kB / 0.8868 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/2.246, allocations: 0 / 0.8868 GB, free: 105.1 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)