Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.535/2.535, allocations: 287.3 MB / 302.3 MB, free: 8.434 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.002288/0.002288, allocations: 173.1 kB / 370.8 MB, free: 10.86 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.988/1.988, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001142/0.001142, allocations: 105.5 kB / 0.7428 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004893, allocations: 18.94 kB / 0.8656 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2017, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03479/0.2366, allocations: 27.5 MB / 1.005 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02489/0.2615, allocations: 11.59 MB / 1.016 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.2633, allocations: 43.69 kB / 1.016 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003102/0.2664, allocations: 0.6065 MB / 1.017 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00634/0.2728, allocations: 1.456 MB / 1.018 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00993/0.2827, allocations: 2.283 MB / 1.021 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006453/0.2892, allocations: 2.83 MB / 1.023 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003485/0.2927, allocations: 1.604 MB / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004027/0.2968, allocations: 1.323 MB / 1.026 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002461/0.2993, allocations: 0.9217 MB / 1.027 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004671/0.2998, allocations: 68 kB / 1.027 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003256/0.3031, allocations: 0.7608 MB / 1.028 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0008843/0.304, allocations: 366.5 kB / 1.028 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0008339/0.3049, allocations: 396.6 kB / 1.029 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004441/0.3093, allocations: 2.108 MB / 1.031 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3094, allocations: 0 / 1.031 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.715e-06/0.3094, allocations: 0 / 1.031 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.665e-05/0.3095, allocations: 0 / 1.031 GB, free: 6.41 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.006169/0.3157, allocations: 2.081 MB / 1.033 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3157, allocations: 8.031 kB / 1.033 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/0.318, allocations: 305.3 kB / 1.033 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005088/0.3231, allocations: 1.571 MB / 1.035 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.3233, allocations: 78 kB / 1.035 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003658/0.3237, allocations: 104 kB / 1.035 GB, free: 2.156 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004087/0.3278, allocations: 1.311 MB / 1.036 GB, free: 0.7734 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.021e-05/0.3279, allocations: 7.938 kB / 1.036 GB, free: 0.7656 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/0.3281, allocations: 47.98 kB / 1.036 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.3281, allocations: 24 kB / 1.036 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004082/0.3322, allocations: 1.03 MB / 1.037 GB, free: 15.66 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.01384/0.3461, allocations: 6.945 MB / 1.044 GB, free: 8.238 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002757/0.3489, allocations: 0.6526 MB / 1.045 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004922/0.3539, allocations: 1.869 MB / 1.046 GB, free: 5.559 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001465/0.3554, allocations: 401 kB / 1.047 GB, free: 5.156 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001003/0.3564, allocations: 111.2 kB / 1.047 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=46): time 3.266e-06/0.3564, allocations: 4 kB / 1.047 GB, free: 5.043 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46): time 0.00774/0.3642, allocations: 1.499 MB / 1.048 GB, free: 3.512 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.3643, allocations: 59.41 kB / 1.048 GB, free: 3.441 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004658/0.369, allocations: 1.854 MB / 1.05 GB, free: 1.543 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001921/0.3692, allocations: 41.64 kB / 1.05 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.3704, allocations: 0.858 MB / 1.051 GB, free: 0.6289 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/0.3707, allocations: 165.7 kB / 1.051 GB, free: 476 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/0.3708, allocations: 19.94 kB / 1.051 GB, free: 456 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.371, allocations: 334 kB / 1.052 GB, free: 116 kB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.3723, allocations: 309.8 kB / 1.052 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.374, allocations: 0.7721 MB / 1.053 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.3757, allocations: 446.3 kB / 1.053 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/0.3757, allocations: 7.953 kB / 1.053 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005144/0.3809, allocations: 1.335 MB / 1.054 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001712/0.3826, allocations: 4.223 MB / 1.059 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.07e-05/0.3827, allocations: 8 kB / 1.059 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.3842, allocations: 221.9 kB / 1.059 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.3856, allocations: 179.7 kB / 1.059 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.387, allocations: 0.8425 MB / 1.06 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/0.3895, allocations: 124.5 kB / 1.06 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/0.3897, allocations: 47.98 kB / 1.06 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3897, allocations: 4 kB / 1.06 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003276/0.393, allocations: 1.016 MB / 1.061 GB, free: 6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.3931, allocations: 8 kB / 1.061 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006931/0.3938, allocations: 160.8 kB / 1.061 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.395, allocations: 163.7 kB / 1.061 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004357/0.3993, allocations: 2.403 MB / 1.064 GB, free: 3.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.4016, allocations: 112.5 kB / 1.064 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/0.4018, allocations: 44 kB / 1.064 GB, free: 2.98 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.001394/0.4032, allocations: 0.5941 MB / 1.064 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004855/0.4037, allocations: 173.8 kB / 1.064 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003948/0.4076, allocations: 1.059 MB / 1.065 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/0.4077, allocations: 12 kB / 1.065 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.4077, allocations: 7.984 kB / 1.065 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003045/0.4108, allocations: 0.9996 MB / 1.066 GB, free: 44 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6537/1.065, allocations: 2.301 MB / 1.069 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/1.065, allocations: 1.031 kB / 1.069 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/1.066, allocations: 97.69 kB / 1.069 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009664/1.067, allocations: 142.8 kB / 1.069 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/1.067, allocations: 15.97 kB / 1.069 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/1.069, allocations: 0.7992 MB / 1.07 GB, free: 86.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.069, allocations: 0 / 1.07 GB, free: 86.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007283/1.076, allocations: 1.498 MB / 1.071 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/1.077, allocations: 344.6 kB / 1.072 GB, free: 85.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004604/1.078, allocations: 12.02 kB / 1.072 GB, free: 85.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002742/1.081, allocations: 104.8 kB / 1.072 GB, free: 85.78 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/1.081, allocations: 38.64 kB / 1.072 GB, free: 85.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/1.081, allocations: 30.98 kB / 1.072 GB, free: 85.77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004701/1.086, allocations: 1.286 MB / 1.073 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.693e-06/1.086, allocations: 0 / 1.073 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005756/1.092, allocations: 0.8538 MB / 1.074 GB, free: 85.2 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.001825/1.094, allocations: 376 kB / 1.074 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007766/1.101, allocations: 1.514 MB / 1.076 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/1.101, allocations: 1.125 kB / 1.076 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002335/1.104, allocations: 362.7 kB / 1.076 GB, free: 84.37 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01143/1.115, allocations: 0.8415 MB / 1.077 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/1.128, allocations: 3.45 MB / 1.08 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002288/1.13, allocations: 1.531 MB / 1.082 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004267/1.134, allocations: 442.7 kB / 1.082 GB, free: 81.67 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008447/1.135, allocations: 131.1 kB / 1.082 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of SimCode: time 1.874e-06/1.135, allocations: 4 kB / 1.082 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of Templates: time 0.1295/1.265, allocations: 32.4 MB / 1.114 GB, free: 69.23 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)