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.007823/0.007823, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001793/0.001793, allocations: 191 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.185/2.185, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 55.91 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6885/0.6898, allocations: 140.4 MB / 1.087 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002046/0.6919, allocations: 1.256 MB / 1.089 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004237/0.6923, allocations: 241.7 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.836e-05/0.6923, allocations: 1.188 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.362e-05/0.6924, allocations: 0 / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.93e-05/0.6924, allocations: 0 / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.6927, allocations: 41.33 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.6927, allocations: 22.05 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.332e-05/0.6928, allocations: 0.7969 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.896e-05/0.6928, allocations: 5.906 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.55e-05/0.6929, allocations: 18.28 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.6929, allocations: 1.281 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.693, allocations: 42.38 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.693, allocations: 6.547 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.693, allocations: 12.84 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.6932, allocations: 41.48 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6932, allocations: 0 / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6932, allocations: 3.938 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.6932, allocations: 1.188 kB / 1.089 GB, free: 4.121 MB / 0.8575 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.0003019/0.6935, allocations: 336.8 kB / 1.089 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.6935, allocations: 10.12 kB / 1.089 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.424e-05/0.6936, allocations: 32.53 kB / 1.089 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.6937, allocations: 10.62 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.724e-05/0.6938, allocations: 170 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.6938, allocations: 5.562 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.6938, allocations: 3.078 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.6939, allocations: 42.34 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.6939, allocations: 7.938 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.6939, allocations: 6.016 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.694, allocations: 0 / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.576e-05/0.694, allocations: 14.48 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.6941, allocations: 158.3 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.488e-05/0.6942, allocations: 44.97 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.6943, allocations: 23.97 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.6943, allocations: 1.688 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.6943, allocations: 39.62 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.6943, allocations: 0 / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001971/0.6963, allocations: 0.4964 MB / 1.09 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.908e-05/0.6963, allocations: 56.5 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.345e-05/0.6963, allocations: 89.86 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.6963, allocations: 27.47 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.017e-05/0.6964, allocations: 80.14 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.6964, allocations: 21.5 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.6964, allocations: 20.47 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.263e-05/0.6965, allocations: 321.4 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.253e-05/0.6966, allocations: 26.08 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.407e-05/0.6966, allocations: 23.69 kB / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.6967, allocations: 63.62 kB / 1.091 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.6967, allocations: 0.75 kB / 1.091 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001426/0.6969, allocations: 100.8 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.6969, allocations: 5.375 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6969, allocations: 0.5625 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.6969, allocations: 0.875 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.6971, allocations: 13.19 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.6971, allocations: 9.625 kB / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.486e-05/0.6972, allocations: 1.156 kB / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.6972, allocations: 2.625 kB / 1.091 GB, free: 2.074 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 4.926e-05/0.6972, allocations: 115.6 kB / 1.091 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.6972, allocations: 6.438 kB / 1.091 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.6973, allocations: 13.58 kB / 1.091 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6973, allocations: 1.156 kB / 1.091 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.6973, allocations: 0 / 1.091 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.6973, allocations: 1.922 kB / 1.091 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.861e-05/0.6974, allocations: 179.7 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6974, allocations: 0 / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.6975, allocations: 17.69 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.6976, allocations: 1.156 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.6976, allocations: 4.453 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6976, allocations: 1.281 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.6976, allocations: 0 / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.6978, allocations: 147.5 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.6978, allocations: 94.64 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.6978, allocations: 1.125 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.698, allocations: 6.125 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.698, allocations: 4.297 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.698, allocations: 1.25 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.104e-05/0.698, allocations: 75.28 kB / 1.092 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.698, allocations: 1.344 kB / 1.092 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001914/0.6982, allocations: 13.47 kB / 1.092 GB, free: 1.422 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.0004283/0.6986, allocations: 0.691 MB / 1.093 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.6988, allocations: 54.95 kB / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6989, allocations: 1 kB / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.553e-05/0.6989, allocations: 37.33 kB / 1.093 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.6992, allocations: 6.969 kB / 1.093 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.7008, allocations: 1.268 MB / 1.094 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.7011, allocations: 0.6834 MB / 1.095 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.857e-05/0.7012, allocations: 8.344 kB / 1.095 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.7013, allocations: 15.41 kB / 1.095 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.7013, allocations: 0.8125 kB / 1.095 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01852/0.7198, allocations: 1.651 MB / 1.096 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.375/8.095, allocations: 12.75 kB / 1.096 GB, free: 14.51 MB / 0.8731 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)