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.659/1.659, allocations: 288.4 MB / 303.6 MB, free: 8.133 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.00101/0.001009, allocations: 182.3 kB / 372.3 MB, free: 10.13 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.564/1.564, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.0008317/0.0008318, allocations: 82.38 kB / 0.7444 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003857, allocations: 12.28 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2014, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02488/0.2263, allocations: 30.16 MB / 1.01 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01791/0.2443, allocations: 12.26 MB / 1.022 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.2462, allocations: 47.69 kB / 1.022 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002339/0.2485, allocations: 0.5556 MB / 1.022 GB, free: 144 kB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005175/0.2537, allocations: 1.352 MB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00399/0.2577, allocations: 1.089 MB / 1.025 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.006704/0.2645, allocations: 5.536 MB / 1.03 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002913/0.2674, allocations: 1.729 MB / 1.032 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003618/0.2711, allocations: 1.576 MB / 1.033 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002522/0.2737, allocations: 1.291 MB / 1.034 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004229/0.2741, allocations: 71.94 kB / 1.035 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002885/0.277, allocations: 1.045 MB / 1.036 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005727/0.2776, allocations: 382.3 kB / 1.036 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001662/0.2793, allocations: 0.9111 MB / 1.037 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003011/0.2823, allocations: 2.198 MB / 1.039 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2823, allocations: 0 / 1.039 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.538e-06/0.2824, allocations: 0 / 1.039 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.338e-05/0.2824, allocations: 3.938 kB / 1.039 GB, free: 14.89 MB / 0.6667 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.004112/0.2865, allocations: 2.077 MB / 1.041 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.2866, allocations: 8.031 kB / 1.041 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002484/0.2868, allocations: 144 kB / 1.041 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.288, allocations: 314.3 kB / 1.041 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/0.2911, allocations: 1.648 MB / 1.043 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.365e-05/0.2912, allocations: 82 kB / 1.043 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.2914, allocations: 104 kB / 1.043 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/0.2937, allocations: 1.326 MB / 1.045 GB, free: 9 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.2937, allocations: 3.938 kB / 1.045 GB, free: 8.996 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.906e-05/0.2938, allocations: 47.94 kB / 1.045 GB, free: 8.949 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.2938, allocations: 27.94 kB / 1.045 GB, free: 8.922 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.2959, allocations: 1.054 MB / 1.046 GB, free: 7.863 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.008781/0.3047, allocations: 6.984 MB / 1.052 GB, free: 388 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.3062, allocations: 0.6799 MB / 1.053 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007919/0.307, allocations: 426.4 kB / 1.054 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003162/0.3102, allocations: 1.831 MB / 1.055 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008523/0.3111, allocations: 416.8 kB / 1.056 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007207/0.3118, allocations: 103.3 kB / 1.056 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 3.307e-06/0.3118, allocations: 0 / 1.056 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.0042/0.316, allocations: 1.544 MB / 1.057 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.3161, allocations: 55.41 kB / 1.057 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002451/0.3186, allocations: 1.843 MB / 1.059 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.3187, allocations: 45.62 kB / 1.059 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007234/0.3194, allocations: 0.8576 MB / 1.06 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.3196, allocations: 157.8 kB / 1.06 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.3196, allocations: 16 kB / 1.06 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3197, allocations: 341.9 kB / 1.061 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007149/0.3205, allocations: 321.8 kB / 1.061 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009809/0.3215, allocations: 0.7722 MB / 1.062 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.3231, allocations: 1.007 MB / 1.063 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.3231, allocations: 7.938 kB / 1.063 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003008/0.3261, allocations: 1.343 MB / 1.064 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000271/0.3264, allocations: 427.3 kB / 1.064 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.3264, allocations: 8 kB / 1.064 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008531/0.3273, allocations: 228.6 kB / 1.065 GB, free: 3.211 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/0.3279, allocations: 179.7 kB / 1.065 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008174/0.3288, allocations: 0.8371 MB / 1.066 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.3303, allocations: 120.5 kB / 1.066 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.584e-05/0.3304, allocations: 47.98 kB / 1.066 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.3304, allocations: 7.938 kB / 1.066 GB, free: 2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001884/0.3323, allocations: 1.032 MB / 1.067 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.3323, allocations: 8 kB / 1.067 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004027/0.3328, allocations: 158 kB / 1.067 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005226/0.3333, allocations: 167.7 kB / 1.067 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4301/0.7634, allocations: 2.341 MB / 1.069 GB, free: 86.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.7649, allocations: 115.4 kB / 1.069 GB, free: 86.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.7651, allocations: 40.58 kB / 1.069 GB, free: 86.34 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.001049/0.7661, allocations: 0.5897 MB / 1.07 GB, free: 86.15 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004228/0.7666, allocations: 171.8 kB / 1.07 GB, free: 86.15 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002406/0.769, allocations: 1.085 MB / 1.071 GB, free: 85.89 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.769, allocations: 7.562 kB / 1.071 GB, free: 85.89 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.769, allocations: 0 / 1.071 GB, free: 85.89 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001646/0.7707, allocations: 1.027 MB / 1.072 GB, free: 85.3 MB / 0.6823 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 postOpt removeSimpleEquations (simulation): time 0.00479/0.7755, allocations: 2.314 MB / 1.075 GB, free: 84.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.7755, allocations: 0.75 kB / 1.075 GB, free: 84.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005041/0.776, allocations: 94.98 kB / 1.075 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003528/0.7764, allocations: 147.9 kB / 1.075 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/0.7765, allocations: 12.42 kB / 1.075 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006846/0.7771, allocations: 0.8114 MB / 1.076 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.7772, allocations: 1.031 kB / 1.076 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003243/0.7804, allocations: 1.481 MB / 1.077 GB, free: 83.06 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008995/0.7813, allocations: 335.8 kB / 1.077 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.7816, allocations: 14.62 kB / 1.077 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009836/0.7826, allocations: 102.9 kB / 1.077 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.7827, allocations: 38.25 kB / 1.077 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.874e-05/0.7828, allocations: 22.25 kB / 1.077 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002422/0.7852, allocations: 1.272 MB / 1.079 GB, free: 82.37 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7852, allocations: 0 / 1.079 GB, free: 82.37 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003402/0.7887, allocations: 0.8481 MB / 1.08 GB, free: 82.29 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.004163/0.7928, allocations: 2.241 MB / 1.082 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003316/0.7962, allocations: 1.531 MB / 1.083 GB, free: 80.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.7962, allocations: 4.969 kB / 1.083 GB, free: 80.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008813/0.7971, allocations: 362.1 kB / 1.084 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004748/0.8019, allocations: 0.8471 MB / 1.084 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02418/0.8261, allocations: 11.31 MB / 1.095 GB, free: 74.44 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/0.8275, allocations: 1.497 MB / 1.097 GB, free: 73.63 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002074/0.8296, allocations: 437 kB / 1.097 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009508/0.8306, allocations: 0.6552 MB / 1.098 GB, free: 73.05 MB / 0.6823 GB Notification: Performance of SimCode: time 1.392e-06/0.8306, allocations: 5.188 kB / 1.098 GB, free: 73.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7951/1.626, allocations: 49.15 MB / 1.146 GB, free: 36.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/1.626, allocations: 249 kB / 1.146 GB, free: 36.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.475/5.101, allocations: 0 / 1.146 GB, free: 36.1 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)