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.672/1.672, allocations: 288.4 MB / 303.3 MB, free: 8.125 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.00106/0.00106, allocations: 184.4 kB / 372 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.402/1.402, allocations: 205.4 MB / 0.6307 GB, free: 9.953 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.0007581/0.0007581, allocations: 90.3 kB / 0.744 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003515, allocations: 12.38 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1657, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02411/0.1898, allocations: 30.16 MB / 1.009 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01585/0.2057, allocations: 12.26 MB / 1.021 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.2072, allocations: 35.75 kB / 1.021 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.209, allocations: 0.4893 MB / 1.022 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00356/0.2126, allocations: 1.286 MB / 1.023 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002891/0.2155, allocations: 1.068 MB / 1.024 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005299/0.2208, allocations: 5.485 MB / 1.029 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/0.2231, allocations: 1.599 MB / 1.031 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002587/0.2257, allocations: 1.548 MB / 1.032 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.2272, allocations: 1.291 MB / 1.034 GB, free: 4.199 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.2274, allocations: 68 kB / 1.034 GB, free: 4.133 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.2293, allocations: 0.8893 MB / 1.034 GB, free: 3.242 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003561/0.2296, allocations: 382.3 kB / 1.035 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004626/0.2301, allocations: 404.6 kB / 1.035 GB, free: 2.465 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002129/0.2322, allocations: 2.163 MB / 1.037 GB, free: 304 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.2322, allocations: 4 kB / 1.037 GB, free: 300 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2323, allocations: 0 / 1.037 GB, free: 300 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.557e-05/0.2323, allocations: 0 / 1.037 GB, free: 300 kB / 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.003374/0.2357, allocations: 2.092 MB / 1.039 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2357, allocations: 12.03 kB / 1.039 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001824/0.2359, allocations: 147.8 kB / 1.04 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.237, allocations: 313.3 kB / 1.04 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002679/0.2397, allocations: 1.571 MB / 1.041 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.355e-05/0.2398, allocations: 78 kB / 1.041 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.24, allocations: 108 kB / 1.042 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.2422, allocations: 1.334 MB / 1.043 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.2422, allocations: 4 kB / 1.043 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.485e-05/0.2423, allocations: 36 kB / 1.043 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/0.2423, allocations: 27.98 kB / 1.043 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.2443, allocations: 1.058 MB / 1.044 GB, free: 9.324 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.007461/0.2518, allocations: 6.988 MB / 1.051 GB, free: 1.844 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.2533, allocations: 0.6781 MB / 1.051 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007806/0.2541, allocations: 426.4 kB / 1.052 GB, free: 0.7383 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00262/0.2567, allocations: 1.834 MB / 1.054 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008338/0.2575, allocations: 416.7 kB / 1.054 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004821/0.258, allocations: 103.4 kB / 1.054 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 2.335e-06/0.2581, allocations: 0 / 1.054 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.004139/0.2622, allocations: 1.536 MB / 1.056 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.2623, allocations: 67.39 kB / 1.056 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/0.2644, allocations: 1.839 MB / 1.058 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.858e-05/0.2645, allocations: 41.7 kB / 1.058 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006829/0.2652, allocations: 0.8502 MB / 1.058 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.2653, allocations: 165.7 kB / 1.059 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.2654, allocations: 20 kB / 1.059 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.2655, allocations: 334 kB / 1.059 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007139/0.2662, allocations: 321.8 kB / 1.059 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009868/0.2672, allocations: 0.78 MB / 1.06 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00085/0.2681, allocations: 450.3 kB / 1.06 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.2681, allocations: 4 kB / 1.06 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002788/0.2709, allocations: 1.339 MB / 1.062 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002313/0.2711, allocations: 435.9 kB / 1.062 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.2711, allocations: 11.94 kB / 1.062 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009048/0.2721, allocations: 228.6 kB / 1.062 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006729/0.2727, allocations: 183.7 kB / 1.062 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007695/0.2735, allocations: 0.8391 MB / 1.063 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.2749, allocations: 128.4 kB / 1.063 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.324e-05/0.275, allocations: 43.98 kB / 1.063 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/0.275, allocations: 4 kB / 1.063 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001825/0.2769, allocations: 1.027 MB / 1.064 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.2769, allocations: 15.95 kB / 1.065 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003824/0.2773, allocations: 161.4 kB / 1.065 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005507/0.2778, allocations: 167.7 kB / 1.065 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002449/0.2803, allocations: 2.344 MB / 1.067 GB, free: 300 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.2815, allocations: 116.5 kB / 1.067 GB, free: 184 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.878e-05/0.2816, allocations: 44 kB / 1.067 GB, free: 140 kB / 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.3698/0.6513, allocations: 0.579 MB / 1.068 GB, free: 86.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004245/0.6518, allocations: 174.2 kB / 1.068 GB, free: 86.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.6542, allocations: 1.068 MB / 1.069 GB, free: 86.51 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.6543, allocations: 9.766 kB / 1.069 GB, free: 86.51 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.6543, allocations: 0 / 1.069 GB, free: 86.51 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00169/0.656, allocations: 1.032 MB / 1.07 GB, free: 86.14 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.004089/0.6601, allocations: 2.31 MB / 1.072 GB, free: 85.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6601, allocations: 1.219 kB / 1.072 GB, free: 85.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/0.6606, allocations: 97.48 kB / 1.072 GB, free: 85.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003513/0.661, allocations: 152.6 kB / 1.073 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.661, allocations: 12.84 kB / 1.073 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006014/0.6616, allocations: 0.8091 MB / 1.073 GB, free: 84.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.6616, allocations: 0.9062 kB / 1.073 GB, free: 84.69 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002903/0.6645, allocations: 1.48 MB / 1.075 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006718/0.6652, allocations: 343.1 kB / 1.075 GB, free: 83.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.6654, allocations: 12.83 kB / 1.075 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009519/0.6664, allocations: 96.58 kB / 1.075 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.6665, allocations: 40.33 kB / 1.075 GB, free: 83.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.593e-05/0.6666, allocations: 22.02 kB / 1.075 GB, free: 83.87 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001976/0.6685, allocations: 1.272 MB / 1.077 GB, free: 83.39 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6685, allocations: 0 / 1.077 GB, free: 83.39 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002327/0.6709, allocations: 0.8459 MB / 1.077 GB, free: 83.31 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.003663/0.6746, allocations: 2.236 MB / 1.08 GB, free: 82.15 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003027/0.6776, allocations: 1.529 MB / 1.081 GB, free: 81.51 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6776, allocations: 4.938 kB / 1.081 GB, free: 81.51 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008334/0.6785, allocations: 366.9 kB / 1.081 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004248/0.6827, allocations: 0.8501 MB / 1.082 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02032/0.7031, allocations: 11.31 MB / 1.093 GB, free: 75.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.7042, allocations: 1.493 MB / 1.095 GB, free: 74.67 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001872/0.7061, allocations: 434.5 kB / 1.095 GB, free: 74.59 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007298/0.7068, allocations: 0.6491 MB / 1.096 GB, free: 74.1 MB / 0.6823 GB Notification: Performance of SimCode: time 6.41e-07/0.7068, allocations: 0 / 1.096 GB, free: 74.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07326/0.7801, allocations: 48.65 MB / 1.143 GB, free: 38.42 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001439/0.7803, allocations: 265.1 kB / 1.144 GB, free: 38.06 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.278/4.058, allocations: 0 / 1.144 GB, free: 38.06 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)