Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.677/1.677, allocations: 288.4 MB / 303.4 MB, free: 8.137 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.0009855/0.0009855, allocations: 183.5 kB / 372 MB, free: 10.29 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.352/1.352, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007624/0.0007624, allocations: 97.16 kB / 0.7441 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003772, allocations: 10.72 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2155, allocations: 115.3 MB / 0.9796 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 0.8188/1.034, allocations: 329.6 MB / 1.301 GB, free: 4.969 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.103/1.137, allocations: 72.94 MB / 1.373 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01685/1.154, allocations: 373.2 kB / 1.373 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01375/1.168, allocations: 3.144 MB / 1.376 GB, free: 8.359 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.03076/1.199, allocations: 8.846 MB / 1.385 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.01796/1.217, allocations: 6.013 MB / 1.391 GB, free: 9.496 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.04326/1.26, allocations: 32.58 MB / 1.422 GB, free: 8.805 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6326/1.893, allocations: 14.14 MB / 1.436 GB, free: 49.93 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03017/1.923, allocations: 11.82 MB / 1.448 GB, free: 49.92 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03037/1.953, allocations: 12.53 MB / 1.46 GB, free: 49.88 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.007733/1.961, allocations: 0.9684 MB / 1.461 GB, free: 49.88 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01832/1.98, allocations: 3.33 MB / 1.464 GB, free: 49.88 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.01045/1.99, allocations: 4.031 MB / 1.468 GB, free: 49.88 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01064/2.001, allocations: 2.63 MB / 1.471 GB, free: 49.85 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02678/2.027, allocations: 17.47 MB / 1.488 GB, free: 48.74 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/2.028, allocations: 3.625 kB / 1.488 GB, free: 48.74 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.863e-06/2.028, allocations: 3.75 kB / 1.488 GB, free: 48.74 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009103/2.028, allocations: 0 / 1.488 GB, free: 48.74 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.04878/2.077, allocations: 17.09 MB / 1.504 GB, free: 42.78 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/2.077, allocations: 10.41 kB / 1.504 GB, free: 42.78 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01338/2.091, allocations: 2.375 MB / 1.507 GB, free: 41.94 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03372/2.124, allocations: 12.09 MB / 1.519 GB, free: 40.22 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002171/2.127, allocations: 0.7823 MB / 1.519 GB, free: 40.18 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004907/2.132, allocations: 0.6927 MB / 1.52 GB, free: 40.18 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03674/2.168, allocations: 14.02 MB / 1.534 GB, free: 36.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002829/2.169, allocations: 9.156 kB / 1.534 GB, free: 36.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003342/2.172, allocations: 245.5 kB / 1.534 GB, free: 36.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001509/2.172, allocations: 150.2 kB / 1.534 GB, free: 36.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03555/2.208, allocations: 19.01 MB / 1.553 GB, free: 33.95 MB / 0.948 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.1235/2.331, allocations: 73.42 MB / 1.624 GB, free: 11.56 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01759/2.349, allocations: 10.61 MB / 1.635 GB, free: 5.594 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01418/2.363, allocations: 9.137 MB / 1.644 GB, free: 236 kB / 0.9792 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 evalFunc (simulation): time 0.06776/2.431, allocations: 31.89 MB / 1.675 GB, free: 7.523 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0163/2.447, allocations: 8.88 MB / 1.683 GB, free: 1.516 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03019/2.478, allocations: 9.957 MB / 1.693 GB, free: 8.25 MB / 1.026 GB Notification: Performance of pre-optimization done (n=387): time 2.929e-05/2.478, allocations: 0 / 1.693 GB, free: 8.25 MB / 1.026 GB Notification: Performance of matching and sorting (n=573): time 1.46/3.938, allocations: 219.6 MB / 1.908 GB, free: 0.4928 GB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/3.938, allocations: 117.5 kB / 1.908 GB, free: 0.4927 GB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02604/3.964, allocations: 12.28 MB / 1.92 GB, free: 498.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.003553/3.968, allocations: 173 kB / 1.92 GB, free: 498.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00719/3.975, allocations: 5.952 MB / 1.926 GB, free: 494.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004365/3.979, allocations: 1.93 MB / 1.928 GB, free: 493.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002835/3.982, allocations: 147.1 kB / 1.928 GB, free: 493.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0004558/3.983, allocations: 0.5955 MB / 1.928 GB, free: 493.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01803/4.001, allocations: 9.39 MB / 1.938 GB, free: 488 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02079/4.021, allocations: 11.71 MB / 1.949 GB, free: 479.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02088/4.042, allocations: 10.21 MB / 1.959 GB, free: 474.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-05/4.043, allocations: 13.12 kB / 1.959 GB, free: 474.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.6657/4.708, allocations: 139.3 MB / 2.095 GB, free: 340.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009987/4.709, allocations: 1.532 MB / 2.096 GB, free: 338.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/4.709, allocations: 48 kB / 2.097 GB, free: 338.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7344/5.444, allocations: 166.1 MB / 2.259 GB, free: 172.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01088/5.455, allocations: 1.944 MB / 2.261 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1872/5.642, allocations: 95.44 MB / 2.354 GB, free: 74.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01882/5.661, allocations: 1.21 MB / 2.355 GB, free: 73.32 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00479/5.666, allocations: 0.7684 MB / 2.356 GB, free: 72.55 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/5.666, allocations: 4 kB / 2.356 GB, free: 72.54 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.197/6.863, allocations: 138.2 MB / 2.491 GB, free: 470.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001532/6.863, allocations: 44.25 kB / 2.491 GB, free: 470.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7101/7.573, allocations: 165.8 MB / 2.653 GB, free: 326.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01005/7.583, allocations: 1.93 MB / 2.655 GB, free: 324.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1996/7.783, allocations: 99.55 MB / 2.752 GB, free: 224.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01894/7.802, allocations: 1.198 MB / 2.753 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004518/7.806, allocations: 0.7411 MB / 2.754 GB, free: 222.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (683): * Single equations (assignments): 669 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(32,82.2%) 39} * Non-linear torn systems: 2 {7 78,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01275/7.819, allocations: 3.076 MB / 2.757 GB, free: 219.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005767/7.825, allocations: 1.188 MB / 2.758 GB, free: 219 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.219/8.044, allocations: 53.55 MB / 2.81 GB, free: 165.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001392/8.044, allocations: 75.98 kB / 2.81 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002269/8.044, allocations: 32 kB / 2.81 GB, free: 165.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1952/8.239, allocations: 47.97 MB / 2.857 GB, free: 117.4 MB / 1.167 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.2436/8.483, allocations: 67.58 MB / 2.923 GB, free: 49.79 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-05/8.483, allocations: 8 kB / 2.923 GB, free: 49.79 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007599/8.491, allocations: 1.35 MB / 2.924 GB, free: 48.43 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7456/9.236, allocations: 49.24 MB / 2.973 GB, free: 472 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002664/9.239, allocations: 200.1 kB / 2.973 GB, free: 472 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08882/9.328, allocations: 41.39 MB / 3.013 GB, free: 461.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/9.328, allocations: 11.03 kB / 3.013 GB, free: 461.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2144/9.542, allocations: 60.49 MB / 3.072 GB, free: 446.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009338/9.552, allocations: 2.693 MB / 3.075 GB, free: 444.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004985/9.557, allocations: 139.9 kB / 3.075 GB, free: 444.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01366/9.571, allocations: 1.019 MB / 3.076 GB, free: 444 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002927/9.573, allocations: 494.9 kB / 3.076 GB, free: 443.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001961/9.575, allocations: 277.5 kB / 3.077 GB, free: 443.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01694/9.592, allocations: 8.318 MB / 3.085 GB, free: 436.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.22e-07/9.592, allocations: 0 / 3.085 GB, free: 436.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.04355/9.636, allocations: 6.89 MB / 3.092 GB, free: 430 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (504): * Single equations (assignments): 482 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(31,84.4%) 40} * Non-linear torn systems: 3 {9 78,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.004302/9.64, allocations: 1.282 MB / 3.093 GB, free: 429.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.08547/9.726, allocations: 38.38 MB / 3.13 GB, free: 394.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/9.726, allocations: 4 kB / 3.13 GB, free: 394.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.02479/9.751, allocations: 10.88 MB / 3.141 GB, free: 383.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03727/9.788, allocations: 6.378 MB / 3.147 GB, free: 377.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05645/9.845, allocations: 30.88 MB / 3.177 GB, free: 347.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01115/9.856, allocations: 7.078 MB / 3.184 GB, free: 340.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.02229/9.878, allocations: 3.724 MB / 3.188 GB, free: 336.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006091/9.884, allocations: 0.9443 MB / 3.189 GB, free: 335.6 MB / 1.167 GB Notification: Performance of SimCode: time 2.605e-06/9.884, allocations: 4 kB / 3.189 GB, free: 335.6 MB / 1.167 GB Notification: Performance of Templates: time 1.264/11.15, allocations: 394 MB / 3.574 GB, free: 463 MB / 1.167 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)