Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_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.001116/0.001116, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 194.4 kB / 16.14 MB, free: 6.66 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.494/1.494, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8508/0.8508, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 60.27 kB / 0.5012 GB, free: 9.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2045, allocations: 80.2 MB / 0.5795 GB, free: 9.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002782/0.2073, allocations: 1.476 MB / 0.5809 GB, free: 7.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005254/0.2079, allocations: 203.4 kB / 0.5811 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.2079, allocations: 0 / 0.5811 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.229e-05/0.208, allocations: 0 / 0.5811 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.91e-05/0.208, allocations: 7.938 kB / 0.5811 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.2082, allocations: 23.91 kB / 0.5812 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.025e-05/0.2083, allocations: 23.92 kB / 0.5812 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.695e-05/0.2084, allocations: 8 kB / 0.5812 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.391e-05/0.2084, allocations: 4 kB / 0.5812 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.8e-05/0.2085, allocations: 15.92 kB / 0.5812 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.2085, allocations: 0 / 0.5812 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.592e-05/0.2086, allocations: 23.98 kB / 0.5812 GB, free: 7.387 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.2086, allocations: 3.984 kB / 0.5812 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.2086, allocations: 11.94 kB / 0.5812 GB, free: 7.371 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.2088, allocations: 36.11 kB / 0.5813 GB, free: 7.336 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2088, allocations: 4 kB / 0.5813 GB, free: 7.332 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.2088, allocations: 0 / 0.5813 GB, free: 7.332 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.2088, allocations: 0 / 0.5813 GB, free: 7.332 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.000451/0.2092, allocations: 339.5 kB / 0.5816 GB, free: 6.949 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.2093, allocations: 8.031 kB / 0.5816 GB, free: 6.941 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.2093, allocations: 34.73 kB / 0.5816 GB, free: 6.898 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.2095, allocations: 8.922 kB / 0.5817 GB, free: 6.891 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.2096, allocations: 172.2 kB / 0.5818 GB, free: 6.684 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.2096, allocations: 4.375 kB / 0.5818 GB, free: 6.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.2096, allocations: 4.375 kB / 0.5818 GB, free: 6.676 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.2098, allocations: 54.17 kB / 0.5819 GB, free: 6.617 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2098, allocations: 3.938 kB / 0.5819 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.2098, allocations: 0 / 0.5819 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2098, allocations: 0 / 0.5819 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.21, allocations: 39.89 kB / 0.5819 GB, free: 6.574 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.2103, allocations: 245 kB / 0.5822 GB, free: 6.285 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.2105, allocations: 42.44 kB / 0.5822 GB, free: 6.234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.83e-05/0.2106, allocations: 24.89 kB / 0.5822 GB, free: 6.207 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.2106, allocations: 0 / 0.5822 GB, free: 6.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.2106, allocations: 34.56 kB / 0.5823 GB, free: 6.164 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.2107, allocations: 4 kB / 0.5823 GB, free: 6.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003508/0.211, allocations: 77.64 kB / 0.5823 GB, free: 6.078 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.2111, allocations: 51.41 kB / 0.5824 GB, free: 6.016 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.555e-05/0.2111, allocations: 101.8 kB / 0.5825 GB, free: 5.906 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.2112, allocations: 25.7 kB / 0.5825 GB, free: 5.875 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.2112, allocations: 84.25 kB / 0.5826 GB, free: 5.789 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.2112, allocations: 15.91 kB / 0.5826 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.2113, allocations: 13.66 kB / 0.5826 GB, free: 5.754 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.791e-05/0.2114, allocations: 314.8 kB / 0.5829 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.782e-05/0.2115, allocations: 15.98 kB / 0.5829 GB, free: 5.422 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.046e-05/0.2115, allocations: 15.97 kB / 0.5829 GB, free: 5.406 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.2117, allocations: 40.89 kB / 0.583 GB, free: 5.363 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2117, allocations: 3.938 kB / 0.583 GB, free: 5.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001902/0.2119, allocations: 69.66 kB / 0.583 GB, free: 5.285 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2119, allocations: 4 kB / 0.5831 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.2119, allocations: 0 / 0.5831 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.2119, allocations: 0 / 0.5831 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.315e-05/0.212, allocations: 11.98 kB / 0.5831 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.212, allocations: 7.969 kB / 0.5831 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.308e-05/0.2121, allocations: 8 kB / 0.5831 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.2121, allocations: 3.984 kB / 0.5831 GB, free: 5.25 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.336e-05/0.2122, allocations: 109.8 kB / 0.5832 GB, free: 5.133 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.2122, allocations: 7.906 kB / 0.5832 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.2125, allocations: 76.78 kB / 0.5833 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.2125, allocations: 0 / 0.5833 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2125, allocations: 3.984 kB / 0.5833 GB, free: 5.035 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2125, allocations: 240 / 0.5833 GB, free: 5.035 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.2127, allocations: 165.6 kB / 0.5834 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2127, allocations: 0 / 0.5834 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-05/0.2128, allocations: 11.98 kB / 0.5834 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.2128, allocations: 3.984 kB / 0.5834 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.2128, allocations: 4 kB / 0.5834 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2128, allocations: 3.938 kB / 0.5835 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2128, allocations: 0 / 0.5835 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.213, allocations: 167.5 kB / 0.5836 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.2131, allocations: 77.11 kB / 0.5837 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.2131, allocations: 11.92 kB / 0.5837 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.2132, allocations: 4 kB / 0.5837 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.2132, allocations: 3.984 kB / 0.5837 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.2132, allocations: 7.938 kB / 0.5837 GB, free: 4.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.208e-05/0.2133, allocations: 83.28 kB / 0.5838 GB, free: 4.418 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2133, allocations: 0 / 0.5838 GB, free: 4.418 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.2135, allocations: 4 kB / 0.5838 GB, free: 4.414 MB / 494.1 MB 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.0005054/0.214, allocations: 0.7084 MB / 0.5845 GB, free: 3.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.2142, allocations: 31.97 kB / 0.5845 GB, free: 3.648 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2142, allocations: 0 / 0.5845 GB, free: 3.648 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.918e-05/0.2143, allocations: 27.97 kB / 0.5845 GB, free: 3.621 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.2147, allocations: 0 / 0.5845 GB, free: 3.621 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.2151, allocations: 158 kB / 0.5847 GB, free: 3.426 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.2154, allocations: 0.6809 MB / 0.5854 GB, free: 2.719 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.24e-05/0.2154, allocations: 0 / 0.5854 GB, free: 2.719 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.2155, allocations: 7.438 kB / 0.5854 GB, free: 2.711 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2155, allocations: 0 / 0.5854 GB, free: 2.711 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01053/0.226, allocations: 1.168 MB / 0.5865 GB, free: 1.691 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/0.2263, allocations: 209.4 kB / 0.5867 GB, free: 1.434 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.95, allocations: 0 / 0.5867 GB, free: 1.434 MB / 494.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)