Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.528/1.528, allocations: 249.3 MB / 261.8 MB, free: 5.887 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.001128/0.001128, allocations: 180.9 kB / 321.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0009425/0.0009428, allocations: 98.47 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.671e-05/4.673e-05, allocations: 8 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2749, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8625/1.137, allocations: 132.1 MB / 1.021 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/1.138, allocations: 72.64 kB / 1.021 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00312/1.141, allocations: 0.9837 MB / 1.022 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.453e-06/1.141, allocations: 3.938 kB / 1.022 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.203e-06/1.141, allocations: 0 / 1.022 GB, free: 1.711 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004213/1.141, allocations: 339 kB / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/1.142, allocations: 8.031 kB / 1.022 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/1.142, allocations: 30.56 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/1.142, allocations: 11.98 kB / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/1.142, allocations: 163 kB / 1.022 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/1.142, allocations: 4 kB / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/1.142, allocations: 0 / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/1.142, allocations: 41.05 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/1.142, allocations: 0 / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/1.142, allocations: 0 / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.142, allocations: 0 / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.854e-05/1.142, allocations: 18.31 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/1.142, allocations: 250.9 kB / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.784e-05/1.143, allocations: 29.8 kB / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.956e-05/1.143, allocations: 15.52 kB / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/1.143, allocations: 0 / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/1.143, allocations: 34.5 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/1.143, allocations: 2.734 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000155/1.143, allocations: 45.14 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/1.143, allocations: 51.41 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/1.143, allocations: 96.48 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/1.143, allocations: 25.7 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/1.143, allocations: 84.08 kB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/1.143, allocations: 6.906 kB / 1.023 GB, free: 324 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/1.143, allocations: 4 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001944/1.143, allocations: 315 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.087e-05/1.143, allocations: 11.22 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.183e-05/1.143, allocations: 0 / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.62e-05/1.143, allocations: 11.92 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.143, allocations: 0 / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001104/1.143, allocations: 45.52 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.144, allocations: 4 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.144, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/1.144, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/1.144, allocations: 16.08 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/1.144, allocations: 4 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.622e-05/1.144, allocations: 7.984 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/1.144, allocations: 0 / 1.023 GB, free: 15.9 MB / 0.6511 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 9.663e-05/1.144, allocations: 108.9 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/1.144, allocations: 0 / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/1.144, allocations: 67.45 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.144, allocations: 0 / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.144, allocations: 3.938 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/1.144, allocations: 0 / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/1.144, allocations: 170 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.144, allocations: 0 / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.365e-05/1.144, allocations: 11.98 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/1.144, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/1.144, allocations: 3.75 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.144, allocations: 5.062 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.144, allocations: 4 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/1.145, allocations: 142 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/1.145, allocations: 77.39 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/1.145, allocations: 3.938 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.781e-05/1.145, allocations: 11.98 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/1.145, allocations: 3.984 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/1.145, allocations: 8 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.402e-05/1.145, allocations: 78.91 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.145, allocations: 4 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002014/1.145, allocations: 4 kB / 1.024 GB, free: 15.13 MB / 0.6511 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 (3): * Single equations (assignments): 3 * 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.0004359/1.145, allocations: 0.6719 MB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.025e-05/1.146, allocations: 23.12 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.146, allocations: 3.438 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.511e-05/1.146, allocations: 8 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/1.146, allocations: 3.875 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/1.146, allocations: 86.14 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/1.146, allocations: 0.6887 MB / 1.026 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.744e-05/1.146, allocations: 8 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/1.147, allocations: 11 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of SimCode: time 3.61e-07/1.147, allocations: 4 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01133/1.158, allocations: 1.097 MB / 1.027 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/1.158, allocations: 183.4 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/2.69, allocations: 0 / 1.027 GB, free: 12.38 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)