Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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 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.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.9074/0.9074, allocations: 143.3 MB / 158.3 MB, free: 5.785 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.001184/0.001184, allocations: 175.5 kB / 191.5 MB, free: 5.77 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.568/1.568, allocations: 223.2 MB / 447.7 MB, free: 4.797 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.0009213/0.0009213, allocations: 84.33 kB / 0.5187 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001859/0.001859, allocations: 276.2 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005282/0.0005282, allocations: 19.98 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1821, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5755/0.7576, allocations: 109.6 MB / 0.8809 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.7579, allocations: 84.09 kB / 0.8809 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.005362/0.7633, allocations: 1.808 MB / 0.8827 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7633, allocations: 3.938 kB / 0.8827 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.7633, allocations: 0 / 0.8827 GB, free: 107.9 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002811/0.7636, allocations: 344.1 kB / 0.883 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.7637, allocations: 11.73 kB / 0.883 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.956e-05/0.7637, allocations: 33.62 kB / 0.8831 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003629/0.7641, allocations: 32.14 kB / 0.8831 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.306e-05/0.7642, allocations: 163.7 kB / 0.8833 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.7642, allocations: 2.969 kB / 0.8833 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.7642, allocations: 0 / 0.8833 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.7644, allocations: 47.44 kB / 0.8833 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.7644, allocations: 0 / 0.8833 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.7644, allocations: 4.781 kB / 0.8833 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.7644, allocations: 4 kB / 0.8833 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.7646, allocations: 26.3 kB / 0.8833 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.7647, allocations: 163.4 kB / 0.8835 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.7648, allocations: 41.64 kB / 0.8835 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.7649, allocations: 4.547 kB / 0.8835 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.7649, allocations: 33.84 kB / 0.8836 GB, free: 107 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.7649, allocations: 0 / 0.8836 GB, free: 107 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002788/0.7652, allocations: 70.25 kB / 0.8836 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.7652, allocations: 58.06 kB / 0.8837 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.373e-05/0.7653, allocations: 92.66 kB / 0.8838 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.7653, allocations: 25.7 kB / 0.8838 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.634e-05/0.7653, allocations: 80.14 kB / 0.8839 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.7654, allocations: 10.56 kB / 0.8839 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.7654, allocations: 0 / 0.8839 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.009e-05/0.7654, allocations: 316 kB / 0.8842 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.797e-05/0.7655, allocations: 12.59 kB / 0.8842 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.977e-05/0.7656, allocations: 13.75 kB / 0.8842 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.984e-05/0.7656, allocations: 11.09 kB / 0.8842 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.7656, allocations: 0 / 0.8842 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000156/0.7658, allocations: 66.03 kB / 0.8843 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.7658, allocations: 6.719 kB / 0.8843 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7658, allocations: 3.938 kB / 0.8843 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.7659, allocations: 5.547 kB / 0.8843 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.766, allocations: 8.984 kB / 0.8843 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.766, allocations: 0 / 0.8843 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.032e-05/0.766, allocations: 6.906 kB / 0.8843 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.7661, allocations: 0 / 0.8843 GB, free: 106.3 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 5.364e-05/0.7661, allocations: 115.2 kB / 0.8844 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.7661, allocations: 3.953 kB / 0.8844 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.7662, allocations: 10.75 kB / 0.8844 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.7662, allocations: 2.906 kB / 0.8845 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7662, allocations: 0 / 0.8845 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7662, allocations: 3.938 kB / 0.8845 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.093e-05/0.7663, allocations: 153.9 kB / 0.8846 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7663, allocations: 1.062 kB / 0.8846 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.471e-05/0.7664, allocations: 8.781 kB / 0.8846 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.7664, allocations: 3.953 kB / 0.8846 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.7664, allocations: 2.344 kB / 0.8846 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.7664, allocations: 0 / 0.8846 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.7664, allocations: 4 kB / 0.8846 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.7666, allocations: 85.36 kB / 0.8847 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.839e-05/0.7667, allocations: 86.59 kB / 0.8848 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.7667, allocations: 6.078 kB / 0.8848 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.555e-05/0.7668, allocations: 11.72 kB / 0.8848 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.7668, allocations: 0 / 0.8848 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.7668, allocations: 0 / 0.8848 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.022e-05/0.7668, allocations: 81.22 kB / 0.8849 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7668, allocations: 0 / 0.8849 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000199/0.767, allocations: 20.94 kB / 0.8849 GB, free: 105.7 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 (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.0003947/0.7674, allocations: 0.6336 MB / 0.8855 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.7676, allocations: 33.56 kB / 0.8856 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7676, allocations: 0 / 0.8856 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.696e-05/0.7677, allocations: 18.03 kB / 0.8856 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.7678, allocations: 7.734 kB / 0.8856 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.7683, allocations: 164.8 kB / 0.8857 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.7684, allocations: 0.6755 MB / 0.8864 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.824e-05/0.7685, allocations: 15.28 kB / 0.8864 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.7686, allocations: 13.64 kB / 0.8864 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of SimCode: time 3.487e-06/0.7686, allocations: 0 / 0.8864 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.7822, allocations: 1.365 MB / 0.8878 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/0.7825, allocations: 219.1 kB / 0.888 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/2.316, allocations: 0 / 0.888 GB, free: 103.9 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)