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.007571/0.007571, allocations: 96.56 kB / 15.73 MB, free: 6.031 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.001758/0.001758, allocations: 194.6 kB / 16.68 MB, free: 5.961 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.351/2.351, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 66.5 kB / 0.9504 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3463, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002166/0.3485, allocations: 1.254 MB / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004652/0.349, allocations: 231.6 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.07e-05/0.349, allocations: 0 / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.349, allocations: 0 / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.991e-05/0.3491, allocations: 11.92 kB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.3494, allocations: 39.83 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.839e-05/0.3494, allocations: 27.8 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.375e-05/0.3495, allocations: 0 / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.298e-05/0.3495, allocations: 7.984 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.3496, allocations: 11.98 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.3496, allocations: 4 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.3497, allocations: 47.95 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.3497, allocations: 3.938 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.3498, allocations: 11.98 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.3499, allocations: 43.11 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3499, allocations: 0 / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3499, allocations: 4 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3499, allocations: 0 / 1.089 GB, free: 328 kB / 0.8419 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.0003627/0.3503, allocations: 337.3 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3503, allocations: 8.031 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.901e-05/0.3504, allocations: 30.75 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.3505, allocations: 12.92 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.349e-05/0.3506, allocations: 164.4 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.3506, allocations: 4.375 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.3506, allocations: 8.359 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.3508, allocations: 46.19 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3508, allocations: 7.922 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3508, allocations: 4 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3508, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.512e-05/0.3509, allocations: 12 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.351, allocations: 165.6 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.556e-05/0.3511, allocations: 46.62 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.518e-05/0.3511, allocations: 16.98 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.3512, allocations: 3.984 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.3512, allocations: 38.5 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3512, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.002047/0.3532, allocations: 498.1 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.3533, allocations: 51.41 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.278e-05/0.3533, allocations: 93.86 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.3534, allocations: 25.7 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.3534, allocations: 84.14 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.3534, allocations: 35.72 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.3535, allocations: 21.66 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.3536, allocations: 318.8 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.73e-05/0.3537, allocations: 20 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-05/0.3537, allocations: 27.92 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.3538, allocations: 60.8 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3538, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001452/0.354, allocations: 97.56 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.354, allocations: 11.98 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.354, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.354, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.3542, allocations: 12 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3542, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.766e-05/0.3543, allocations: 4.438 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.3543, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 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 7.818e-05/0.3543, allocations: 115.8 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.3544, allocations: 11.88 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.691e-05/0.3544, allocations: 15.97 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3544, allocations: 0 / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3544, allocations: 8 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3545, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.3546, allocations: 175.3 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3546, allocations: 3.938 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.3547, allocations: 15.94 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.3547, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.3548, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3548, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3548, allocations: 288 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.355, allocations: 157 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.3551, allocations: 85 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.3551, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3552, allocations: 4.031 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.3552, allocations: 11.92 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.3552, allocations: 4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.615e-05/0.3553, allocations: 79.34 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3553, allocations: 7.938 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001933/0.3555, allocations: 8 kB / 1.092 GB, free: 13.03 MB / 0.8575 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.0004383/0.3559, allocations: 0.6789 MB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.3561, allocations: 59.91 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3561, allocations: 4.062 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.25e-05/0.3561, allocations: 35.94 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.3564, allocations: 9.797 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.3577, allocations: 1.276 MB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.3579, allocations: 0.6807 MB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.084e-05/0.358, allocations: 11.92 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.358, allocations: 19.44 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.358, allocations: 0 / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.3767, allocations: 1.644 MB / 1.096 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.378/7.755, allocations: 13.08 kB / 1.096 GB, free: 8.664 MB / 0.8575 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)