Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.397/1.397, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009704/0.0009703, allocations: 172.5 kB / 326.5 MB, free: 2.688 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.682/1.682, 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.0008797/0.0008796, allocations: 82.36 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003233, allocations: 8.406 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2349, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 0.8372/1.072, allocations: 353.9 MB / 1.242 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1215/1.194, allocations: 77.78 MB / 1.318 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02007/1.214, allocations: 393.2 kB / 1.319 GB, free: 352 kB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01538/1.229, allocations: 3.862 MB / 1.322 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.03475/1.264, allocations: 10.22 MB / 1.332 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.02188/1.286, allocations: 7.185 MB / 1.339 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.04344/1.329, allocations: 38.02 MB / 1.377 GB, free: 4.91 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0247/1.354, allocations: 13.9 MB / 1.39 GB, free: 6.871 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 1.012/2.366, allocations: 10.55 MB / 1.4 GB, free: 24.11 MB / 0.9012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02019/2.387, allocations: 9.495 MB / 1.41 GB, free: 24.11 MB / 0.9012 GB Notification: Performance of NFPackage.collectConstants: time 0.004893/2.392, allocations: 0.4923 MB / 1.41 GB, free: 24.11 MB / 0.9012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01524/2.407, allocations: 3.507 MB / 1.414 GB, free: 24.11 MB / 0.9012 GB Notification: Performance of NFScalarize.scalarize: time 0.006141/2.413, allocations: 2.967 MB / 1.416 GB, free: 24.11 MB / 0.9012 GB Notification: Performance of NFVerifyModel.verify: time 0.0143/2.427, allocations: 6.604 MB / 1.423 GB, free: 21.98 MB / 0.9012 GB Notification: Performance of NFConvertDAE.convert: time 0.02169/2.449, allocations: 14.51 MB / 1.437 GB, free: 21.41 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/2.449, allocations: 0 / 1.437 GB, free: 21.41 MB / 0.9012 GB Notification: Performance of FrontEnd: time 2.094e-06/2.449, allocations: 0 / 1.437 GB, free: 21.41 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.001013/2.45, allocations: 0.8125 kB / 1.437 GB, free: 21.41 MB / 0.9012 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.03312/2.483, allocations: 13.64 MB / 1.45 GB, free: 15.64 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/2.483, allocations: 11.42 kB / 1.45 GB, free: 15.64 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/2.494, allocations: 2.22 MB / 1.453 GB, free: 14.86 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02644/2.52, allocations: 11.54 MB / 1.464 GB, free: 12.64 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001687/2.522, allocations: 0.7839 MB / 1.465 GB, free: 12.63 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002754/2.525, allocations: 0.6969 MB / 1.465 GB, free: 12.62 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02117/2.546, allocations: 8.939 MB / 1.474 GB, free: 11.59 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002186/2.546, allocations: 18.3 kB / 1.474 GB, free: 11.59 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001087/2.547, allocations: 256.9 kB / 1.474 GB, free: 11.59 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/2.547, allocations: 152.7 kB / 1.474 GB, free: 11.59 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01754/2.565, allocations: 7.408 MB / 1.482 GB, free: 11.5 MB / 0.9012 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.07897/2.644, allocations: 50.55 MB / 1.531 GB, free: 14.23 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/2.655, allocations: 5.502 MB / 1.536 GB, free: 13.3 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007137/2.662, allocations: 3.921 MB / 1.54 GB, free: 12.7 MB / 0.9324 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.0397/2.701, allocations: 13.36 MB / 1.553 GB, free: 6.637 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008066/2.71, allocations: 3.695 MB / 1.557 GB, free: 5.598 MB / 0.9324 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01164/2.721, allocations: 1.864 MB / 1.559 GB, free: 4.855 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=320): time 3.567e-05/2.721, allocations: 2.344 kB / 1.559 GB, free: 4.855 MB / 0.9324 GB Notification: Performance of matching and sorting (n=506): time 0.1834/2.905, allocations: 51.97 MB / 1.609 GB, free: 12.77 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.037e-05/2.905, allocations: 114.1 kB / 1.61 GB, free: 12.65 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02318/2.928, allocations: 12.62 MB / 1.622 GB, free: 3.387 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.001838/2.93, allocations: 161.3 kB / 1.622 GB, free: 3.32 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.006742/2.937, allocations: 6.16 MB / 1.628 GB, free: 0.5664 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.002461/2.939, allocations: 1.709 MB / 1.63 GB, free: 14.88 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/2.941, allocations: 0.6703 MB / 1.63 GB, free: 14.2 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.0001097/2.941, allocations: 305.1 kB / 1.631 GB, free: 13.9 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01094/2.952, allocations: 5.658 MB / 1.636 GB, free: 8.23 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01402/2.966, allocations: 8.309 MB / 1.644 GB, free: 14.83 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02494/2.991, allocations: 13.3 MB / 1.657 GB, free: 0.8867 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.995e-05/2.991, allocations: 20 kB / 1.657 GB, free: 0.8672 MB / 1.011 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.05058/3.041, allocations: 18.34 MB / 1.675 GB, free: 14.9 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001535/3.043, allocations: 1.939 MB / 1.677 GB, free: 12.16 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001234/3.043, allocations: 64 kB / 1.677 GB, free: 12.09 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01648/3.06, allocations: 4.655 MB / 1.682 GB, free: 7.465 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01125/3.071, allocations: 1.951 MB / 1.684 GB, free: 5.602 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01533/3.086, allocations: 10.92 MB / 1.694 GB, free: 10.58 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0149/3.101, allocations: 1.131 MB / 1.695 GB, free: 9.445 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002815/3.104, allocations: 468 kB / 1.696 GB, free: 8.988 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/3.104, allocations: 4 kB / 1.696 GB, free: 8.984 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03835/3.143, allocations: 15.78 MB / 1.711 GB, free: 9.605 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001637/3.143, allocations: 63.94 kB / 1.711 GB, free: 9.543 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01334/3.156, allocations: 4.386 MB / 1.716 GB, free: 5.176 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009765/3.166, allocations: 1.935 MB / 1.718 GB, free: 3.332 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02343/3.189, allocations: 15.01 MB / 1.732 GB, free: 4.055 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01441/3.204, allocations: 1.125 MB / 1.733 GB, free: 2.926 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00215/3.206, allocations: 435.8 kB / 1.734 GB, free: 2.5 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 731 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(5,80), (4,81)} Notification: Performance of prepare postOptimizeDAE: time 0.008697/3.215, allocations: 3.103 MB / 1.737 GB, free: 15.48 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003778/3.219, allocations: 1.195 MB / 1.738 GB, free: 14.27 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03439/3.253, allocations: 14.58 MB / 1.752 GB, free: 15.73 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-05/3.253, allocations: 56 kB / 1.752 GB, free: 15.68 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/3.253, allocations: 7.922 kB / 1.752 GB, free: 15.67 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02955/3.283, allocations: 11.95 MB / 1.764 GB, free: 3.715 MB / 1.12 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.0678/3.351, allocations: 25.91 MB / 1.789 GB, free: 9.742 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.036e-05/3.351, allocations: 4 kB / 1.789 GB, free: 9.738 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006593/3.357, allocations: 1.179 MB / 1.79 GB, free: 8.602 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01094/3.368, allocations: 3.304 MB / 1.794 GB, free: 5.301 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001454/3.37, allocations: 163.9 kB / 1.794 GB, free: 5.141 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4195/3.789, allocations: 9.6 MB / 1.803 GB, free: 0.5402 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/3.789, allocations: 12.12 kB / 1.803 GB, free: 0.5402 GB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04105/3.83, allocations: 19.68 MB / 1.822 GB, free: 0.5383 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006789/3.837, allocations: 2.102 MB / 1.824 GB, free: 0.5378 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002933/3.84, allocations: 110.9 kB / 1.824 GB, free: 0.5377 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01029/3.85, allocations: 0.9632 MB / 1.825 GB, free: 0.5377 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008507/3.851, allocations: 384.2 kB / 1.826 GB, free: 0.5376 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005754/3.852, allocations: 249.1 kB / 1.826 GB, free: 0.5376 GB / 1.151 GB Notification: Performance of sorting global known variables: time 0.01784/3.87, allocations: 8.562 MB / 1.834 GB, free: 0.5349 GB / 1.151 GB Notification: Performance of sort global known variables: time 6.81e-07/3.87, allocations: 0 / 1.834 GB, free: 0.5349 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.04236/3.912, allocations: 5.362 MB / 1.84 GB, free: 0.5345 GB / 1.151 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 (441): * Single equations (assignments): 420 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(9,78), (1,1), (8,77)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00469/3.917, allocations: 1.268 MB / 1.841 GB, free: 0.5342 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.05658/3.973, allocations: 20.04 MB / 1.86 GB, free: 0.5282 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/3.973, allocations: 1.531 kB / 1.86 GB, free: 0.5282 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01595/3.989, allocations: 5.508 MB / 1.866 GB, free: 0.5265 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06118/4.051, allocations: 6.02 MB / 1.872 GB, free: 0.5225 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05856/4.109, allocations: 29.09 MB / 1.9 GB, free: 0.4968 GB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008897/4.118, allocations: 6.706 MB / 1.907 GB, free: 0.4914 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005721/4.124, allocations: 0.9638 MB / 1.908 GB, free: 0.4904 GB / 1.151 GB Notification: Performance of SimCode: time 8.82e-07/4.124, allocations: 0 / 1.908 GB, free: 0.4904 GB / 1.151 GB Notification: Performance of Templates: time 1.065/5.189, allocations: 0.6634 GB / 2.571 GB, free: 380.3 MB / 1.151 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)