Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",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.001303/0.001303, allocations: 108 kB / 15.6 MB, free: 132 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.001462/0.001462, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.462/1.462, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9808/0.9808, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 58.94 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2039, allocations: 80.93 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002655/0.2066, allocations: 1.402 MB / 0.5858 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.2076, allocations: 0.5943 MB / 0.5864 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.2077, allocations: 0 / 0.5864 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.2077, allocations: 3.984 kB / 0.5864 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.879e-05/0.2078, allocations: 7.938 kB / 0.5864 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.2082, allocations: 91.58 kB / 0.5865 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.544e-05/0.2083, allocations: 27.92 kB / 0.5865 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.925e-05/0.2084, allocations: 4 kB / 0.5865 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.681e-05/0.2085, allocations: 19.91 kB / 0.5866 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.776e-05/0.2085, allocations: 11.98 kB / 0.5866 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.2085, allocations: 4 kB / 0.5866 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002942/0.2088, allocations: 135.8 kB / 0.5867 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.2089, allocations: 15.92 kB / 0.5867 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.2089, allocations: 7.984 kB / 0.5867 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.2091, allocations: 96.05 kB / 0.5868 GB, free: 2.031 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2091, allocations: 4 kB / 0.5868 GB, free: 2.027 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2091, allocations: 0 / 0.5868 GB, free: 2.027 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.2091, allocations: 0 / 0.5868 GB, free: 2.027 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.0004645/0.2096, allocations: 359.4 kB / 0.5872 GB, free: 1.625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.2097, allocations: 12.03 kB / 0.5872 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.2097, allocations: 34.75 kB / 0.5872 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004391/0.2101, allocations: 32.84 kB / 0.5872 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.2103, allocations: 168.3 kB / 0.5874 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.2103, allocations: 384 / 0.5874 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.2103, allocations: 4.375 kB / 0.5874 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.2106, allocations: 62.2 kB / 0.5875 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2106, allocations: 3.938 kB / 0.5875 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.2106, allocations: 4 kB / 0.5875 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2106, allocations: 0 / 0.5875 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.2109, allocations: 55.94 kB / 0.5875 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/0.2114, allocations: 276.8 kB / 0.5878 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.2116, allocations: 66.41 kB / 0.5879 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.2117, allocations: 32.89 kB / 0.5879 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.2118, allocations: 3.938 kB / 0.5879 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.2118, allocations: 34.56 kB / 0.5879 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.2118, allocations: 4 kB / 0.5879 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005194/0.2123, allocations: 109.6 kB / 0.588 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.2124, allocations: 55.34 kB / 0.5881 GB, free: 0.543 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.524e-05/0.2125, allocations: 101.8 kB / 0.5882 GB, free: 444 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.2125, allocations: 29.83 kB / 0.5882 GB, free: 408 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.2126, allocations: 80.14 kB / 0.5883 GB, free: 324 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.2126, allocations: 7.906 kB / 0.5883 GB, free: 316 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.2126, allocations: 17.7 kB / 0.5883 GB, free: 292 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2128, allocations: 314.8 kB / 0.5886 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.2129, allocations: 27.97 kB / 0.5886 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.2131, allocations: 31.97 kB / 0.5887 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.2133, allocations: 48.81 kB / 0.5887 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2133, allocations: 3.938 kB / 0.5887 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003231/0.2137, allocations: 101.6 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2137, allocations: 4 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2137, allocations: 0 / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2137, allocations: 0 / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.2138, allocations: 11.98 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.2139, allocations: 0 / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.754e-05/0.214, allocations: 16.2 kB / 0.5888 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.214, allocations: 3.938 kB / 0.5889 GB, free: 15.71 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.2141, allocations: 113.8 kB / 0.589 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.2142, allocations: 11.89 kB / 0.589 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.2142, allocations: 7.125 kB / 0.589 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2142, allocations: 0 / 0.589 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2142, allocations: 0 / 0.589 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2142, allocations: 4 kB / 0.589 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.2144, allocations: 165.6 kB / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2144, allocations: 0 / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.2145, allocations: 15.97 kB / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2145, allocations: 0 / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2146, allocations: 0 / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.2146, allocations: 0 / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2146, allocations: 0 / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.215, allocations: 195.4 kB / 0.5893 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.215, allocations: 77.11 kB / 0.5894 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.2151, allocations: 0 / 0.5894 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.2152, allocations: 11.98 kB / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.2153, allocations: 4 kB / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.2153, allocations: 4.031 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.358e-05/0.2154, allocations: 87.2 kB / 0.5895 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2154, allocations: 0 / 0.5895 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002512/0.2156, allocations: 16 kB / 0.5895 GB, free: 14.92 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 (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 Backend phase and start with SimCode phase: time 0.0007704/0.2164, allocations: 0.728 MB / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003213/0.2167, allocations: 59.94 kB / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2167, allocations: 4.094 kB / 0.5903 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.2169, allocations: 31.95 kB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.2172, allocations: 0 / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006244/0.2179, allocations: 180.1 kB / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.2181, allocations: 0.6767 MB / 0.5912 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.766e-05/0.2182, allocations: 11.98 kB / 0.5912 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.2182, allocations: 7.438 kB / 0.5912 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of SimCode: time 1.393e-06/0.2183, allocations: 0 / 0.5912 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.2396, allocations: 1.638 MB / 0.5928 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.273/7.512, allocations: 7.922 kB / 0.5928 GB, free: 11.59 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)