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.005436/0.005436, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001109/0.001109, allocations: 194.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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9113/0.9113, allocations: 135.1 MB / 425.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 64.03 kB / 0.5851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3925, allocations: 80.91 MB / 0.6642 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00239/0.395, allocations: 1.291 MB / 0.6654 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007989/0.3958, allocations: 0.5638 MB / 0.666 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.445e-05/0.3959, allocations: 1.562 kB / 0.666 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.3959, allocations: 4 kB / 0.666 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.717e-05/0.3959, allocations: 9.328 kB / 0.666 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.3963, allocations: 91.47 kB / 0.6661 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.657e-05/0.3964, allocations: 24.31 kB / 0.6661 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.3964, allocations: 1.406 kB / 0.6661 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.388e-05/0.3965, allocations: 7.984 kB / 0.6661 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.367e-05/0.3965, allocations: 8.469 kB / 0.6661 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.3965, allocations: 0 / 0.6661 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.3968, allocations: 146.4 kB / 0.6662 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.296e-06/0.3968, allocations: 7.875 kB / 0.6663 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.3968, allocations: 4.438 kB / 0.6663 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.397, allocations: 95.3 kB / 0.6664 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.397, allocations: 0 / 0.6664 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.397, allocations: 0 / 0.6664 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.397, allocations: 0 / 0.6664 GB, free: 5.719 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.0003069/0.3973, allocations: 354.2 kB / 0.6667 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.3974, allocations: 10.5 kB / 0.6667 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.167e-05/0.3974, allocations: 30.75 kB / 0.6667 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004027/0.3978, allocations: 32.97 kB / 0.6668 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.645e-05/0.3979, allocations: 169.6 kB / 0.6669 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3979, allocations: 384 / 0.6669 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.3979, allocations: 1.812 kB / 0.6669 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.3981, allocations: 46.33 kB / 0.667 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3981, allocations: 7.938 kB / 0.667 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3981, allocations: 0 / 0.667 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3981, allocations: 1.531 kB / 0.667 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.3983, allocations: 22.62 kB / 0.667 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.3984, allocations: 162.8 kB / 0.6672 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.3985, allocations: 55.77 kB / 0.6672 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.879e-05/0.3986, allocations: 12.05 kB / 0.6672 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.3987, allocations: 3.984 kB / 0.6672 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.3987, allocations: 32.03 kB / 0.6673 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3987, allocations: 0 / 0.6673 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002891/0.399, allocations: 81.92 kB / 0.6673 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.399, allocations: 51.41 kB / 0.6674 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.259e-05/0.3991, allocations: 96.64 kB / 0.6675 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.3991, allocations: 30.8 kB / 0.6675 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.195e-05/0.3991, allocations: 80.14 kB / 0.6676 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.3991, allocations: 5.172 kB / 0.6676 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.3991, allocations: 21.3 kB / 0.6676 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.632e-05/0.3992, allocations: 315 kB / 0.6679 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.31e-05/0.3993, allocations: 14.36 kB / 0.6679 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.403e-05/0.3993, allocations: 10.45 kB / 0.6679 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.3994, allocations: 30.47 kB / 0.668 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3994, allocations: 4.062 kB / 0.668 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001585/0.3996, allocations: 59.91 kB / 0.668 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3996, allocations: 9.156 kB / 0.668 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3996, allocations: 0 / 0.668 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3997, allocations: 1.312 kB / 0.668 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.578e-05/0.3998, allocations: 12.27 kB / 0.668 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3998, allocations: 5.344 kB / 0.668 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.643e-05/0.3999, allocations: 9.266 kB / 0.6681 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3999, allocations: 1.438 kB / 0.6681 GB, free: 3.918 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.993e-05/0.3999, allocations: 108.8 kB / 0.6682 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.3999, allocations: 5.406 kB / 0.6682 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.4, allocations: 7.125 kB / 0.6682 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.4, allocations: 1.469 kB / 0.6682 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4, allocations: 0 / 0.6682 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.4, allocations: 4 kB / 0.6682 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.518e-05/0.4001, allocations: 157.8 kB / 0.6683 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.4001, allocations: 1.344 kB / 0.6683 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.424e-05/0.4002, allocations: 4.438 kB / 0.6683 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4002, allocations: 3.938 kB / 0.6683 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.4002, allocations: 9.516 kB / 0.6683 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4002, allocations: 0 / 0.6683 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4002, allocations: 5.688 kB / 0.6683 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.4004, allocations: 86.55 kB / 0.6684 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.4004, allocations: 82.62 kB / 0.6685 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.4004, allocations: 5.25 kB / 0.6685 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.889e-05/0.4005, allocations: 1.094 kB / 0.6685 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-06/0.4005, allocations: 1.406 kB / 0.6685 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.4005, allocations: 5.422 kB / 0.6685 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.065e-05/0.4006, allocations: 80.97 kB / 0.6686 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4006, allocations: 5.062 kB / 0.6686 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002048/0.4008, allocations: 14.22 kB / 0.6686 GB, free: 3.293 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.0003561/0.4011, allocations: 0.6362 MB / 0.6692 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001764/0.4013, allocations: 32.34 kB / 0.6693 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4013, allocations: 0 / 0.6693 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.377e-05/0.4014, allocations: 16.89 kB / 0.6693 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.4016, allocations: 7.891 kB / 0.6693 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.402, allocations: 146.1 kB / 0.6694 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.798e-05/0.4021, allocations: 0.6717 MB / 0.6701 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.226e-05/0.4022, allocations: 15.06 kB / 0.6701 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.4022, allocations: 9.781 kB / 0.6701 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.4022, allocations: 0 / 0.6701 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.4187, allocations: 1.571 MB / 0.6716 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/8.032, allocations: 9.469 kB / 0.6717 GB, free: 0.8984 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)