Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9673/0.9673, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 62.5 kB / 0.5054 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2008, allocations: 80.92 MB / 0.5845 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002791/0.2037, allocations: 1.413 MB / 0.5858 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004652/0.2042, allocations: 197.1 kB / 0.586 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.2042, allocations: 4 kB / 0.586 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.2043, allocations: 0 / 0.586 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.363e-05/0.2043, allocations: 3.938 kB / 0.586 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.2045, allocations: 23.91 kB / 0.5861 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.086e-05/0.2046, allocations: 31.86 kB / 0.5861 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.645e-05/0.2047, allocations: 4 kB / 0.5861 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.505e-05/0.2048, allocations: 11.98 kB / 0.5861 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.175e-05/0.2048, allocations: 15.92 kB / 0.5861 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.2048, allocations: 0 / 0.5861 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.732e-05/0.2049, allocations: 27.98 kB / 0.5861 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.205, allocations: 0 / 0.5861 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.205, allocations: 11.94 kB / 0.5862 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.2051, allocations: 44.09 kB / 0.5862 GB, free: 2.699 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2051, allocations: 0 / 0.5862 GB, free: 2.699 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2051, allocations: 0 / 0.5862 GB, free: 2.699 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2051, allocations: 0 / 0.5862 GB, free: 2.699 MB / 494.1 MB 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.0004302/0.2056, allocations: 339.5 kB / 0.5865 GB, free: 2.316 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.2056, allocations: 12.03 kB / 0.5865 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.2057, allocations: 34.75 kB / 0.5866 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.2058, allocations: 0.9375 kB / 0.5866 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.2059, allocations: 168.3 kB / 0.5867 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.2059, allocations: 384 / 0.5867 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.2059, allocations: 384 / 0.5867 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.2061, allocations: 54.17 kB / 0.5868 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2061, allocations: 7.875 kB / 0.5868 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.2062, allocations: 3.984 kB / 0.5868 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2062, allocations: 0 / 0.5868 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.2063, allocations: 35.97 kB / 0.5868 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.2067, allocations: 248.9 kB / 0.5871 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.2068, allocations: 42.48 kB / 0.5871 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.651e-05/0.2069, allocations: 28.91 kB / 0.5871 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.2069, allocations: 0 / 0.5871 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.207, allocations: 34.5 kB / 0.5872 GB, free: 1.535 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 3.016e-06/0.207, allocations: 0 / 0.5872 GB, free: 1.535 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003373/0.2073, allocations: 85.58 kB / 0.5872 GB, free: 1.445 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.2074, allocations: 51.41 kB / 0.5873 GB, free: 1.383 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.227e-05/0.2074, allocations: 102 kB / 0.5874 GB, free: 1.273 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.2075, allocations: 29.7 kB / 0.5874 GB, free: 1.238 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.2075, allocations: 84.14 kB / 0.5875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.2075, allocations: 3.906 kB / 0.5875 GB, free: 1.148 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.2076, allocations: 13.72 kB / 0.5875 GB, free: 1.129 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.2077, allocations: 318.8 kB / 0.5878 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.2078, allocations: 11.98 kB / 0.5878 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.172e-05/0.2078, allocations: 27.92 kB / 0.5879 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.208, allocations: 36.81 kB / 0.5879 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.208, allocations: 3.938 kB / 0.5879 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001788/0.2082, allocations: 61.67 kB / 0.588 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2082, allocations: 4.094 kB / 0.588 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2082, allocations: 11.98 kB / 0.588 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2082, allocations: 4 kB / 0.588 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.903e-05/0.2083, allocations: 4 kB / 0.588 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.2083, allocations: 0 / 0.588 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.2084, allocations: 7.984 kB / 0.588 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.2084, allocations: 0 / 0.588 GB, free: 0.6289 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.29e-05/0.2085, allocations: 121.7 kB / 0.5881 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.2085, allocations: 3.906 kB / 0.5881 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.2087, allocations: 80.77 kB / 0.5882 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2087, allocations: 0 / 0.5882 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2087, allocations: 0 / 0.5882 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2088, allocations: 0 / 0.5882 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.2089, allocations: 169.6 kB / 0.5883 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2089, allocations: 0 / 0.5883 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.204e-05/0.209, allocations: 8 kB / 0.5884 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.209, allocations: 4 kB / 0.5884 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.209, allocations: 0 / 0.5884 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.209, allocations: 7.922 kB / 0.5884 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.209, allocations: 0 / 0.5884 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.2093, allocations: 171.5 kB / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.2093, allocations: 77.11 kB / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.2093, allocations: 0 / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.2094, allocations: 15.92 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.2094, allocations: 3.938 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.2095, allocations: 4 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.471e-05/0.2095, allocations: 75.28 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2095, allocations: 0 / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002057/0.2097, allocations: 8 kB / 0.5887 GB, free: 15.79 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004825/0.2102, allocations: 0.7088 MB / 0.5894 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.2104, allocations: 47.98 kB / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2104, allocations: 0 / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.2105, allocations: 19.98 kB / 0.5895 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.2108, allocations: 8.062 kB / 0.5895 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/0.2112, allocations: 152.1 kB / 0.5896 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.2115, allocations: 0.6807 MB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.914e-05/0.2115, allocations: 0 / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.2115, allocations: 15.44 kB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.2115, allocations: 0 / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.2296, allocations: 1.322 MB / 0.5916 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/7.818, allocations: 12.61 kB / 0.5916 GB, free: 12.85 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)