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.00722/0.00722, allocations: 103.5 kB / 15.74 MB, free: 6.035 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.001783/0.001783, allocations: 194.5 kB / 16.68 MB, free: 5.953 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.16 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.403/2.403, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 58.97 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2643, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002426/0.2668, allocations: 1.288 MB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.2678, allocations: 0.6374 MB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.2678, allocations: 0 / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.2679, allocations: 7.938 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.461e-05/0.2679, allocations: 3.938 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.2685, allocations: 107.6 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.401e-05/0.2686, allocations: 27.92 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.2686, allocations: 11.92 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.993e-05/0.2687, allocations: 4 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.483e-05/0.2687, allocations: 19.91 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.2688, allocations: 4 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003135/0.2691, allocations: 131.8 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.2691, allocations: 12 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.2692, allocations: 11.92 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.2694, allocations: 98.64 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2694, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2694, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.2695, allocations: 0 / 1.09 GB, free: 15.61 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005431/0.27, allocations: 356.1 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.2701, allocations: 8.031 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.445e-05/0.2701, allocations: 42.73 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004279/0.2705, allocations: 24.91 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.2707, allocations: 168.3 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2707, allocations: 384 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.2707, allocations: 4.359 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.2709, allocations: 62.14 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2709, allocations: 7.938 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.271, allocations: 4 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.271, allocations: 4 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.2711, allocations: 23.97 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.2713, allocations: 157.7 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.2716, allocations: 70.58 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.393e-05/0.2717, allocations: 24.94 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.2718, allocations: 0 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.2718, allocations: 34.5 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2718, allocations: 0 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.00335/0.2752, allocations: 0.5837 MB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.2752, allocations: 55.34 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.82e-05/0.2753, allocations: 97.86 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.2753, allocations: 25.7 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.2753, allocations: 84.14 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.2754, allocations: 23.64 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.2754, allocations: 21.7 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.2755, allocations: 326.8 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.2757, allocations: 31.97 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.2758, allocations: 44.08 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.2761, allocations: 88.75 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.2761, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003606/0.2765, allocations: 125.5 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2765, allocations: 4 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.2765, allocations: 3.938 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2766, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.2768, allocations: 23.97 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2768, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.277, allocations: 12 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.277, allocations: 7.984 kB / 1.092 GB, free: 12.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 (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 8.736e-05/0.2771, allocations: 109.8 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.2771, allocations: 11.94 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.822e-05/0.2772, allocations: 11.97 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2772, allocations: 3.984 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.2772, allocations: 0 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2772, allocations: 336 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.2774, allocations: 187.4 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2774, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.2776, allocations: 27.91 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2776, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.2777, allocations: 3.984 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.2777, allocations: 8 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2777, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005843/0.2783, allocations: 185 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.2783, allocations: 89.05 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.2783, allocations: 4.156 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.2785, allocations: 15.98 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.2786, allocations: 4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.2786, allocations: 3.984 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.503e-05/0.2786, allocations: 83.22 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2786, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002519/0.2789, allocations: 36.09 kB / 1.093 GB, free: 11.95 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 (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.0009117/0.2798, allocations: 0.7529 MB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003565/0.2802, allocations: 87.86 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2802, allocations: 0 / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.2804, allocations: 52.02 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.2806, allocations: 7.938 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.2827, allocations: 1.352 MB / 1.095 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.283, allocations: 0.6807 MB / 1.096 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.2831, allocations: 28.03 kB / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.972e-05/0.2832, allocations: 19.41 kB / 1.096 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of SimCode: time 5.11e-07/0.2832, allocations: 0 / 1.096 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.3027, allocations: 2.488 MB / 1.098 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.337/7.639, allocations: 8.281 kB / 1.098 GB, free: 6.527 MB / 0.8575 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)