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.00754/0.00754, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001949/0.001949, allocations: 202 kB / 16.68 MB, free: 5.969 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.993/0.993, allocations: 135.6 MB / 426.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00299/0.00299, allocations: 75.88 kB / 0.5857 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4658/0.4688, allocations: 81.02 MB / 0.6649 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002172/0.471, allocations: 1.407 MB / 0.6662 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008097/0.4718, allocations: 0.5835 MB / 0.6668 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.4719, allocations: 0 / 0.6668 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.359e-05/0.4719, allocations: 9.078 kB / 0.6668 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.762e-05/0.472, allocations: 3.938 kB / 0.6668 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.4724, allocations: 105 kB / 0.6669 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.566e-05/0.4724, allocations: 21.78 kB / 0.6669 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.22e-05/0.4725, allocations: 11.45 kB / 0.6669 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.686e-05/0.4726, allocations: 3.375 kB / 0.667 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.373e-05/0.4726, allocations: 15.98 kB / 0.667 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.4726, allocations: 1.875 kB / 0.667 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002675/0.4729, allocations: 147.5 kB / 0.6671 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.4729, allocations: 5.062 kB / 0.6671 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.025e-05/0.4729, allocations: 6.406 kB / 0.6671 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.4731, allocations: 104.9 kB / 0.6672 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.4732, allocations: 7.938 kB / 0.6672 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4732, allocations: 0 / 0.6672 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.4732, allocations: 0 / 0.6672 GB, free: 5.129 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000357/0.4735, allocations: 358.5 kB / 0.6676 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.4736, allocations: 10.16 kB / 0.6676 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.266e-05/0.4736, allocations: 30.75 kB / 0.6676 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004013/0.474, allocations: 33.52 kB / 0.6676 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.328e-05/0.4741, allocations: 165.8 kB / 0.6678 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.4741, allocations: 4.375 kB / 0.6678 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.4741, allocations: 1.75 kB / 0.6678 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.4743, allocations: 67.05 kB / 0.6679 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.4744, allocations: 3.938 kB / 0.6679 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.4744, allocations: 0 / 0.6679 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4744, allocations: 1.188 kB / 0.6679 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.4746, allocations: 58.84 kB / 0.6679 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.475, allocations: 272.5 kB / 0.6682 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.4752, allocations: 64.06 kB / 0.6683 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.4753, allocations: 30.95 kB / 0.6683 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.4754, allocations: 5.125 kB / 0.6683 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.082e-05/0.4754, allocations: 31.94 kB / 0.6683 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.4754, allocations: 3.984 kB / 0.6683 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004884/0.4759, allocations: 118.3 kB / 0.6684 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.4759, allocations: 53 kB / 0.6685 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.692e-05/0.476, allocations: 98.25 kB / 0.6686 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.476, allocations: 33.83 kB / 0.6686 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.994e-05/0.476, allocations: 81.55 kB / 0.6687 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.476, allocations: 8.984 kB / 0.6687 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.4761, allocations: 20.3 kB / 0.6687 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.506e-05/0.4761, allocations: 316.3 kB / 0.669 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.4762, allocations: 24.84 kB / 0.669 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.4764, allocations: 30.12 kB / 0.6691 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.4766, allocations: 60.55 kB / 0.6691 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4766, allocations: 7.938 kB / 0.6691 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002836/0.4769, allocations: 87.14 kB / 0.6692 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.4769, allocations: 4.875 kB / 0.6692 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.4769, allocations: 0 / 0.6692 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4769, allocations: 1.312 kB / 0.6692 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.4771, allocations: 11.39 kB / 0.6692 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.4771, allocations: 3.984 kB / 0.6692 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.571e-05/0.4772, allocations: 17.2 kB / 0.6693 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.4772, allocations: 5.172 kB / 0.6693 GB, free: 3.117 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.568e-05/0.4772, allocations: 112.6 kB / 0.6694 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.4773, allocations: 0 / 0.6694 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.4773, allocations: 4.406 kB / 0.6694 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4773, allocations: 1.5 kB / 0.6694 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4773, allocations: 0 / 0.6694 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.4773, allocations: 4 kB / 0.6694 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.4775, allocations: 172.4 kB / 0.6695 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4775, allocations: 0 / 0.6695 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.4776, allocations: 19.25 kB / 0.6696 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4776, allocations: 1.062 kB / 0.6696 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.4776, allocations: 1.594 kB / 0.6696 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4776, allocations: 3.938 kB / 0.6696 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4776, allocations: 3.938 kB / 0.6696 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.4779, allocations: 188.5 kB / 0.6697 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.4779, allocations: 78.23 kB / 0.6698 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.478, allocations: 1.125 kB / 0.6698 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.4781, allocations: 9.234 kB / 0.6698 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.4781, allocations: 1.312 kB / 0.6698 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.4781, allocations: 5.438 kB / 0.6698 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.151e-05/0.4782, allocations: 86.08 kB / 0.6699 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4782, allocations: 0 / 0.6699 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002421/0.4784, allocations: 14.53 kB / 0.6699 GB, free: 2.402 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.0004905/0.4789, allocations: 0.7292 MB / 0.6706 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003069/0.4792, allocations: 62.48 kB / 0.6707 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4792, allocations: 4.094 kB / 0.6707 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.4794, allocations: 32.12 kB / 0.6707 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.4797, allocations: 8.031 kB / 0.6707 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/0.4802, allocations: 165.3 kB / 0.6709 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.629e-05/0.4803, allocations: 0.6804 MB / 0.6716 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.468e-05/0.4803, allocations: 6.688 kB / 0.6716 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.4804, allocations: 9.938 kB / 0.6716 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.4804, allocations: 0 / 0.6716 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.5027, allocations: 1.654 MB / 0.6732 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.426, allocations: 14.98 kB / 0.6732 GB, free: 15.84 MB / 0.5137 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)