Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 176.2 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008805/0.0008805, allocations: 91.83 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003197, allocations: 11.56 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1846, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02354/0.2082, allocations: 32.36 MB / 0.9283 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.223, allocations: 13.52 MB / 0.9415 GB, free: 22.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001853/0.2249, allocations: 43.69 kB / 0.9416 GB, free: 22.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001936/0.2268, allocations: 0.6337 MB / 0.9422 GB, free: 21.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003451/0.2303, allocations: 1.445 MB / 0.9436 GB, free: 20.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.2333, allocations: 1.273 MB / 0.9449 GB, free: 18.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005236/0.2385, allocations: 6.419 MB / 0.9511 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002276/0.2408, allocations: 1.733 MB / 0.9528 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.2437, allocations: 1.606 MB / 0.9544 GB, free: 8.934 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001874/0.2456, allocations: 1.365 MB / 0.9557 GB, free: 7.562 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003988/0.246, allocations: 68 kB / 0.9558 GB, free: 7.496 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.2485, allocations: 1.088 MB / 0.9568 GB, free: 6.406 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004138/0.2489, allocations: 390.2 kB / 0.9572 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.25, allocations: 0.9323 MB / 0.9581 GB, free: 5.086 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.252, allocations: 2.198 MB / 0.9603 GB, free: 2.883 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2521, allocations: 0 / 0.9603 GB, free: 2.883 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2521, allocations: 0 / 0.9603 GB, free: 2.883 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.748e-05/0.2521, allocations: 0 / 0.9603 GB, free: 2.883 MB / 0.6042 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.002881/0.255, allocations: 2.073 MB / 0.9623 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.255, allocations: 12.03 kB / 0.9623 GB, free: 0.7344 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.2561, allocations: 310.2 kB / 0.9626 GB, free: 440 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/0.2588, allocations: 1.644 MB / 0.9642 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.409e-05/0.2589, allocations: 86 kB / 0.9643 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.259, allocations: 112 kB / 0.9644 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/0.2612, allocations: 1.333 MB / 0.9657 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.2612, allocations: 7.875 kB / 0.9657 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.2614, allocations: 40 kB / 0.9657 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.2614, allocations: 27.94 kB / 0.9658 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.2634, allocations: 1.065 MB / 0.9668 GB, free: 11.99 MB / 0.6198 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.007959/0.2713, allocations: 6.969 MB / 0.9736 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.2728, allocations: 0.6759 MB / 0.9743 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007761/0.2736, allocations: 439 kB / 0.9747 GB, free: 3.406 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002843/0.2765, allocations: 1.823 MB / 0.9765 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008402/0.2773, allocations: 413 kB / 0.9769 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000592/0.278, allocations: 103.3 kB / 0.977 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=46): time 2.534e-06/0.278, allocations: 0 / 0.977 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46): time 0.004271/0.2822, allocations: 1.554 MB / 0.9785 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.2823, allocations: 59.41 kB / 0.9785 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/0.2847, allocations: 1.858 MB / 0.9804 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.929e-05/0.2847, allocations: 45.7 kB / 0.9804 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007149/0.2855, allocations: 0.846 MB / 0.9812 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.2856, allocations: 165.8 kB / 0.9814 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.794e-05/0.2858, allocations: 73.69 kB / 0.9815 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2859, allocations: 337.9 kB / 0.9818 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007263/0.2866, allocations: 353.8 kB / 0.9821 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.2877, allocations: 0.8073 MB / 0.9829 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.2894, allocations: 1.073 MB / 0.984 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.2894, allocations: 11.94 kB / 0.984 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003021/0.2924, allocations: 1.433 MB / 0.9854 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002557/0.2927, allocations: 423 kB / 0.9858 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.2927, allocations: 12 kB / 0.9858 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008836/0.2936, allocations: 244.5 kB / 0.986 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.2943, allocations: 175.7 kB / 0.9862 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007956/0.2951, allocations: 0.8528 MB / 0.987 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.2964, allocations: 116.5 kB / 0.9871 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.423e-05/0.2964, allocations: 47.98 kB / 0.9872 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2965, allocations: 4 kB / 0.9872 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001798/0.2983, allocations: 1.036 MB / 0.9882 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.2983, allocations: 16.03 kB / 0.9882 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003954/0.2987, allocations: 152.7 kB / 0.9883 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.2993, allocations: 167.7 kB / 0.9885 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.3019, allocations: 2.357 MB / 0.9908 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.3032, allocations: 108.5 kB / 0.9909 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.3033, allocations: 43.98 kB / 0.991 GB, free: 1.781 MB / 0.6355 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0009887/0.3043, allocations: 0.5826 MB / 0.9915 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/0.3047, allocations: 173.8 kB / 0.9917 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.3069, allocations: 1.082 MB / 0.9927 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.3069, allocations: 4 kB / 0.9928 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.3069, allocations: 3.938 kB / 0.9928 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001694/0.3086, allocations: 1.035 MB / 0.9938 GB, free: 14.81 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 postOpt removeSimpleEquations (simulation): time 0.003869/0.3125, allocations: 2.323 MB / 0.996 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.3125, allocations: 0 / 0.996 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/0.313, allocations: 91.98 kB / 0.9961 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003272/0.3133, allocations: 152.7 kB / 0.9963 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.017e-05/0.3134, allocations: 24.05 kB / 0.9963 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006554/0.3141, allocations: 0.8115 MB / 0.9971 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3141, allocations: 0 / 0.9971 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/0.3167, allocations: 1.483 MB / 0.9985 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005956/0.3173, allocations: 310.9 kB / 0.9988 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.3175, allocations: 11.98 kB / 0.9988 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008968/0.3184, allocations: 95.88 kB / 0.9989 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.3186, allocations: 44.31 kB / 0.999 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.3186, allocations: 23.98 kB / 0.999 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001732/0.3204, allocations: 1.289 MB / 1 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3204, allocations: 4 kB / 1 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002196/0.3226, allocations: 0.8462 MB / 1.001 GB, free: 7.125 MB / 0.6511 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008803/0.3235, allocations: 376.7 kB / 1.001 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00308/0.3266, allocations: 1.575 MB / 1.003 GB, free: 5.148 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.3266, allocations: 4.438 kB / 1.003 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008015/0.3274, allocations: 366.1 kB / 1.003 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003897/0.3313, allocations: 0.8416 MB / 1.004 GB, free: 3.949 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004858/0.3362, allocations: 3.541 MB / 1.008 GB, free: 372 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.3372, allocations: 1.476 MB / 1.009 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/0.3376, allocations: 135.4 kB / 1.009 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of SimCode: time 4.91e-07/0.3376, allocations: 0 / 1.009 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of Templates: time 0.05354/0.3911, allocations: 37.49 MB / 1.046 GB, free: 9.406 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)