Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.008423/0.008423, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001975/0.001975, allocations: 195.3 kB / 16.67 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9527/0.9527, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 55.91 kB / 0.5852 GB, free: 3.82 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4333, allocations: 80.93 MB / 0.6642 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002049/0.4354, allocations: 1.278 MB / 0.6654 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008655/0.4363, allocations: 0.6429 MB / 0.6661 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.062e-05/0.4364, allocations: 1.5 kB / 0.6661 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.023e-05/0.4364, allocations: 0 / 0.6661 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.125e-05/0.4364, allocations: 3.938 kB / 0.6661 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.4368, allocations: 112.1 kB / 0.6662 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.051e-05/0.4369, allocations: 27.23 kB / 0.6662 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.437, allocations: 6.438 kB / 0.6662 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.322e-05/0.437, allocations: 5.781 kB / 0.6662 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.4371, allocations: 19.94 kB / 0.6662 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.4371, allocations: 1.375 kB / 0.6662 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.4373, allocations: 139.4 kB / 0.6664 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.4373, allocations: 9.062 kB / 0.6664 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.4374, allocations: 16.75 kB / 0.6664 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.4376, allocations: 95.27 kB / 0.6665 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.4376, allocations: 0 / 0.6665 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4376, allocations: 0 / 0.6665 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.4376, allocations: 0 / 0.6665 GB, free: 5.469 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004262/0.438, allocations: 363 kB / 0.6668 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.4381, allocations: 9.75 kB / 0.6668 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.701e-05/0.4381, allocations: 36.06 kB / 0.6669 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004098/0.4385, allocations: 36.64 kB / 0.6669 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.248e-05/0.4386, allocations: 161.8 kB / 0.6671 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.4386, allocations: 2.094 kB / 0.6671 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.4386, allocations: 2.062 kB / 0.6671 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.4388, allocations: 56.69 kB / 0.6671 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.4388, allocations: 5.375 kB / 0.6671 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4388, allocations: 4 kB / 0.6671 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.4389, allocations: 4 kB / 0.6671 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.439, allocations: 27.78 kB / 0.6672 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.4391, allocations: 163.5 kB / 0.6673 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.4395, allocations: 70.97 kB / 0.6674 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.289e-05/0.4396, allocations: 28.78 kB / 0.6674 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.4396, allocations: 1.094 kB / 0.6674 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.4396, allocations: 31.97 kB / 0.6674 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.4396, allocations: 0 / 0.6674 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003276/0.4429, allocations: 0.5708 MB / 0.668 GB, free: 4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.4429, allocations: 51.41 kB / 0.668 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.613e-05/0.443, allocations: 96.69 kB / 0.6681 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.443, allocations: 26.8 kB / 0.6682 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.762e-05/0.443, allocations: 89.86 kB / 0.6683 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.4431, allocations: 21.38 kB / 0.6683 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.4431, allocations: 31.56 kB / 0.6683 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.685e-05/0.4432, allocations: 316.4 kB / 0.6686 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.4433, allocations: 34.12 kB / 0.6686 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.4435, allocations: 35.06 kB / 0.6687 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.4438, allocations: 90.53 kB / 0.6688 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4438, allocations: 0 / 0.6688 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003416/0.4441, allocations: 130.4 kB / 0.6689 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4441, allocations: 4.688 kB / 0.6689 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4441, allocations: 1.5 kB / 0.6689 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.4442, allocations: 3.984 kB / 0.6689 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.4444, allocations: 21.94 kB / 0.6689 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4444, allocations: 5 kB / 0.6689 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.4445, allocations: 11.7 kB / 0.6689 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.4446, allocations: 6.203 kB / 0.6689 GB, free: 3.148 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 (7): * Single equations (assignments): 7 * 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.982e-05/0.4446, allocations: 116.5 kB / 0.669 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.4447, allocations: 10.41 kB / 0.6691 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.746e-05/0.4447, allocations: 9.062 kB / 0.6691 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4447, allocations: 1.281 kB / 0.6691 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4447, allocations: 4 kB / 0.6691 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4448, allocations: 0 / 0.6691 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.4449, allocations: 186.9 kB / 0.6692 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4449, allocations: 0 / 0.6692 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.4451, allocations: 26.75 kB / 0.6693 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4451, allocations: 0 / 0.6693 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.4451, allocations: 9.391 kB / 0.6693 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4451, allocations: 1.25 kB / 0.6693 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4452, allocations: 0 / 0.6693 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00051/0.4457, allocations: 194 kB / 0.6695 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.4457, allocations: 86.41 kB / 0.6696 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.4457, allocations: 5.469 kB / 0.6696 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.4459, allocations: 10.91 kB / 0.6696 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.446, allocations: 6.141 kB / 0.6696 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.446, allocations: 7.078 kB / 0.6696 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.896e-05/0.446, allocations: 76.34 kB / 0.6697 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.446, allocations: 0 / 0.6697 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002658/0.4463, allocations: 34.81 kB / 0.6697 GB, free: 2.422 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0007948/0.4471, allocations: 0.7615 MB / 0.6704 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.4474, allocations: 88.92 kB / 0.6705 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4475, allocations: 0 / 0.6705 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.4476, allocations: 44.69 kB / 0.6706 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.4479, allocations: 15.11 kB / 0.6706 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.4496, allocations: 1.355 MB / 0.6719 GB, free: 412 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.4498, allocations: 0.6795 MB / 0.6726 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001842/0.45, allocations: 27.55 kB / 0.6726 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.831e-05/0.4501, allocations: 16.23 kB / 0.6726 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.4501, allocations: 96 / 0.6726 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.472, allocations: 2.481 MB / 0.675 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.685/8.157, allocations: 4.844 kB / 0.675 GB, free: 14.4 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)