Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.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.Example3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example3",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.675/1.675, allocations: 288.2 MB / 303.2 MB, free: 8.172 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.001095/0.001095, allocations: 181 kB / 371.8 MB, free: 10.27 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.29/1.29, allocations: 205.4 MB / 0.6305 GB, free: 9.969 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008619/0.0008619, allocations: 102.9 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003761, allocations: 14.81 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1591, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.01917/0.1783, allocations: 27.5 MB / 1.006 GB, free: 32 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01501/0.1934, allocations: 11.6 MB / 1.018 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.1945, allocations: 35.75 kB / 1.018 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.1963, allocations: 0.6065 MB / 1.018 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003572/0.1999, allocations: 1.455 MB / 1.02 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00568/0.2056, allocations: 2.285 MB / 1.022 GB, free: 44 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00377/0.2094, allocations: 2.831 MB / 1.025 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.2117, allocations: 1.604 MB / 1.026 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002295/0.214, allocations: 1.316 MB / 1.028 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.2155, allocations: 0.9333 MB / 1.028 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002892/0.2158, allocations: 72 kB / 1.029 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.2176, allocations: 0.7647 MB / 1.029 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004302/0.218, allocations: 350.6 kB / 1.03 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0005486/0.2186, allocations: 404.6 kB / 1.03 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.2209, allocations: 2.1 MB / 1.032 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.2209, allocations: 0 / 1.032 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2209, allocations: 0 / 1.032 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.384e-05/0.221, allocations: 4 kB / 1.032 GB, free: 5.629 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003634/0.2246, allocations: 2.077 MB / 1.034 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2247, allocations: 12.03 kB / 1.034 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002273/0.2249, allocations: 139.8 kB / 1.034 GB, free: 3.328 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.2261, allocations: 305.3 kB / 1.035 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002882/0.2289, allocations: 1.571 MB / 1.036 GB, free: 1.41 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.258e-05/0.229, allocations: 82 kB / 1.036 GB, free: 1.328 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.2292, allocations: 104 kB / 1.036 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.2314, allocations: 1.315 MB / 1.038 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.2314, allocations: 4 kB / 1.038 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.2315, allocations: 44 kB / 1.038 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.2316, allocations: 24 kB / 1.038 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.2336, allocations: 1.038 MB / 1.039 GB, free: 14.73 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008073/0.2417, allocations: 6.939 MB / 1.045 GB, free: 7.309 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.2432, allocations: 0.6586 MB / 1.046 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002872/0.2461, allocations: 1.865 MB / 1.048 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000812/0.2469, allocations: 397 kB / 1.048 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005284/0.2474, allocations: 107.2 kB / 1.048 GB, free: 4.125 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=46): time 3.196e-06/0.2475, allocations: 4 kB / 1.048 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46): time 0.004061/0.2515, allocations: 1.515 MB / 1.05 GB, free: 2.574 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.2516, allocations: 59.39 kB / 1.05 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.2539, allocations: 1.854 MB / 1.052 GB, free: 0.6055 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/0.2539, allocations: 41.7 kB / 1.052 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007222/0.2547, allocations: 0.858 MB / 1.053 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.2548, allocations: 165.7 kB / 1.053 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.2549, allocations: 16 kB / 1.053 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.255, allocations: 337.9 kB / 1.053 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007317/0.2557, allocations: 309.8 kB / 1.053 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009647/0.2567, allocations: 0.7682 MB / 1.054 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008198/0.2575, allocations: 450.3 kB / 1.055 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.2576, allocations: 4 kB / 1.055 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002891/0.2605, allocations: 1.335 MB / 1.056 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001528/0.262, allocations: 4.219 MB / 1.06 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.262, allocations: 12 kB / 1.06 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008376/0.2629, allocations: 228.5 kB / 1.06 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.2636, allocations: 183.7 kB / 1.06 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007865/0.2644, allocations: 0.8267 MB / 1.061 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.2657, allocations: 130.4 kB / 1.061 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.63e-05/0.2658, allocations: 43.98 kB / 1.061 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.2659, allocations: 4 kB / 1.061 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001867/0.2677, allocations: 1.024 MB / 1.062 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.2678, allocations: 8.094 kB / 1.062 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003802/0.2682, allocations: 165.5 kB / 1.062 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/0.2687, allocations: 163.7 kB / 1.063 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/0.2713, allocations: 2.395 MB / 1.065 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.2725, allocations: 112.5 kB / 1.065 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.311e-05/0.2726, allocations: 43.98 kB / 1.065 GB, free: 2.051 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.000828/0.2735, allocations: 0.5903 MB / 1.066 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/0.2737, allocations: 173.8 kB / 1.066 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.276, allocations: 1.059 MB / 1.067 GB, free: 208 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.276, allocations: 4 kB / 1.067 GB, free: 204 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.276, allocations: 11.94 kB / 1.067 GB, free: 192 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3258/0.6019, allocations: 1.006 MB / 1.068 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005405/0.6073, allocations: 2.296 MB / 1.07 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.6074, allocations: 4.75 kB / 1.07 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/0.6079, allocations: 92.52 kB / 1.07 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003787/0.6083, allocations: 142.4 kB / 1.07 GB, free: 86.53 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.977e-05/0.6084, allocations: 17.53 kB / 1.07 GB, free: 86.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006575/0.609, allocations: 0.8049 MB / 1.071 GB, free: 85.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.6091, allocations: 5.078 kB / 1.071 GB, free: 85.92 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/0.6123, allocations: 1.495 MB / 1.073 GB, free: 85.33 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009499/0.6133, allocations: 348 kB / 1.073 GB, free: 85.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004515/0.6137, allocations: 12.19 kB / 1.073 GB, free: 85.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.615, allocations: 100.1 kB / 1.073 GB, free: 85.17 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.6151, allocations: 46.53 kB / 1.073 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-05/0.6152, allocations: 22.86 kB / 1.073 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002516/0.6177, allocations: 1.289 MB / 1.074 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.92e-07/0.6177, allocations: 0.6875 kB / 1.074 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002802/0.6205, allocations: 0.8537 MB / 1.075 GB, free: 84.59 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.004164/0.6247, allocations: 2.384 MB / 1.078 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00309/0.6278, allocations: 1.508 MB / 1.079 GB, free: 82.65 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6278, allocations: 2.094 kB / 1.079 GB, free: 82.65 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008363/0.6287, allocations: 361.9 kB / 1.079 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004502/0.6332, allocations: 0.8434 MB / 1.08 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008574/0.6418, allocations: 11.96 MB / 1.092 GB, free: 72.34 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/0.6431, allocations: 1.529 MB / 1.093 GB, free: 71.56 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001901/0.645, allocations: 438.1 kB / 1.094 GB, free: 71.48 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008449/0.6459, allocations: 0.657 MB / 1.094 GB, free: 70.98 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/0.6459, allocations: 0 / 1.094 GB, free: 70.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07284/0.7188, allocations: 47.91 MB / 1.141 GB, free: 40.92 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001275/0.7189, allocations: 251.8 kB / 1.141 GB, free: 40.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.258/3.977, allocations: 4 kB / 1.141 GB, free: 40.59 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)