Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_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.006291/0.006291, allocations: 107.2 kB / 15.74 MB, free: 6.02 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.001492/0.001492, allocations: 195.5 kB / 16.68 MB, free: 5.93 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.037/1.037, allocations: 135.6 MB / 426.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.89 kB / 0.5858 GB, free: 3.145 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.405, allocations: 81.02 MB / 0.6649 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001896/0.4069, allocations: 1.275 MB / 0.6661 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007919/0.4078, allocations: 0.5658 MB / 0.6667 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.929e-05/0.4078, allocations: 0 / 0.6667 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/0.4078, allocations: 3.938 kB / 0.6667 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.174e-05/0.4079, allocations: 13.17 kB / 0.6667 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.4082, allocations: 92.41 kB / 0.6668 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.22e-05/0.4083, allocations: 29.08 kB / 0.6668 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.4083, allocations: 1.531 kB / 0.6668 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.111e-05/0.4084, allocations: 3.844 kB / 0.6668 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.53e-05/0.4084, allocations: 3.031 kB / 0.6668 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.168e-06/0.4084, allocations: 1.5 kB / 0.6668 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.4087, allocations: 146.3 kB / 0.667 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.799e-06/0.4087, allocations: 7.938 kB / 0.667 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.4087, allocations: 3.906 kB / 0.667 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.4089, allocations: 98.27 kB / 0.6671 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4089, allocations: 1.531 kB / 0.6671 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.409, allocations: 0 / 0.6671 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.409, allocations: 0 / 0.6671 GB, free: 5.344 MB / 0.4981 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.0003198/0.4093, allocations: 350.5 kB / 0.6674 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.4093, allocations: 9.438 kB / 0.6674 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.463e-05/0.4094, allocations: 30.75 kB / 0.6674 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003884/0.4098, allocations: 28.69 kB / 0.6675 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.744e-05/0.4098, allocations: 165.7 kB / 0.6676 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.4098, allocations: 1.375 kB / 0.6676 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.4099, allocations: 1.344 kB / 0.6676 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.41, allocations: 45.61 kB / 0.6677 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.41, allocations: 5 kB / 0.6677 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.41, allocations: 4 kB / 0.6677 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.41, allocations: 3.984 kB / 0.6677 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.4102, allocations: 23.89 kB / 0.6677 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.4103, allocations: 157.6 kB / 0.6679 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.4104, allocations: 48.98 kB / 0.6679 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.488e-05/0.4105, allocations: 19.34 kB / 0.6679 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.4105, allocations: 1.344 kB / 0.6679 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.4106, allocations: 35.75 kB / 0.668 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4106, allocations: 0 / 0.668 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002871/0.4109, allocations: 80.16 kB / 0.668 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.4109, allocations: 52.75 kB / 0.6681 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.564e-05/0.4109, allocations: 96.67 kB / 0.6682 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.411, allocations: 27.14 kB / 0.6682 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.467e-05/0.411, allocations: 84.12 kB / 0.6683 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.411, allocations: 5.453 kB / 0.6683 GB, free: 4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.411, allocations: 16.44 kB / 0.6683 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.935e-05/0.4111, allocations: 316.1 kB / 0.6686 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.332e-05/0.4111, allocations: 13.3 kB / 0.6686 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.619e-05/0.4112, allocations: 10.92 kB / 0.6686 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.4113, allocations: 30.78 kB / 0.6687 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4113, allocations: 0 / 0.6687 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001679/0.4115, allocations: 71.39 kB / 0.6687 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4115, allocations: 8.906 kB / 0.6687 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.4116, allocations: 0 / 0.6687 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4116, allocations: 1.281 kB / 0.6687 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.933e-05/0.4117, allocations: 12.2 kB / 0.6687 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.4117, allocations: 1.406 kB / 0.6687 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.626e-05/0.4117, allocations: 2.156 kB / 0.6687 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.4118, allocations: 5.312 kB / 0.6687 GB, free: 3.559 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 4.701e-05/0.4118, allocations: 107.2 kB / 0.6689 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.4118, allocations: 9.578 kB / 0.6689 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.4119, allocations: 11.11 kB / 0.6689 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4119, allocations: 1.188 kB / 0.6689 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4119, allocations: 0 / 0.6689 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.4119, allocations: 0 / 0.6689 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.762e-05/0.412, allocations: 158 kB / 0.669 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.412, allocations: 0 / 0.669 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.239e-05/0.4121, allocations: 9.984 kB / 0.669 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4121, allocations: 3.938 kB / 0.669 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.4121, allocations: 1.312 kB / 0.669 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4121, allocations: 3.938 kB / 0.669 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4121, allocations: 0 / 0.669 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.4123, allocations: 87.92 kB / 0.6691 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.4123, allocations: 82.44 kB / 0.6692 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.4123, allocations: 5.125 kB / 0.6692 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.683e-05/0.4124, allocations: 6.297 kB / 0.6692 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-06/0.4124, allocations: 3.938 kB / 0.6692 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.4124, allocations: 1.438 kB / 0.6692 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.702e-05/0.4124, allocations: 82.16 kB / 0.6693 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4124, allocations: 0 / 0.6693 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001967/0.4126, allocations: 19.03 kB / 0.6693 GB, free: 2.93 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.0003581/0.413, allocations: 0.6384 MB / 0.6699 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001696/0.4132, allocations: 32.09 kB / 0.67 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4132, allocations: 0 / 0.67 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.354e-05/0.4133, allocations: 17.05 kB / 0.67 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.4135, allocations: 3.188 kB / 0.67 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.4139, allocations: 157.9 kB / 0.6701 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.595e-05/0.414, allocations: 0.6768 MB / 0.6708 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.027e-05/0.4141, allocations: 10.73 kB / 0.6708 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.4141, allocations: 10 kB / 0.6708 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.4141, allocations: 0 / 0.6708 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.4354, allocations: 1.571 MB / 0.6724 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.417, allocations: 9.359 kB / 0.6724 GB, free: 0.5352 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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_Functions_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)