Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_8_0_0_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/Buildings 8.0.0/package.mo): time 2.485/2.485, allocations: 284.9 MB / 292.4 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001441/0.001441, allocations: 180.9 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001093, allocations: 88.78 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.837e-05/3.896e-05, allocations: 8 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8946/0.8947, allocations: 115.3 MB / 0.9634 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2392/1.134, allocations: 137.3 MB / 1.098 GB, free: 3.094 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003566/1.134, allocations: 84.41 kB / 1.098 GB, free: 3.016 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008585/1.143, allocations: 1.835 MB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.282e-06/1.143, allocations: 0 / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.921e-06/1.143, allocations: 0.7188 kB / 1.099 GB, free: 1.227 MB / 0.698 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.000411/1.143, allocations: 333.1 kB / 1.1 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/1.143, allocations: 8.031 kB / 1.1 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/1.144, allocations: 18.22 kB / 1.1 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/1.144, allocations: 167 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/1.144, allocations: 0 / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/1.144, allocations: 4.812 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.821e-05/1.144, allocations: 15.98 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.836e-05/1.144, allocations: 38.3 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.144, allocations: 0.8438 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/1.144, allocations: 0 / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/1.144, allocations: 0 / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/1.144, allocations: 155.1 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/1.144, allocations: 43.17 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.23e-05/1.145, allocations: 21.56 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/1.145, allocations: 0.9062 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/1.145, allocations: 31.62 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.944e-06/1.145, allocations: 4 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.003197/1.148, allocations: 467.8 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/1.148, allocations: 55.41 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.988e-05/1.148, allocations: 85 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/1.148, allocations: 27.33 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/1.148, allocations: 80.14 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/1.148, allocations: 27.64 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/1.148, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.148, allocations: 316.2 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.232e-05/1.148, allocations: 20 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/1.148, allocations: 20 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.501e-05/1.149, allocations: 27.98 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.149, allocations: 7.891 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002693/1.149, allocations: 81.59 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/1.149, allocations: 5.094 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.149, allocations: 0 / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/1.149, allocations: 0 / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/1.149, allocations: 19.92 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/1.149, allocations: 0 / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/1.149, allocations: 4 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/1.149, allocations: 0 / 1.101 GB, free: 14.97 MB / 0.7136 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 (9): * Single equations (assignments): 9 * 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.0001033/1.149, allocations: 112.8 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002047/1.15, allocations: 79.33 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/1.15, allocations: 4 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.857e-05/1.15, allocations: 18.42 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/1.15, allocations: 0 / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.15, allocations: 0 / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/1.15, allocations: 0 / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/1.15, allocations: 166.1 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.15, allocations: 0 / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/1.15, allocations: 15.94 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/1.15, allocations: 7.984 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/1.15, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/1.15, allocations: 4 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.15, allocations: 3.188 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/1.151, allocations: 127 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/1.151, allocations: 81.14 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/1.151, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/1.151, allocations: 13.64 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/1.151, allocations: 0 / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/1.151, allocations: 8 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.095e-05/1.151, allocations: 75.28 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.375e-06/1.151, allocations: 0 / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002818/1.151, allocations: 15.94 kB / 1.102 GB, free: 14.18 MB / 0.7136 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 (8): * Single equations (assignments): 8 * 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.0007337/1.152, allocations: 0.6787 MB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002081/1.152, allocations: 55.94 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.152, allocations: 0 / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/1.152, allocations: 31.98 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/1.153, allocations: 2.625 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/1.154, allocations: 142.1 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/1.154, allocations: 0.6846 MB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001574/1.154, allocations: 12.19 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.281e-05/1.154, allocations: 11.44 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of SimCode: time 3.327e-06/1.154, allocations: 3.938 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03734/1.192, allocations: 1.073 MB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003782/1.192, allocations: 204.9 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.296/3.488, allocations: 0 / 1.105 GB, free: 11.18 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)