Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_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.001814/0.001814, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 195 kB / 16.53 MB, free: 6.664 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 67.88 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7387/0.7403, allocations: 140.4 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002399/0.7427, allocations: 1.278 MB / 0.951 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009199/0.7437, allocations: 0.6437 MB / 0.9516 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.392e-05/0.7437, allocations: 0 / 0.9516 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.7437, allocations: 5.547 kB / 0.9516 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.904e-05/0.7438, allocations: 3.938 kB / 0.9516 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.7443, allocations: 111.6 kB / 0.9517 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.895e-05/0.7443, allocations: 28.52 kB / 0.9518 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.7444, allocations: 1.5 kB / 0.9518 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.576e-05/0.7444, allocations: 9.375 kB / 0.9518 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.677e-05/0.7445, allocations: 16.98 kB / 0.9518 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.7445, allocations: 5.297 kB / 0.9518 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.7448, allocations: 142.8 kB / 0.9519 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.7448, allocations: 5.094 kB / 0.9519 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.7448, allocations: 16.78 kB / 0.9519 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.745, allocations: 89.16 kB / 0.952 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.745, allocations: 3.938 kB / 0.952 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.745, allocations: 1.281 kB / 0.952 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.745, allocations: 0 / 0.952 GB, free: 7.434 MB / 0.7169 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.0004339/0.7455, allocations: 361 kB / 0.9524 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.7455, allocations: 9.875 kB / 0.9524 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.882e-05/0.7456, allocations: 31.91 kB / 0.9524 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004389/0.746, allocations: 24.69 kB / 0.9524 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.115e-05/0.7461, allocations: 169.6 kB / 0.9526 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.7461, allocations: 1.469 kB / 0.9526 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.7462, allocations: 10.75 kB / 0.9526 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.7463, allocations: 53.34 kB / 0.9527 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.7464, allocations: 3.938 kB / 0.9527 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.7464, allocations: 5.391 kB / 0.9527 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.7464, allocations: 0 / 0.9527 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.7465, allocations: 30.31 kB / 0.9527 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.7467, allocations: 171.8 kB / 0.9529 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.747, allocations: 63.08 kB / 0.9529 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.742e-05/0.7471, allocations: 29.38 kB / 0.953 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.7471, allocations: 1.125 kB / 0.953 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.7472, allocations: 39.64 kB / 0.953 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.7472, allocations: 0 / 0.953 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.003529/0.7507, allocations: 0.577 MB / 0.9536 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.7508, allocations: 56.53 kB / 0.9536 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.319e-05/0.7508, allocations: 97.2 kB / 0.9537 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.7508, allocations: 25.7 kB / 0.9537 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.437e-05/0.7509, allocations: 85.31 kB / 0.9538 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.7509, allocations: 18.16 kB / 0.9538 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.751, allocations: 28.28 kB / 0.9539 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.914e-05/0.751, allocations: 312.3 kB / 0.9541 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.7512, allocations: 37.97 kB / 0.9542 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.7513, allocations: 38.44 kB / 0.9542 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.7516, allocations: 83.69 kB / 0.9543 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.7516, allocations: 0 / 0.9543 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003589/0.752, allocations: 133.3 kB / 0.9544 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.752, allocations: 4.562 kB / 0.9544 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.752, allocations: 1.219 kB / 0.9544 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.752, allocations: 0 / 0.9544 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.7523, allocations: 27.22 kB / 0.9545 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.7523, allocations: 4 kB / 0.9545 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.7524, allocations: 8.609 kB / 0.9545 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.7525, allocations: 2.188 kB / 0.9545 GB, free: 5.117 MB / 0.7169 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.19e-05/0.7525, allocations: 116 kB / 0.9546 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.7526, allocations: 6.281 kB / 0.9546 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.817e-05/0.7526, allocations: 13.12 kB / 0.9546 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.7527, allocations: 1.031 kB / 0.9546 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7527, allocations: 0 / 0.9546 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.7527, allocations: 0 / 0.9546 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.7528, allocations: 191.3 kB / 0.9548 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.7528, allocations: 3.938 kB / 0.9548 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.7531, allocations: 34.78 kB / 0.9548 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7531, allocations: 0 / 0.9548 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.7531, allocations: 4.984 kB / 0.9548 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7531, allocations: 1.156 kB / 0.9548 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7531, allocations: 0 / 0.9548 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.7537, allocations: 187.6 kB / 0.955 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.7537, allocations: 86.86 kB / 0.9551 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.7538, allocations: 1.422 kB / 0.9551 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.754, allocations: 10.27 kB / 0.9551 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.754, allocations: 6.453 kB / 0.9551 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.754, allocations: 6.031 kB / 0.9551 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.808e-05/0.754, allocations: 82.19 kB / 0.9552 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.11e-07/0.754, allocations: 0 / 0.9552 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002683/0.7543, allocations: 35.2 kB / 0.9552 GB, free: 4.395 MB / 0.7169 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.0007808/0.7551, allocations: 0.7501 MB / 0.956 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003682/0.7555, allocations: 97.16 kB / 0.9561 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7555, allocations: 1.25 kB / 0.9561 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.7557, allocations: 43.33 kB / 0.9561 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.7559, allocations: 24.41 kB / 0.9561 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.7578, allocations: 1.351 MB / 0.9574 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.7579, allocations: 0.6795 MB / 0.9581 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002372/0.7582, allocations: 28.38 kB / 0.9581 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.438e-05/0.7583, allocations: 20.06 kB / 0.9581 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of SimCode: time 8.71e-07/0.7583, allocations: 0 / 0.9581 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.7793, allocations: 2.456 MB / 0.9605 GB, free: 372 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/8.019, allocations: 7.438 kB / 0.9606 GB, free: 368 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.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 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)