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.004854/0.004854, allocations: 97.81 kB / 15.73 MB, free: 6.004 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.001358/0.001358, allocations: 195.4 kB / 16.67 MB, free: 5.934 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.49/1.49, 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.9987/0.9987, allocations: 135.5 MB / 426.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 67.88 kB / 0.5858 GB, free: 3.168 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.439, allocations: 81.02 MB / 0.6649 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001854/0.4408, allocations: 1.281 MB / 0.6661 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008579/0.4417, allocations: 0.6387 MB / 0.6668 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.634e-05/0.4417, allocations: 5.156 kB / 0.6668 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.4418, allocations: 0 / 0.6668 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.641e-05/0.4418, allocations: 9.109 kB / 0.6668 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.4422, allocations: 107.6 kB / 0.6669 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.502e-05/0.4423, allocations: 27.89 kB / 0.6669 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.4423, allocations: 1.562 kB / 0.6669 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.964e-05/0.4423, allocations: 5.844 kB / 0.6669 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.164e-05/0.4424, allocations: 20.94 kB / 0.6669 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.4424, allocations: 5.469 kB / 0.6669 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002669/0.4427, allocations: 142.4 kB / 0.6671 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.4427, allocations: 5.438 kB / 0.6671 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.4427, allocations: 15.94 kB / 0.6671 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.443, allocations: 86.69 kB / 0.6672 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.443, allocations: 1.5 kB / 0.6672 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.443, allocations: 0 / 0.6672 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.443, allocations: 0 / 0.6672 GB, free: 5.293 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.0003996/0.4434, allocations: 362.4 kB / 0.6675 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.4435, allocations: 17.53 kB / 0.6675 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.008e-05/0.4435, allocations: 36.22 kB / 0.6676 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004086/0.4439, allocations: 24.88 kB / 0.6676 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.391e-05/0.444, allocations: 161.8 kB / 0.6678 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.444, allocations: 13.64 kB / 0.6678 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.444, allocations: 1.531 kB / 0.6678 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.4442, allocations: 57.91 kB / 0.6678 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4442, allocations: 3.938 kB / 0.6678 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.4443, allocations: 5.188 kB / 0.6678 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.4443, allocations: 3.938 kB / 0.6678 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.4444, allocations: 27.59 kB / 0.6679 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.4446, allocations: 154.9 kB / 0.668 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.4449, allocations: 75.77 kB / 0.6681 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.578e-05/0.445, allocations: 24.91 kB / 0.6681 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.4451, allocations: 0 / 0.6681 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.4451, allocations: 35.98 kB / 0.6681 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.4451, allocations: 4 kB / 0.6681 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003275/0.4484, allocations: 0.5667 MB / 0.6687 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.4484, allocations: 52.56 kB / 0.6687 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.425e-05/0.4484, allocations: 96.58 kB / 0.6688 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.4485, allocations: 26.7 kB / 0.6689 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.358e-05/0.4485, allocations: 88.12 kB / 0.669 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.4485, allocations: 23.38 kB / 0.669 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.4486, allocations: 22.8 kB / 0.669 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.514e-05/0.4486, allocations: 320.2 kB / 0.6693 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.4488, allocations: 42.88 kB / 0.6693 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.4489, allocations: 34.59 kB / 0.6694 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.4492, allocations: 86.64 kB / 0.6695 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4492, allocations: 1.25 kB / 0.6695 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003384/0.4495, allocations: 124.4 kB / 0.6696 GB, free: 3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.4495, allocations: 5.594 kB / 0.6696 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4496, allocations: 0 / 0.6696 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.4496, allocations: 1.734 kB / 0.6696 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.4498, allocations: 26.44 kB / 0.6696 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4498, allocations: 0 / 0.6696 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.45, allocations: 20.86 kB / 0.6696 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.45, allocations: 2.344 kB / 0.6696 GB, free: 2.973 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 6.124e-05/0.45, allocations: 108 kB / 0.6697 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.4501, allocations: 12.95 kB / 0.6697 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.95e-05/0.4501, allocations: 21.23 kB / 0.6698 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4501, allocations: 1.344 kB / 0.6698 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4502, allocations: 1.406 kB / 0.6698 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4502, allocations: 0 / 0.6698 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.4503, allocations: 185.7 kB / 0.6699 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.4503, allocations: 1.062 kB / 0.6699 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.4505, allocations: 25.75 kB / 0.67 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4505, allocations: 1.25 kB / 0.67 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.4505, allocations: 9.391 kB / 0.67 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4506, allocations: 4.062 kB / 0.67 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4506, allocations: 0 / 0.67 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/0.4511, allocations: 194.8 kB / 0.6702 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.4511, allocations: 82.17 kB / 0.6702 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.4512, allocations: 5.531 kB / 0.6703 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.4513, allocations: 10.2 kB / 0.6703 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.4514, allocations: 2.625 kB / 0.6703 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.4514, allocations: 6.172 kB / 0.6703 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.122e-05/0.4514, allocations: 80.75 kB / 0.6704 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4514, allocations: 0 / 0.6704 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002577/0.4517, allocations: 39.73 kB / 0.6704 GB, free: 2.238 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.0007252/0.4524, allocations: 0.7518 MB / 0.6711 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003322/0.4528, allocations: 85.11 kB / 0.6712 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4528, allocations: 4.062 kB / 0.6712 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.4529, allocations: 51.89 kB / 0.6713 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.4532, allocations: 6.125 kB / 0.6713 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.4548, allocations: 1.363 MB / 0.6726 GB, free: 224 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.4551, allocations: 0.6829 MB / 0.6733 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001576/0.4553, allocations: 24.23 kB / 0.6733 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.412e-05/0.4553, allocations: 20.12 kB / 0.6733 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.4553, allocations: 4 kB / 0.6733 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.4803, allocations: 2.472 MB / 0.6757 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.899/8.38, allocations: 14.59 kB / 0.6757 GB, free: 14.22 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)