Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7308/0.7308, allocations: 127.4 MB / 134.9 MB, free: 3.445 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 176.6 kB / 164.7 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.2 MB / 399.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 95.62 kB / 476.7 MB, free: 1.527 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.582e-05/2.577e-05, allocations: 2.969 kB / 0.5467 GB, free: 95.38 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1587, allocations: 76.77 MB / 0.6217 GB, free: 43.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.2933, allocations: 103.2 MB / 0.7224 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.2937, allocations: 91.94 kB / 0.7225 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.009252/0.3029, allocations: 2.957 MB / 0.7254 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.844e-06/0.303, allocations: 0 / 0.7254 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.303, allocations: 0 / 0.7254 GB, free: 0.625 MB / 0.4948 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.000373/0.3034, allocations: 350.4 kB / 0.7258 GB, free: 244 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3034, allocations: 16.02 kB / 0.7258 GB, free: 228 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/0.3038, allocations: 31.92 kB / 0.7258 GB, free: 196 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.3039, allocations: 159.1 kB / 0.7259 GB, free: 16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.3039, allocations: 0 / 0.7259 GB, free: 16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.304, allocations: 4 kB / 0.726 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.723e-05/0.3041, allocations: 19.98 kB / 0.726 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.249e-05/0.3042, allocations: 45.67 kB / 0.726 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3042, allocations: 4 kB / 0.726 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3042, allocations: 0 / 0.726 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3042, allocations: 7.953 kB / 0.726 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.3044, allocations: 138.2 kB / 0.7262 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.3046, allocations: 50.55 kB / 0.7262 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.104e-05/0.3046, allocations: 24.86 kB / 0.7262 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.3047, allocations: 4.078 kB / 0.7262 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.3047, allocations: 30.56 kB / 0.7263 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3047, allocations: 4 kB / 0.7263 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.001605/0.3063, allocations: 434.1 kB / 0.7267 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3064, allocations: 51.41 kB / 0.7267 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.399e-05/0.3064, allocations: 89 kB / 0.7268 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.3065, allocations: 29.7 kB / 0.7268 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.3065, allocations: 80.14 kB / 0.7269 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.3066, allocations: 15.8 kB / 0.7269 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.3066, allocations: 3.938 kB / 0.7269 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3067, allocations: 322.8 kB / 0.7272 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-05/0.3068, allocations: 23.98 kB / 0.7273 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-05/0.3068, allocations: 27.98 kB / 0.7273 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.88e-05/0.3069, allocations: 32.25 kB / 0.7273 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3069, allocations: 4 kB / 0.7273 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001813/0.3071, allocations: 109.4 kB / 0.7274 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3071, allocations: 4 kB / 0.7274 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.3071, allocations: 0 / 0.7274 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3071, allocations: 0 / 0.7274 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.3073, allocations: 23.97 kB / 0.7275 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.3073, allocations: 0 / 0.7275 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.3075, allocations: 7.984 kB / 0.7275 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.3075, allocations: 15.98 kB / 0.7275 GB, free: 14.26 MB / 0.5105 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 () * 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 8.616e-05/0.3076, allocations: 104.9 kB / 0.7276 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001625/0.3078, allocations: 97.58 kB / 0.7277 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.3078, allocations: 4 kB / 0.7277 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.618e-05/0.3079, allocations: 12.41 kB / 0.7277 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3079, allocations: 0 / 0.7277 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3079, allocations: 4 kB / 0.7277 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3079, allocations: 3.953 kB / 0.7277 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.3081, allocations: 157.5 kB / 0.7279 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3081, allocations: 0 / 0.7279 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.3083, allocations: 27.97 kB / 0.7279 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3083, allocations: 0 / 0.7279 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.3083, allocations: 3.984 kB / 0.7279 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3083, allocations: 4.125 kB / 0.7279 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.3083, allocations: 8 kB / 0.7279 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.3086, allocations: 168.9 kB / 0.7281 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.3087, allocations: 81.05 kB / 0.7281 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.3087, allocations: 0 / 0.7281 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.3089, allocations: 12.02 kB / 0.7281 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.3089, allocations: 0 / 0.7281 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3089, allocations: 12.05 kB / 0.7282 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.58e-05/0.309, allocations: 79.28 kB / 0.7282 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.91e-07/0.309, allocations: 0 / 0.7282 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002521/0.3093, allocations: 35.94 kB / 0.7283 GB, free: 13.38 MB / 0.5105 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 () * 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.0006409/0.3099, allocations: 0.7334 MB / 0.729 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.3101, allocations: 71.91 kB / 0.729 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3101, allocations: 0 / 0.729 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.057e-05/0.3102, allocations: 39.91 kB / 0.7291 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.3103, allocations: 5.016 kB / 0.7291 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005986/0.3109, allocations: 151.5 kB / 0.7292 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.3112, allocations: 0.6884 MB / 0.7299 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002411/0.3115, allocations: 35.86 kB / 0.7299 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.567e-05/0.3115, allocations: 19.42 kB / 0.73 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of SimCode: time 2.81e-07/0.3115, allocations: 0 / 0.73 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.3343, allocations: 1.944 MB / 0.7319 GB, free: 9.645 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/0.3346, allocations: 213.5 kB / 0.7321 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.447/1.782, allocations: 2.188 kB / 0.7321 GB, free: 9.352 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)