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.389/1.389, allocations: 252 MB / 268 MB, free: 10.86 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.001032/0.001032, allocations: 184.5 kB / 327.6 MB, free: 2.09 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.62/1.62, allocations: 205.4 MB / 0.5786 GB, free: 20.17 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.000801/0.000801, allocations: 78.19 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 14.27 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2257, allocations: 106.3 MB / 0.9014 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02331/0.2491, allocations: 31.89 MB / 0.9326 GB, free: 31.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0167/0.2658, allocations: 13.34 MB / 0.9456 GB, free: 18.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.2677, allocations: 39.75 kB / 0.9457 GB, free: 18.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001892/0.2696, allocations: 0.6297 MB / 0.9463 GB, free: 17.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003796/0.2734, allocations: 1.449 MB / 0.9477 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003324/0.2768, allocations: 1.272 MB / 0.9489 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005198/0.282, allocations: 6.407 MB / 0.9552 GB, free: 8.297 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.2838, allocations: 1.733 MB / 0.9569 GB, free: 6.535 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.2863, allocations: 1.61 MB / 0.9584 GB, free: 4.918 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.2876, allocations: 1.361 MB / 0.9598 GB, free: 3.551 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.2878, allocations: 72 kB / 0.9598 GB, free: 3.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.2902, allocations: 1.088 MB / 0.9609 GB, free: 2.391 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003409/0.2905, allocations: 398.2 kB / 0.9613 GB, free: 2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0008724/0.2914, allocations: 0.9534 MB / 0.9622 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.2937, allocations: 2.202 MB / 0.9644 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2937, allocations: 0 / 0.9644 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2937, allocations: 0 / 0.9644 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.932e-05/0.2937, allocations: 0 / 0.9644 GB, free: 14.83 MB / 0.6198 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.003509/0.2972, allocations: 2.071 MB / 0.9664 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.2973, allocations: 8.031 kB / 0.9664 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.2984, allocations: 322.2 kB / 0.9667 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/0.301, allocations: 1.64 MB / 0.9683 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.647e-05/0.3011, allocations: 82 kB / 0.9684 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.3013, allocations: 108 kB / 0.9685 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.3035, allocations: 1.33 MB / 0.9698 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.3035, allocations: 4 kB / 0.9698 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.986e-05/0.3036, allocations: 43.98 kB / 0.9698 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.3036, allocations: 31.88 kB / 0.9699 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.3056, allocations: 1.058 MB / 0.9709 GB, free: 7.949 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.007934/0.3136, allocations: 6.972 MB / 0.9777 GB, free: 492 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.315, allocations: 0.6904 MB / 0.9784 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007497/0.3158, allocations: 431 kB / 0.9788 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002917/0.3187, allocations: 1.827 MB / 0.9806 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008163/0.3196, allocations: 417 kB / 0.981 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006281/0.3202, allocations: 107.3 kB / 0.9811 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=46): time 2.745e-06/0.3202, allocations: 0 / 0.9811 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46): time 0.004105/0.3243, allocations: 1.554 MB / 0.9826 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.3244, allocations: 55.41 kB / 0.9826 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/0.3269, allocations: 1.862 MB / 0.9845 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.14e-05/0.327, allocations: 41.7 kB / 0.9845 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007381/0.3277, allocations: 0.8538 MB / 0.9853 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.3279, allocations: 161.8 kB / 0.9855 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.3279, allocations: 12 kB / 0.9855 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3281, allocations: 346 kB / 0.9858 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007186/0.3288, allocations: 341.8 kB / 0.9862 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.3299, allocations: 0.8229 MB / 0.987 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.3316, allocations: 1.07 MB / 0.988 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.3316, allocations: 4 kB / 0.988 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00309/0.3347, allocations: 1.429 MB / 0.9894 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003284/0.335, allocations: 423.1 kB / 0.9898 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.335, allocations: 12 kB / 0.9898 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000872/0.3359, allocations: 244.5 kB / 0.9901 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006522/0.3366, allocations: 175.7 kB / 0.9902 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008091/0.3374, allocations: 0.8372 MB / 0.991 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.339, allocations: 125.4 kB / 0.9912 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.084e-05/0.3391, allocations: 51.92 kB / 0.9912 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.3392, allocations: 4 kB / 0.9912 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00181/0.341, allocations: 1.04 MB / 0.9922 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.341, allocations: 12 kB / 0.9922 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003759/0.3414, allocations: 152.7 kB / 0.9924 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005562/0.342, allocations: 167.9 kB / 0.9925 GB, free: 444 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/0.3446, allocations: 2.36 MB / 0.9949 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.3461, allocations: 112.5 kB / 0.995 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.786e-05/0.3462, allocations: 47.92 kB / 0.995 GB, free: 13.78 MB / 0.6511 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 (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.001044/0.3472, allocations: 0.5787 MB / 0.9956 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/0.3475, allocations: 173.8 kB / 0.9957 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.3497, allocations: 1.078 MB / 0.9968 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.3497, allocations: 4 kB / 0.9968 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.3497, allocations: 4 kB / 0.9968 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001629/0.3513, allocations: 1.027 MB / 0.9978 GB, free: 10.83 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.003947/0.3553, allocations: 2.331 MB / 1 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.3553, allocations: 4 kB / 1 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/0.3558, allocations: 91.86 kB / 1 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003289/0.3561, allocations: 148.7 kB / 1 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.3562, allocations: 15.98 kB / 1 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006486/0.3568, allocations: 0.808 MB / 1.001 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3569, allocations: 4.031 kB / 1.001 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/0.3595, allocations: 1.491 MB / 1.003 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006397/0.3602, allocations: 342.7 kB / 1.003 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.3603, allocations: 15.98 kB / 1.003 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009163/0.3612, allocations: 91.91 kB / 1.003 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.3614, allocations: 44.31 kB / 1.003 GB, free: 5.293 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.184e-05/0.3614, allocations: 27.98 kB / 1.003 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001768/0.3632, allocations: 1.285 MB / 1.004 GB, free: 3.957 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3632, allocations: 0 / 1.004 GB, free: 3.957 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002375/0.3656, allocations: 0.8423 MB / 1.005 GB, free: 3.113 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.0009653/0.3666, allocations: 374.7 kB / 1.006 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003078/0.3697, allocations: 1.568 MB / 1.007 GB, free: 1.145 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.3697, allocations: 4 kB / 1.007 GB, free: 1.141 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000775/0.3705, allocations: 366.5 kB / 1.007 GB, free: 0.7852 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004102/0.3746, allocations: 0.8415 MB / 1.008 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005151/0.3798, allocations: 3.568 MB / 1.012 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009923/0.3808, allocations: 1.483 MB / 1.013 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003963/0.3812, allocations: 139.4 kB / 1.013 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of SimCode: time 7.31e-07/0.3812, allocations: 0 / 1.013 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of Templates: time 0.05403/0.4352, allocations: 37.49 MB / 1.05 GB, free: 5.363 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)