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.009095/0.009095, allocations: 96.31 kB / 15.73 MB, free: 6.039 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.002369/0.002369, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9586/0.9586, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.91 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.43, allocations: 80.91 MB / 0.6641 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001969/0.432, allocations: 1.412 MB / 0.6655 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007888/0.4328, allocations: 0.5914 MB / 0.6661 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.4328, allocations: 1.281 kB / 0.6661 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.4329, allocations: 0 / 0.6661 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.851e-05/0.4329, allocations: 5 kB / 0.6661 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.4332, allocations: 100.5 kB / 0.6662 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.393e-05/0.4333, allocations: 30.22 kB / 0.6662 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.773e-05/0.4334, allocations: 10.5 kB / 0.6662 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.555e-05/0.4334, allocations: 7.891 kB / 0.6662 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.952e-05/0.4335, allocations: 12.38 kB / 0.6663 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.4335, allocations: 0.9375 kB / 0.6663 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.4337, allocations: 144 kB / 0.6664 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.4338, allocations: 7.984 kB / 0.6664 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.4338, allocations: 7.75 kB / 0.6664 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.434, allocations: 99.67 kB / 0.6665 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.434, allocations: 0 / 0.6665 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.434, allocations: 1.281 kB / 0.6665 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.434, allocations: 4 kB / 0.6665 GB, free: 5.457 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.000354/0.4344, allocations: 369.5 kB / 0.6669 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.4344, allocations: 9.469 kB / 0.6669 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.142e-05/0.4344, allocations: 32.09 kB / 0.6669 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004138/0.4349, allocations: 24.56 kB / 0.6669 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.234e-05/0.4349, allocations: 165.6 kB / 0.6671 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.4349, allocations: 9.531 kB / 0.6671 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.435, allocations: 1.562 kB / 0.6671 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.4352, allocations: 62.89 kB / 0.6672 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4352, allocations: 3.938 kB / 0.6672 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.4352, allocations: 0 / 0.6672 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.4352, allocations: 1.531 kB / 0.6672 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.4355, allocations: 63.45 kB / 0.6672 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.4359, allocations: 280.4 kB / 0.6675 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.4361, allocations: 59.33 kB / 0.6675 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.4362, allocations: 31.73 kB / 0.6676 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.4363, allocations: 3.984 kB / 0.6676 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.4363, allocations: 39.58 kB / 0.6676 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4363, allocations: 0 / 0.6676 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004896/0.4368, allocations: 119.4 kB / 0.6677 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.4368, allocations: 51.41 kB / 0.6678 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.82e-05/0.4369, allocations: 99.25 kB / 0.6679 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.4369, allocations: 29.7 kB / 0.6679 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.465e-05/0.4369, allocations: 81.55 kB / 0.668 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.4369, allocations: 12.86 kB / 0.668 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.437, allocations: 16.5 kB / 0.668 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.207e-05/0.437, allocations: 320.1 kB / 0.6683 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.4371, allocations: 25.66 kB / 0.6683 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.4373, allocations: 26.03 kB / 0.6684 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.4375, allocations: 56.75 kB / 0.6684 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4375, allocations: 7.875 kB / 0.6684 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002949/0.4378, allocations: 94.59 kB / 0.6685 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4379, allocations: 5.062 kB / 0.6685 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4379, allocations: 0 / 0.6685 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4379, allocations: 1.406 kB / 0.6685 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.438, allocations: 11.83 kB / 0.6685 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.438, allocations: 0 / 0.6685 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.106e-05/0.4381, allocations: 17.25 kB / 0.6685 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.4382, allocations: 1.125 kB / 0.6685 GB, free: 3.438 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 5.216e-05/0.4382, allocations: 115.2 kB / 0.6687 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.4383, allocations: 5.172 kB / 0.6687 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.4383, allocations: 4.219 kB / 0.6687 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4383, allocations: 1.219 kB / 0.6687 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4383, allocations: 3.938 kB / 0.6687 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4383, allocations: 0 / 0.6687 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.4384, allocations: 167.8 kB / 0.6688 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4385, allocations: 5.406 kB / 0.6688 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.4386, allocations: 10.92 kB / 0.6688 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4386, allocations: 5.344 kB / 0.6689 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.4386, allocations: 3.984 kB / 0.6689 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4386, allocations: 1.125 kB / 0.6689 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4386, allocations: 0 / 0.6689 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.4389, allocations: 189 kB / 0.669 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.439, allocations: 82.59 kB / 0.6691 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.439, allocations: 0 / 0.6691 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.4391, allocations: 9.547 kB / 0.6691 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.4392, allocations: 1.594 kB / 0.6691 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.4392, allocations: 0 / 0.6691 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.537e-05/0.4392, allocations: 87.03 kB / 0.6692 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4392, allocations: 0 / 0.6692 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002536/0.4395, allocations: 19.33 kB / 0.6692 GB, free: 2.719 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.0005317/0.44, allocations: 0.7293 MB / 0.6699 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003131/0.4403, allocations: 54.91 kB / 0.67 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4403, allocations: 0 / 0.67 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.4405, allocations: 36.64 kB / 0.67 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.4408, allocations: 6.594 kB / 0.67 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.4413, allocations: 163.9 kB / 0.6702 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.342e-05/0.4414, allocations: 0.6739 MB / 0.6708 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.553e-05/0.4415, allocations: 15.14 kB / 0.6709 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.4415, allocations: 13.02 kB / 0.6709 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.4415, allocations: 0 / 0.6709 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.4596, allocations: 1.658 MB / 0.6725 GB, free: 172 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.455/7.915, allocations: 1.344 kB / 0.6725 GB, free: 172 kB / 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)