Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.647/1.647, allocations: 285.4 MB / 298 MB, free: 5.949 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.001014/0.001014, allocations: 176.8 kB / 366.4 MB, free: 2.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.1 MB / 0.6248 GB, free: 7.754 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.001017/0.001017, allocations: 99.28 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.336e-05/4.351e-05, allocations: 4 kB / 0.8584 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7531/0.7532, allocations: 115.3 MB / 0.971 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.831, allocations: 404.3 MB / 1.366 GB, free: 155.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/1.831, allocations: 89.52 kB / 1.366 GB, free: 155 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.615/3.446, allocations: 478.3 MB / 1.833 GB, free: 161.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.593e-06/3.446, allocations: 0 / 1.833 GB, free: 161.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002488/3.446, allocations: 42.91 kB / 1.833 GB, free: 161 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003861/3.45, allocations: 1.522 MB / 1.834 GB, free: 159.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/3.45, allocations: 8.031 kB / 1.834 GB, free: 159.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003661/3.45, allocations: 122.6 kB / 1.835 GB, free: 159.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/3.452, allocations: 237.9 kB / 1.835 GB, free: 159.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005147/3.457, allocations: 1.935 MB / 1.837 GB, free: 157.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.95e-05/3.457, allocations: 62 kB / 1.837 GB, free: 157.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000287/3.457, allocations: 88 kB / 1.837 GB, free: 157 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/3.459, allocations: 0.914 MB / 1.838 GB, free: 156 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/3.459, allocations: 7.875 kB / 1.838 GB, free: 156 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/3.459, allocations: 35.98 kB / 1.838 GB, free: 156 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/3.459, allocations: 23.95 kB / 1.838 GB, free: 155.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/3.461, allocations: 0.6364 MB / 1.838 GB, free: 155.3 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006191/3.467, allocations: 4.599 MB / 1.843 GB, free: 150.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008086/3.468, allocations: 0.5425 MB / 1.843 GB, free: 149.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/3.468, allocations: 286.1 kB / 1.844 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00301/3.471, allocations: 1.708 MB / 1.845 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005405/3.472, allocations: 310.3 kB / 1.846 GB, free: 147.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008897/3.473, allocations: 111.4 kB / 1.846 GB, free: 147.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=46): time 7.453e-06/3.473, allocations: 0 / 1.846 GB, free: 147.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=46): time 0.001641/3.474, allocations: 0.648 MB / 1.846 GB, free: 146.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/3.474, allocations: 59.41 kB / 1.846 GB, free: 146.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/3.477, allocations: 1.105 MB / 1.848 GB, free: 145.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.681e-05/3.477, allocations: 41.7 kB / 1.848 GB, free: 145.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007139/3.478, allocations: 0.6501 MB / 1.848 GB, free: 144.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/3.478, allocations: 155.9 kB / 1.848 GB, free: 144.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/3.478, allocations: 16 kB / 1.848 GB, free: 144.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.851e-05/3.478, allocations: 330 kB / 1.849 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/3.478, allocations: 201.5 kB / 1.849 GB, free: 144.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/3.479, allocations: 0.5453 MB / 1.849 GB, free: 143.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/3.479, allocations: 309.3 kB / 1.85 GB, free: 143.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/3.479, allocations: 4 kB / 1.85 GB, free: 143.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001801/3.481, allocations: 0.9514 MB / 1.851 GB, free: 142.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00108/3.482, allocations: 3.052 MB / 1.854 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/3.482, allocations: 4 kB / 1.854 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000423/3.483, allocations: 140.8 kB / 1.854 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/3.483, allocations: 151.7 kB / 1.854 GB, free: 138.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006972/3.484, allocations: 0.759 MB / 1.855 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/3.485, allocations: 83.86 kB / 1.855 GB, free: 137.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/3.485, allocations: 43.98 kB / 1.855 GB, free: 137.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/3.485, allocations: 4 kB / 1.855 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001388/3.487, allocations: 0.8542 MB / 1.856 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/3.487, allocations: 8.094 kB / 1.856 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/3.487, allocations: 120.4 kB / 1.856 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004717/3.488, allocations: 135.8 kB / 1.856 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/3.489, allocations: 2.195 MB / 1.858 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/3.491, allocations: 79.91 kB / 1.858 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.431e-05/3.491, allocations: 35.95 kB / 1.858 GB, free: 134.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002426/3.491, allocations: 154.3 kB / 1.858 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003293/3.491, allocations: 130.4 kB / 1.858 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/3.493, allocations: 0.818 MB / 1.859 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/3.493, allocations: 11.95 kB / 1.859 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/3.493, allocations: 0 / 1.859 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009526/3.494, allocations: 0.8234 MB / 1.86 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/3.498, allocations: 1.818 MB / 1.862 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/3.498, allocations: 0 / 1.862 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004263/3.498, allocations: 83.88 kB / 1.862 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000301/3.498, allocations: 132 kB / 1.862 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/3.499, allocations: 15.98 kB / 1.862 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005405/3.499, allocations: 0.7441 MB / 1.863 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/3.499, allocations: 0 / 1.863 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/3.501, allocations: 1.161 MB / 1.864 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007806/3.501, allocations: 259.4 kB / 1.864 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003605/3.502, allocations: 15.94 kB / 1.864 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009503/3.503, allocations: 71.84 kB / 1.864 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/3.503, allocations: 36.38 kB / 1.864 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.058e-05/3.503, allocations: 23.98 kB / 1.864 GB, free: 127.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001368/3.504, allocations: 0.8681 MB / 1.865 GB, free: 126.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.81e-07/3.504, allocations: 0 / 1.865 GB, free: 126.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002746/3.507, allocations: 0.721 MB / 1.866 GB, free: 126 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003204/3.51, allocations: 2.446 MB / 1.868 GB, free: 123.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00206/3.512, allocations: 1.267 MB / 1.869 GB, free: 122.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/3.512, allocations: 0 / 1.869 GB, free: 122.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004777/3.513, allocations: 302.2 kB / 1.87 GB, free: 122 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/3.515, allocations: 0.5568 MB / 1.87 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004369/3.52, allocations: 2.085 MB / 1.872 GB, free: 119.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007506/3.521, allocations: 1.301 MB / 1.874 GB, free: 118 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002006/3.523, allocations: 0.5636 MB / 1.874 GB, free: 117.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005317/3.523, allocations: 471.3 kB / 1.875 GB, free: 117 MB / 0.948 GB Notification: Performance of SimCode: time 1.843e-06/3.523, allocations: 0 / 1.875 GB, free: 117 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06583/3.589, allocations: 44 MB / 1.918 GB, free: 73.36 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/3.589, allocations: 224.5 kB / 1.918 GB, free: 73.13 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.594/7.184, allocations: 0 / 1.918 GB, free: 73.13 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)