Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.466/1.466, allocations: 249.5 MB / 257 MB, free: 6.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 183.6 kB / 316.3 MB, free: 3.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008728/0.0008728, allocations: 91.45 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.623e-05/2.631e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2164, allocations: 106.4 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7405/0.957, allocations: 132.9 MB / 1.015 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.9573, allocations: 78.89 kB / 1.015 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00535/0.9626, allocations: 1.763 MB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9627, allocations: 0 / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.9627, allocations: 0 / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003061/0.963, allocations: 346.4 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.963, allocations: 9.062 kB / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000335/0.9634, allocations: 23.97 kB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.9635, allocations: 167 kB / 1.017 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.9635, allocations: 3.984 kB / 1.017 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.9636, allocations: 4 kB / 1.017 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.541e-05/0.9636, allocations: 10.12 kB / 1.017 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.309e-05/0.9637, allocations: 49.61 kB / 1.017 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.9638, allocations: 0 / 1.017 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.9638, allocations: 0 / 1.017 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.9638, allocations: 0 / 1.017 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.9639, allocations: 141.5 kB / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.586e-05/0.964, allocations: 37.59 kB / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.731e-05/0.9641, allocations: 12.67 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.9641, allocations: 4 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.9641, allocations: 38.55 kB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.763e-06/0.9641, allocations: 0 / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001546/0.9643, allocations: 51.86 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.9643, allocations: 51.41 kB / 1.018 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.099e-05/0.9644, allocations: 92.5 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.9644, allocations: 25.7 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.9644, allocations: 80.14 kB / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.9645, allocations: 11.88 kB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.9645, allocations: 0 / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.9646, allocations: 314.8 kB / 1.018 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.9646, allocations: 7.812 kB / 1.018 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.31e-05/0.9646, allocations: 4 kB / 1.018 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.269e-05/0.9647, allocations: 11.3 kB / 1.018 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9647, allocations: 4 kB / 1.018 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.76e-05/0.9648, allocations: 49.02 kB / 1.018 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.9648, allocations: 6.281 kB / 1.018 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.9648, allocations: 4 kB / 1.018 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.9648, allocations: 0 / 1.018 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.801e-05/0.9649, allocations: 11.92 kB / 1.018 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.9649, allocations: 4 kB / 1.018 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.543e-05/0.965, allocations: 3.906 kB / 1.018 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.965, allocations: 3.984 kB / 1.018 GB, free: 1.195 MB / 0.6355 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 (2): * Single equations (assignments): 2 * 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 7.555e-05/0.9651, allocations: 105 kB / 1.018 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.983e-05/0.9652, allocations: 56.83 kB / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-06/0.9652, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.9652, allocations: 7.703 kB / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.9652, allocations: 4 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.9653, allocations: 3.828 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.9653, allocations: 3.984 kB / 1.019 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.46e-05/0.9654, allocations: 137.6 kB / 1.019 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.9654, allocations: 0 / 1.019 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.549e-05/0.9655, allocations: 4.812 kB / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.9655, allocations: 4.031 kB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.9655, allocations: 3.984 kB / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.9655, allocations: 4 kB / 1.019 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.9655, allocations: 3.938 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.9656, allocations: 74.28 kB / 1.019 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/0.9657, allocations: 89.05 kB / 1.019 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.9657, allocations: 4 kB / 1.019 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.965e-05/0.9658, allocations: 8.016 kB / 1.019 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.9658, allocations: 0 / 1.019 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.9658, allocations: 4 kB / 1.019 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.141e-05/0.9659, allocations: 78.41 kB / 1.019 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9659, allocations: 0 / 1.019 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001926/0.9661, allocations: 12 kB / 1.019 GB, free: 0.5352 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0004389/0.9665, allocations: 0.6379 MB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.48e-05/0.9666, allocations: 21.61 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.9666, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.862e-05/0.9667, allocations: 7.125 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.9668, allocations: 7.984 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.9671, allocations: 92.06 kB / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.9674, allocations: 0.6768 MB / 1.02 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.633e-05/0.9675, allocations: 15.92 kB / 1.02 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.9675, allocations: 18.92 kB / 1.02 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of SimCode: time 1.463e-06/0.9675, allocations: 3.938 kB / 1.02 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.9858, allocations: 1.042 MB / 1.021 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.9861, allocations: 175.9 kB / 1.022 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/2.579, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)