Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_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.001357/0.001357, 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.001583/0.001583, allocations: 195.2 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7854/0.7854, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 63.61 kB / 0.5019 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4422, allocations: 80.2 MB / 0.5802 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002469/0.4447, allocations: 1.407 MB / 0.5816 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000926/0.4457, allocations: 0.5937 MB / 0.5821 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.4457, allocations: 0.875 kB / 0.5821 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.4458, allocations: 4.5 kB / 0.5821 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.114e-05/0.4458, allocations: 5.453 kB / 0.5821 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.4462, allocations: 95.8 kB / 0.5822 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.837e-05/0.4463, allocations: 25.27 kB / 0.5823 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.4464, allocations: 11.84 kB / 0.5823 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.147e-05/0.4464, allocations: 17.28 kB / 0.5823 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.616e-05/0.4465, allocations: 11.41 kB / 0.5823 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.4465, allocations: 1.375 kB / 0.5823 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.4468, allocations: 142.2 kB / 0.5824 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.4468, allocations: 6.328 kB / 0.5824 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.4469, allocations: 11.61 kB / 0.5825 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.4471, allocations: 98.69 kB / 0.5825 GB, free: 3.043 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4471, allocations: 4.516 kB / 0.5825 GB, free: 3.039 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4471, allocations: 1.125 kB / 0.5826 GB, free: 3.039 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.4471, allocations: 0 / 0.5826 GB, free: 3.039 MB / 430.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.0004238/0.4476, allocations: 363.8 kB / 0.5829 GB, free: 2.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.4476, allocations: 8.906 kB / 0.5829 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.739e-05/0.4476, allocations: 32.22 kB / 0.5829 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004296/0.4481, allocations: 26.38 kB / 0.583 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.289e-05/0.4482, allocations: 168.6 kB / 0.5831 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.4482, allocations: 5.172 kB / 0.5831 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.4482, allocations: 5.562 kB / 0.5831 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.4484, allocations: 69.72 kB / 0.5832 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.4485, allocations: 4.812 kB / 0.5832 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.4485, allocations: 0 / 0.5832 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4485, allocations: 1.453 kB / 0.5832 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.4487, allocations: 55.81 kB / 0.5833 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.4491, allocations: 267.1 kB / 0.5835 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.4494, allocations: 62.52 kB / 0.5836 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.4495, allocations: 39.3 kB / 0.5836 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.4496, allocations: 1.359 kB / 0.5836 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.4496, allocations: 31.81 kB / 0.5836 GB, free: 1.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4496, allocations: 0 / 0.5836 GB, free: 1.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005093/0.4501, allocations: 113 kB / 0.5838 GB, free: 1.934 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.4501, allocations: 51.41 kB / 0.5838 GB, free: 1.871 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.507e-05/0.4502, allocations: 105.5 kB / 0.5839 GB, free: 1.766 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.4502, allocations: 26.31 kB / 0.5839 GB, free: 1.734 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.37e-05/0.4502, allocations: 82.44 kB / 0.584 GB, free: 1.652 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.4503, allocations: 13.62 kB / 0.584 GB, free: 1.641 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.4503, allocations: 14.73 kB / 0.584 GB, free: 1.625 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.273e-05/0.4503, allocations: 313.3 kB / 0.5843 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.4505, allocations: 29.05 kB / 0.5844 GB, free: 1.305 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.4506, allocations: 24.92 kB / 0.5844 GB, free: 1.301 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.4509, allocations: 63.78 kB / 0.5844 GB, free: 1.277 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.4509, allocations: 3.938 kB / 0.5844 GB, free: 1.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002994/0.4512, allocations: 88.64 kB / 0.5845 GB, free: 1.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4512, allocations: 6.031 kB / 0.5845 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4512, allocations: 5.875 kB / 0.5845 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.4512, allocations: 0 / 0.5845 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.4514, allocations: 14.19 kB / 0.5846 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4514, allocations: 3.984 kB / 0.5846 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.4515, allocations: 12.5 kB / 0.5846 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.4515, allocations: 2.219 kB / 0.5846 GB, free: 1.219 MB / 430.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 5.422e-05/0.4516, allocations: 115.7 kB / 0.5847 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.4516, allocations: 9.516 kB / 0.5847 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.4517, allocations: 8.984 kB / 0.5847 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4517, allocations: 0.9375 kB / 0.5847 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4517, allocations: 0.9375 kB / 0.5847 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4517, allocations: 4 kB / 0.5847 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.4518, allocations: 172.4 kB / 0.5849 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4518, allocations: 5.062 kB / 0.5849 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.4519, allocations: 12.69 kB / 0.5849 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.452, allocations: 1.469 kB / 0.5849 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.452, allocations: 1.781 kB / 0.5849 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.452, allocations: 0.6094 kB / 0.5849 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.452, allocations: 0.9062 kB / 0.5849 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.4523, allocations: 182.5 kB / 0.5851 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.4523, allocations: 82.75 kB / 0.5851 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.4524, allocations: 9.312 kB / 0.5852 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.4525, allocations: 8.562 kB / 0.5852 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.4525, allocations: 2.484 kB / 0.5852 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.4525, allocations: 2.016 kB / 0.5852 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.226e-05/0.4526, allocations: 83.59 kB / 0.5852 GB, free: 0.543 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4526, allocations: 0.875 kB / 0.5852 GB, free: 0.543 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.4528, allocations: 15.06 kB / 0.5853 GB, free: 0.5391 MB / 430.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 (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.0005961/0.4534, allocations: 0.7348 MB / 0.586 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.4538, allocations: 59.25 kB / 0.586 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4538, allocations: 0 / 0.586 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.4539, allocations: 32.83 kB / 0.5861 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.4542, allocations: 5.953 kB / 0.5861 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006019/0.4548, allocations: 158.7 kB / 0.5862 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.4551, allocations: 0.6792 MB / 0.5869 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.814e-05/0.4552, allocations: 7.656 kB / 0.5869 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.4553, allocations: 15.47 kB / 0.5869 GB, free: 14.97 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4553, allocations: 1 kB / 0.5869 GB, free: 14.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.4724, allocations: 1.624 MB / 0.5885 GB, free: 14.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.35/7.822, allocations: 7.812 kB / 0.5885 GB, free: 14.62 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)