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.607/1.607, allocations: 288.2 MB / 303.2 MB, free: 8.242 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.001074/0.001074, allocations: 183.2 kB / 371.8 MB, free: 10.3 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.288/1.288, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0008049/0.0008046, allocations: 90.81 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 12.03 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.155, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.01719/0.1722, allocations: 24.91 MB / 1.004 GB, free: 2.664 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01421/0.1864, allocations: 11.12 MB / 1.015 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.1878, allocations: 35.75 kB / 1.015 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.1894, allocations: 0.5716 MB / 1.015 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003205/0.1926, allocations: 1.338 MB / 1.017 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00671/0.1994, allocations: 2.252 MB / 1.019 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003617/0.203, allocations: 2.207 MB / 1.021 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.2043, allocations: 1 MB / 1.022 GB, free: 116 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.2059, allocations: 1.004 MB / 1.023 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000824/0.2067, allocations: 0.6961 MB / 1.024 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.2069, allocations: 52 kB / 1.024 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.2084, allocations: 0.7334 MB / 1.024 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.2087, allocations: 298.8 kB / 1.025 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003001/0.209, allocations: 316.9 kB / 1.025 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.2108, allocations: 1.738 MB / 1.027 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.2108, allocations: 3.938 kB / 1.027 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2108, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.2108, allocations: 0 / 1.027 GB, free: 11.27 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002877/0.2137, allocations: 1.686 MB / 1.028 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2137, allocations: 12.03 kB / 1.028 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/0.2139, allocations: 122.6 kB / 1.028 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009836/0.2149, allocations: 257.8 kB / 1.029 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.2171, allocations: 1.258 MB / 1.03 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/0.2171, allocations: 66 kB / 1.03 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.2173, allocations: 84 kB / 1.03 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.219, allocations: 1.014 MB / 1.031 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.219, allocations: 3.984 kB / 1.031 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.95e-05/0.2191, allocations: 32 kB / 1.031 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.2191, allocations: 20 kB / 1.031 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.2207, allocations: 0.7805 MB / 1.032 GB, free: 5.766 MB / 0.6511 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.005705/0.2264, allocations: 5.003 MB / 1.037 GB, free: 448 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.2279, allocations: 0.6333 MB / 1.037 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002733/0.2306, allocations: 1.882 MB / 1.039 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000765/0.2314, allocations: 359 kB / 1.039 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003283/0.2317, allocations: 107.4 kB / 1.04 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=44): time 2.114e-06/0.2318, allocations: 0 / 1.04 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=44): time 0.003752/0.2355, allocations: 1.36 MB / 1.041 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.2356, allocations: 63.34 kB / 1.041 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.2371, allocations: 1.325 MB / 1.042 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/0.2372, allocations: 45.7 kB / 1.042 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005207/0.2377, allocations: 0.6293 MB / 1.043 GB, free: 9.805 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.2379, allocations: 165.7 kB / 1.043 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.2379, allocations: 11.98 kB / 1.043 GB, free: 9.629 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.238, allocations: 337.9 kB / 1.043 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006321/0.2387, allocations: 265.8 kB / 1.044 GB, free: 9.035 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008665/0.2396, allocations: 0.6091 MB / 1.044 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007146/0.2403, allocations: 374.2 kB / 1.045 GB, free: 7.895 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2403, allocations: 0 / 1.045 GB, free: 7.895 MB / 0.6667 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002397/0.2427, allocations: 1.125 MB / 1.046 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001096/0.2438, allocations: 3.131 MB / 1.049 GB, free: 3.422 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.2438, allocations: 8 kB / 1.049 GB, free: 3.414 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008034/0.2446, allocations: 224.6 kB / 1.049 GB, free: 3.191 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/0.2452, allocations: 159.7 kB / 1.049 GB, free: 3.035 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008921/0.2462, allocations: 0.8643 MB / 1.05 GB, free: 2.145 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008947/0.2471, allocations: 96.53 kB / 1.05 GB, free: 2.051 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-05/0.2471, allocations: 47.97 kB / 1.05 GB, free: 2.004 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.695e-06/0.2472, allocations: 4 kB / 1.05 GB, free: 2 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001507/0.2487, allocations: 0.8561 MB / 1.051 GB, free: 1.133 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2487, allocations: 8 kB / 1.051 GB, free: 1.125 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003356/0.249, allocations: 136.8 kB / 1.051 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.2495, allocations: 139.9 kB / 1.051 GB, free: 0.8516 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00248/0.252, allocations: 2.393 MB / 1.054 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007916/0.2528, allocations: 78 kB / 1.054 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.13e-05/0.2529, allocations: 43.92 kB / 1.054 GB, free: 14.19 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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.0006296/0.2535, allocations: 480.8 kB / 1.054 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.2537, allocations: 130.3 kB / 1.054 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.2557, allocations: 0.9348 MB / 1.055 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.2557, allocations: 4 kB / 1.055 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.2557, allocations: 0 / 1.055 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001569/0.2573, allocations: 0.9388 MB / 1.056 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/0.2605, allocations: 1.955 MB / 1.058 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.2606, allocations: 4.031 kB / 1.058 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/0.261, allocations: 91.86 kB / 1.058 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003191/0.2613, allocations: 148.7 kB / 1.058 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.2614, allocations: 15.92 kB / 1.058 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006639/0.2621, allocations: 0.8176 MB / 1.059 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2621, allocations: 0 / 1.059 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003096/0.2652, allocations: 1.315 MB / 1.06 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006419/0.2658, allocations: 295.4 kB / 1.061 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/0.266, allocations: 12 kB / 1.061 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.2671, allocations: 79.83 kB / 1.061 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.2672, allocations: 44.27 kB / 1.061 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.285e-05/0.2673, allocations: 23.98 kB / 1.061 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001748/0.2691, allocations: 0.9167 MB / 1.062 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/0.2691, allocations: 4 kB / 1.062 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002695/0.2718, allocations: 0.6785 MB / 1.062 GB, free: 5.055 MB / 0.6823 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * 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.004534/0.2763, allocations: 2.213 MB / 1.065 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00412/0.2805, allocations: 1.398 MB / 1.066 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/0.2805, allocations: 4.25 kB / 1.066 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.2816, allocations: 354.3 kB / 1.066 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003555/0.2852, allocations: 0.5809 MB / 1.067 GB, free: 456 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3298/0.615, allocations: 8.935 MB / 1.076 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008242/0.6159, allocations: 1.302 MB / 1.077 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001276/0.6172, allocations: 308.2 kB / 1.077 GB, free: 80.05 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006211/0.6178, allocations: 0.4935 MB / 1.078 GB, free: 80.05 MB / 0.6823 GB Notification: Performance of SimCode: time 9.62e-07/0.6178, allocations: 1.156 kB / 1.078 GB, free: 80.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.064/0.6818, allocations: 37.18 MB / 1.114 GB, free: 66.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001285/0.682, allocations: 249.2 kB / 1.114 GB, free: 66.65 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/3.674, allocations: 3.938 kB / 1.114 GB, free: 66.64 MB / 0.6823 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)