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: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.601/1.601, allocations: 288.3 MB / 303.2 MB, free: 8.191 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.00117/0.00117, allocations: 183.5 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.382/1.382, allocations: 205.4 MB / 0.6306 GB, free: 9.965 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.0008598/0.0008599, allocations: 96.11 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003728, allocations: 11.47 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1997, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02017/0.2199, allocations: 27.5 MB / 1.006 GB, free: 124 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01775/0.2377, allocations: 11.59 MB / 1.018 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.2392, allocations: 39.75 kB / 1.018 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/0.2412, allocations: 0.6065 MB / 1.018 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004255/0.2455, allocations: 1.457 MB / 1.02 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006503/0.252, allocations: 2.281 MB / 1.022 GB, free: 140 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004317/0.2563, allocations: 2.839 MB / 1.025 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/0.2584, allocations: 1.6 MB / 1.026 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.2604, allocations: 1.323 MB / 1.027 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.2617, allocations: 0.9217 MB / 1.028 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.2619, allocations: 71.94 kB / 1.028 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.2636, allocations: 0.7647 MB / 1.029 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003663/0.264, allocations: 358.6 kB / 1.03 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004683/0.2645, allocations: 400.6 kB / 1.03 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.2669, allocations: 2.104 MB / 1.032 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.267, allocations: 0 / 1.032 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.843e-06/0.267, allocations: 0 / 1.032 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.185e-05/0.267, allocations: 0 / 1.032 GB, free: 5.719 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.003676/0.2707, allocations: 2.081 MB / 1.034 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.2707, allocations: 8.031 kB / 1.034 GB, free: 3.562 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.2719, allocations: 301.3 kB / 1.034 GB, free: 3.266 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00294/0.2749, allocations: 1.571 MB / 1.036 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.783e-05/0.275, allocations: 78 kB / 1.036 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.2751, allocations: 104 kB / 1.036 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.2773, allocations: 1.316 MB / 1.037 GB, free: 84 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.2773, allocations: 7.938 kB / 1.037 GB, free: 76 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.837e-05/0.2775, allocations: 40 kB / 1.037 GB, free: 36 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.2775, allocations: 24 kB / 1.037 GB, free: 12 kB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/0.2796, allocations: 1.042 MB / 1.038 GB, free: 14.96 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.00831/0.2879, allocations: 6.938 MB / 1.045 GB, free: 7.547 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.2894, allocations: 0.6574 MB / 1.046 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002999/0.2924, allocations: 1.873 MB / 1.048 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008417/0.2933, allocations: 397 kB / 1.048 GB, free: 4.465 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005744/0.2938, allocations: 115.2 kB / 1.048 GB, free: 4.352 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=46): time 2.465e-06/0.2939, allocations: 4 kB / 1.048 GB, free: 4.348 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46): time 0.004148/0.298, allocations: 1.495 MB / 1.05 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.2981, allocations: 63.34 kB / 1.05 GB, free: 2.746 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002372/0.3004, allocations: 1.858 MB / 1.051 GB, free: 0.8438 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.434e-05/0.3005, allocations: 41.7 kB / 1.052 GB, free: 0.7969 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007736/0.3013, allocations: 0.862 MB / 1.052 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.3015, allocations: 157.7 kB / 1.053 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.3016, allocations: 16 kB / 1.053 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3017, allocations: 338 kB / 1.053 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007002/0.3024, allocations: 309.8 kB / 1.053 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.3035, allocations: 0.7721 MB / 1.054 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008334/0.3043, allocations: 446.3 kB / 1.054 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.3043, allocations: 4 kB / 1.054 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002835/0.3072, allocations: 1.335 MB / 1.056 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001667/0.3088, allocations: 4.224 MB / 1.06 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.3089, allocations: 12 kB / 1.06 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008503/0.3097, allocations: 222.8 kB / 1.06 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006822/0.3104, allocations: 175.7 kB / 1.06 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008096/0.3112, allocations: 0.8448 MB / 1.061 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.3126, allocations: 124.5 kB / 1.061 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-05/0.3127, allocations: 43.98 kB / 1.061 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.3127, allocations: 4 kB / 1.061 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001927/0.3146, allocations: 1.02 MB / 1.062 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.3147, allocations: 12.12 kB / 1.062 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003855/0.3151, allocations: 152.7 kB / 1.062 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/0.3156, allocations: 171.7 kB / 1.062 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/0.3183, allocations: 2.396 MB / 1.065 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.3196, allocations: 116.5 kB / 1.065 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-05/0.3197, allocations: 40 kB / 1.065 GB, free: 2.293 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.001109/0.3208, allocations: 0.5825 MB / 1.066 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004283/0.3212, allocations: 177.8 kB / 1.066 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.3237, allocations: 1.066 MB / 1.067 GB, free: 452 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.3237, allocations: 8 kB / 1.067 GB, free: 444 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.3238, allocations: 7.984 kB / 1.067 GB, free: 436 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.377/0.7007, allocations: 0.9972 MB / 1.068 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004644/0.7054, allocations: 2.309 MB / 1.07 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.7054, allocations: 4.547 kB / 1.07 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/0.706, allocations: 89.77 kB / 1.07 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003446/0.7063, allocations: 138.1 kB / 1.07 GB, free: 86.83 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/0.7064, allocations: 16.98 kB / 1.07 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000688/0.7071, allocations: 0.8106 MB / 1.071 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.7071, allocations: 1.562 kB / 1.071 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/0.7101, allocations: 1.492 MB / 1.072 GB, free: 85.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008089/0.7109, allocations: 348.6 kB / 1.073 GB, free: 85.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/0.7111, allocations: 15.61 kB / 1.073 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009509/0.7121, allocations: 104.5 kB / 1.073 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.7122, allocations: 42.33 kB / 1.073 GB, free: 85.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/0.7123, allocations: 27.77 kB / 1.073 GB, free: 85.44 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002085/0.7144, allocations: 1.285 MB / 1.074 GB, free: 84.96 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.91e-07/0.7144, allocations: 0 / 1.074 GB, free: 84.96 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002398/0.7168, allocations: 0.8551 MB / 1.075 GB, free: 84.88 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.0008868/0.7177, allocations: 368.7 kB / 1.075 GB, free: 84.78 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003072/0.7208, allocations: 1.515 MB / 1.077 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7208, allocations: 0 / 1.077 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009464/0.7217, allocations: 361.6 kB / 1.077 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003927/0.7257, allocations: 0.8414 MB / 1.078 GB, free: 83.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00538/0.7311, allocations: 3.451 MB / 1.081 GB, free: 82.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.7322, allocations: 1.525 MB / 1.083 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001855/0.7341, allocations: 438.8 kB / 1.083 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.7344, allocations: 143.2 kB / 1.083 GB, free: 81.34 MB / 0.6823 GB Notification: Performance of SimCode: time 8.02e-07/0.7344, allocations: 0 / 1.083 GB, free: 81.34 MB / 0.6823 GB Notification: Performance of Templates: time 0.0544/0.7888, allocations: 32.4 MB / 1.115 GB, free: 68.09 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)