Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001392/0.001392, allocations: 180.5 kB / 326.5 MB, free: 2.273 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.092/2.092, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.0009272/0.0009271, allocations: 96.05 kB / 0.6821 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.000369, allocations: 8.594 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2646, allocations: 106.3 MB / 0.9002 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1967/0.4613, allocations: 132.9 MB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/0.4617, allocations: 87.94 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009797/0.4715, allocations: 2.845 MB / 1.033 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4716, allocations: 4 kB / 1.033 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.4716, allocations: 0 / 1.033 GB, free: 8.344 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.0004678/0.4721, allocations: 363.2 kB / 1.033 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.516e-05/0.4721, allocations: 12.03 kB / 1.033 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.4722, allocations: 30.56 kB / 1.033 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003935/0.4726, allocations: 27.91 kB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.4727, allocations: 175 kB / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.4728, allocations: 4 kB / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.4728, allocations: 4 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.473, allocations: 53.66 kB / 1.034 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.473, allocations: 0 / 1.034 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.473, allocations: 0 / 1.034 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.473, allocations: 0 / 1.034 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.4732, allocations: 35.97 kB / 1.034 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002162/0.4734, allocations: 165.5 kB / 1.034 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.4737, allocations: 66.47 kB / 1.034 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.4738, allocations: 0 / 1.034 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.4738, allocations: 46.56 kB / 1.034 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 2.755e-06/0.4738, allocations: 3.984 kB / 1.034 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.003829/0.4777, allocations: 0.5798 MB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.4777, allocations: 51.41 kB / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.169e-05/0.4778, allocations: 101 kB / 1.035 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.4778, allocations: 29.64 kB / 1.035 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.4779, allocations: 80.14 kB / 1.035 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/0.4779, allocations: 19.75 kB / 1.035 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.4779, allocations: 0 / 1.035 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.478, allocations: 318.8 kB / 1.035 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.4782, allocations: 45.84 kB / 1.035 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.4783, allocations: 35.97 kB / 1.035 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.4785, allocations: 31.98 kB / 1.035 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4785, allocations: 0 / 1.035 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003424/0.4788, allocations: 133.5 kB / 1.035 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.4789, allocations: 8 kB / 1.035 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.4789, allocations: 0 / 1.035 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.4789, allocations: 0 / 1.035 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.4791, allocations: 27.91 kB / 1.035 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4791, allocations: 0 / 1.035 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.4793, allocations: 11.98 kB / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.4794, allocations: 11.98 kB / 1.035 GB, free: 5.645 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 9.142e-05/0.4795, allocations: 109.8 kB / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.4795, allocations: 4 kB / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.049e-05/0.4796, allocations: 11.97 kB / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4796, allocations: 0 / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4796, allocations: 0 / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4796, allocations: 3.938 kB / 1.035 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.4798, allocations: 196.3 kB / 1.036 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4798, allocations: 0 / 1.036 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.48, allocations: 27.95 kB / 1.036 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.4801, allocations: 0 / 1.036 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.4801, allocations: 0 / 1.036 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4801, allocations: 4 kB / 1.036 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4801, allocations: 4 kB / 1.036 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005307/0.4806, allocations: 197 kB / 1.036 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.4807, allocations: 81.16 kB / 1.036 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.4807, allocations: 12.03 kB / 1.036 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.4809, allocations: 4 kB / 1.036 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.4809, allocations: 8.109 kB / 1.036 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.481, allocations: 11.98 kB / 1.036 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.481, allocations: 75.28 kB / 1.036 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.481, allocations: 0 / 1.036 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002762/0.4813, allocations: 36 kB / 1.036 GB, free: 4.777 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.0009339/0.4822, allocations: 0.7791 MB / 1.037 GB, free: 3.973 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003312/0.4826, allocations: 83.92 kB / 1.037 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4826, allocations: 0 / 1.037 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.4827, allocations: 55.95 kB / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.4829, allocations: 7.047 kB / 1.037 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.4843, allocations: 0.5201 MB / 1.037 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.4845, allocations: 0.6809 MB / 1.038 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002431/0.4848, allocations: 32.03 kB / 1.038 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.277e-05/0.4849, allocations: 27.41 kB / 1.038 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of SimCode: time 1.503e-06/0.4849, allocations: 0 / 1.038 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.4996, allocations: 2.256 MB / 1.04 GB, free: 476 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/0.4999, allocations: 240.5 kB / 1.041 GB, free: 196 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/2.077, allocations: 0 / 1.041 GB, free: 196 kB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)