Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_7_0_0_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/Buildings 7.0.1/package.mo): time 2.218/2.218, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001538/0.001538, allocations: 189.8 kB / 325.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.43/2.43, allocations: 205.4 MB / 0.5764 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001205/0.001205, allocations: 97.94 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006994/0.0006994, allocations: 12.38 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2191, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2554/0.4746, allocations: 132.8 MB / 1.028 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000509/0.4752, allocations: 94.94 kB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02325/0.4984, allocations: 2.849 MB / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.775e-06/0.4985, allocations: 0 / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.4985, allocations: 3.938 kB / 1.031 GB, free: 9.586 MB / 0.6823 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.0006507/0.4992, allocations: 364.7 kB / 1.032 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.154e-05/0.4993, allocations: 8.031 kB / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.926e-05/0.4994, allocations: 34.56 kB / 1.032 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008524/0.5002, allocations: 27.92 kB / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.5005, allocations: 171 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.5005, allocations: 4 kB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.5006, allocations: 0 / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.501, allocations: 61.59 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.501, allocations: 0 / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.5011, allocations: 0 / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.5011, allocations: 0 / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003375/0.5014, allocations: 31.97 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.5018, allocations: 173.5 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000727/0.5025, allocations: 62.58 kB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.5026, allocations: 96 / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.5027, allocations: 42.48 kB / 1.032 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 2.564e-06/0.5027, allocations: 0 / 1.032 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.009517/0.5122, allocations: 0.5799 MB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.5123, allocations: 51.41 kB / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.5125, allocations: 89 kB / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/0.5125, allocations: 29.7 kB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.425e-05/0.5127, allocations: 88.12 kB / 1.033 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.5127, allocations: 15.66 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.5128, allocations: 0 / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.513, allocations: 322.8 kB / 1.033 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/0.5134, allocations: 40.08 kB / 1.033 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.5138, allocations: 43.95 kB / 1.034 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.5142, allocations: 37.7 kB / 1.034 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.5143, allocations: 0 / 1.034 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009938/0.5153, allocations: 141.5 kB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.5153, allocations: 5.719 kB / 1.034 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.5153, allocations: 3.938 kB / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.5154, allocations: 0 / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005538/0.516, allocations: 28.03 kB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.516, allocations: 0 / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.5164, allocations: 7.984 kB / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.5165, allocations: 8 kB / 1.034 GB, free: 6.891 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.5167, allocations: 117.8 kB / 1.034 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.5167, allocations: 4 kB / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.5169, allocations: 15.91 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.5169, allocations: 4 kB / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.517, allocations: 0 / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.517, allocations: 0 / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.5174, allocations: 196.3 kB / 1.034 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.5174, allocations: 0 / 1.034 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/0.518, allocations: 19.97 kB / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.518, allocations: 0 / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/0.5181, allocations: 7.984 kB / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.5181, allocations: 0 / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.5181, allocations: 4 kB / 1.034 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.5196, allocations: 193 kB / 1.034 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/0.5197, allocations: 85.08 kB / 1.034 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.5197, allocations: 3.984 kB / 1.034 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004697/0.5202, allocations: 8 kB / 1.034 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.5203, allocations: 7.984 kB / 1.034 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.5203, allocations: 4 kB / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.76e-05/0.5204, allocations: 83.2 kB / 1.034 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.91e-07/0.5205, allocations: 0 / 1.034 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005942/0.5211, allocations: 32 kB / 1.034 GB, free: 6.023 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002121/0.5232, allocations: 0.7647 MB / 1.035 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008744/0.5241, allocations: 91.84 kB / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5242, allocations: 7.938 kB / 1.035 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004272/0.5246, allocations: 56.14 kB / 1.035 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.5249, allocations: 5.031 kB / 1.035 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/0.528, allocations: 0.5201 MB / 1.036 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.5285, allocations: 0.6809 MB / 1.037 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006489/0.5291, allocations: 32.09 kB / 1.037 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.5293, allocations: 27.41 kB / 1.037 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of SimCode: time 1.753e-06/0.5294, allocations: 0 / 1.037 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.5579, allocations: 2.253 MB / 1.039 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003416/0.5583, allocations: 230 kB / 1.039 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/3.041, allocations: 3.094 kB / 1.039 GB, free: 1.469 MB / 0.6823 GB