Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.001801/0.001801, allocations: 108 kB / 15.6 MB, free: 132 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.002009/0.002009, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.321/2.321, allocations: 390.3 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5693/0.5707, allocations: 140.4 MB / 0.9497 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001924/0.5726, allocations: 1.251 MB / 0.951 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003894/0.573, allocations: 233.2 kB / 0.9512 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.551e-05/0.5731, allocations: 0 / 0.9512 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.257e-05/0.5731, allocations: 0 / 0.9512 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.288e-05/0.5731, allocations: 0 / 0.9512 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.5734, allocations: 43.89 kB / 0.9512 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.023e-05/0.5734, allocations: 17.52 kB / 0.9512 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.5735, allocations: 1.219 kB / 0.9512 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.898e-05/0.5735, allocations: 5 kB / 0.9512 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.046e-05/0.5736, allocations: 24.09 kB / 0.9513 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.5736, allocations: 1.5 kB / 0.9513 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.693e-05/0.5737, allocations: 42.33 kB / 0.9513 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.5737, allocations: 1.469 kB / 0.9513 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.5737, allocations: 12.16 kB / 0.9513 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.5738, allocations: 43.55 kB / 0.9514 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5738, allocations: 0 / 0.9514 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5738, allocations: 1.031 kB / 0.9514 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.5738, allocations: 0 / 0.9514 GB, free: 8.184 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002686/0.5741, allocations: 332 kB / 0.9517 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.5742, allocations: 10.09 kB / 0.9517 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.613e-05/0.5742, allocations: 36.25 kB / 0.9517 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.5743, allocations: 19.42 kB / 0.9517 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.392e-05/0.5744, allocations: 172.3 kB / 0.9519 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.5744, allocations: 1.812 kB / 0.9519 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.5744, allocations: 1.688 kB / 0.9519 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.428e-05/0.5745, allocations: 47.23 kB / 0.952 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.5745, allocations: 7.875 kB / 0.952 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.5745, allocations: 8 kB / 0.952 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5745, allocations: 1.594 kB / 0.952 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/0.5746, allocations: 7.875 kB / 0.952 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001046/0.5747, allocations: 159.3 kB / 0.9521 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.406e-05/0.5748, allocations: 49.44 kB / 0.9522 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.232e-05/0.5748, allocations: 18.23 kB / 0.9522 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.5748, allocations: 1.531 kB / 0.9522 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.5749, allocations: 38.56 kB / 0.9522 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.021e-06/0.5749, allocations: 1.469 kB / 0.9522 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.001897/0.5768, allocations: 0.4963 MB / 0.9527 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.787e-05/0.5768, allocations: 52.84 kB / 0.9528 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.357e-05/0.5768, allocations: 89.86 kB / 0.9529 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.5768, allocations: 25.7 kB / 0.9529 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.266e-05/0.5768, allocations: 85.67 kB / 0.953 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.5769, allocations: 29.95 kB / 0.953 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.5769, allocations: 19.34 kB / 0.953 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.509e-05/0.577, allocations: 323.9 kB / 0.9533 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.113e-05/0.577, allocations: 20.53 kB / 0.9533 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-05/0.577, allocations: 22.89 kB / 0.9534 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.032e-05/0.5771, allocations: 55.33 kB / 0.9534 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5771, allocations: 1.094 kB / 0.9534 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001267/0.5773, allocations: 99.41 kB / 0.9535 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.5773, allocations: 5.844 kB / 0.9535 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.5773, allocations: 0 / 0.9535 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5773, allocations: 1.406 kB / 0.9535 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.5775, allocations: 15.98 kB / 0.9535 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.5775, allocations: 4 kB / 0.9535 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.604e-05/0.5775, allocations: 5.312 kB / 0.9535 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.5776, allocations: 5.203 kB / 0.9535 GB, free: 6.027 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 (9): * Single equations (assignments): 9 * 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.701e-05/0.5776, allocations: 112.1 kB / 0.9537 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.5776, allocations: 10.38 kB / 0.9537 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.5777, allocations: 15.95 kB / 0.9537 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5777, allocations: 1.188 kB / 0.9537 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5777, allocations: 0 / 0.9537 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.5777, allocations: 5.125 kB / 0.9537 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.374e-05/0.5778, allocations: 188.3 kB / 0.9539 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5778, allocations: 0 / 0.9539 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.5779, allocations: 15.72 kB / 0.9539 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5779, allocations: 1.219 kB / 0.9539 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.5779, allocations: 1.031 kB / 0.9539 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.578, allocations: 0 / 0.9539 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.578, allocations: 1.625 kB / 0.9539 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.5782, allocations: 149.7 kB / 0.954 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.497e-05/0.5782, allocations: 90.53 kB / 0.9541 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.5782, allocations: 1.312 kB / 0.9541 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.5783, allocations: 7.312 kB / 0.9541 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.5783, allocations: 2.062 kB / 0.9541 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.5784, allocations: 5.953 kB / 0.9541 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.039e-05/0.5784, allocations: 76.34 kB / 0.9542 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5784, allocations: 0 / 0.9542 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001934/0.5786, allocations: 13.28 kB / 0.9542 GB, free: 5.344 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 (8): * Single equations (assignments): 8 * 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.0003212/0.5789, allocations: 0.6906 MB / 0.9549 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001452/0.5791, allocations: 70.92 kB / 0.955 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5791, allocations: 0 / 0.955 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.491e-05/0.5791, allocations: 30.75 kB / 0.955 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.5793, allocations: 15.36 kB / 0.955 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009984/0.5803, allocations: 1.264 MB / 0.9562 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.347e-05/0.5804, allocations: 0.6833 MB / 0.9569 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.192e-05/0.5805, allocations: 7.5 kB / 0.9569 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.5806, allocations: 13.66 kB / 0.9569 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5806, allocations: 1.156 kB / 0.9569 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01728/0.5979, allocations: 1.616 MB / 0.9585 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.227/7.825, allocations: 9.953 kB / 0.9585 GB, free: 1.871 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_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_WaterVaporPressureDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)