Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.001097/0.001097, allocations: 178.3 kB / 326.5 MB, free: 2.703 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.693/1.693, allocations: 205 MB / 0.5766 GB, free: 21.03 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.0008542/0.0008542, allocations: 80.36 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 8.812 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.232, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 0.8292/1.061, allocations: 353.8 MB / 1.242 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1237/1.185, allocations: 77.79 MB / 1.318 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02085/1.206, allocations: 389.2 kB / 1.319 GB, free: 444 kB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01532/1.221, allocations: 3.858 MB / 1.322 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.03636/1.258, allocations: 10.23 MB / 1.332 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.02163/1.279, allocations: 7.176 MB / 1.339 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.04647/1.326, allocations: 38.04 MB / 1.376 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02626/1.352, allocations: 15 MB / 1.391 GB, free: 5.836 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5866/1.939, allocations: 12.22 MB / 1.403 GB, free: 23.79 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02795/1.967, allocations: 13.14 MB / 1.416 GB, free: 23.79 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.007727/1.974, allocations: 0.9669 MB / 1.417 GB, free: 23.79 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01901/1.993, allocations: 3.973 MB / 1.421 GB, free: 23.79 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.01031/2.004, allocations: 4.098 MB / 1.425 GB, free: 23.62 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.02331/2.027, allocations: 7.734 MB / 1.432 GB, free: 21.45 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.02717/2.054, allocations: 17.49 MB / 1.449 GB, free: 20.87 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/2.054, allocations: 2.812 kB / 1.449 GB, free: 20.87 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.474e-06/2.054, allocations: 0 / 1.449 GB, free: 20.87 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001044/2.055, allocations: 2.75 kB / 1.449 GB, free: 20.87 MB / 0.9011 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.04795/2.103, allocations: 16.93 MB / 1.466 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/2.104, allocations: 8.531 kB / 1.466 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0142/2.118, allocations: 2.371 MB / 1.468 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03302/2.151, allocations: 12.58 MB / 1.481 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001935/2.153, allocations: 0.7815 MB / 1.481 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005385/2.158, allocations: 0.6924 MB / 1.482 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0388/2.197, allocations: 14.02 MB / 1.496 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003678/2.197, allocations: 8.125 kB / 1.496 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004166/2.202, allocations: 244.1 kB / 1.496 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/2.202, allocations: 148.9 kB / 1.496 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04/2.242, allocations: 18.99 MB / 1.515 GB, free: 9.031 MB / 0.9011 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.133/2.375, allocations: 73.33 MB / 1.586 GB, free: 5.207 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01823/2.393, allocations: 10.57 MB / 1.597 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01469/2.408, allocations: 9.068 MB / 1.605 GB, free: 9.543 MB / 0.9636 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.06909/2.477, allocations: 31.8 MB / 1.636 GB, free: 9.473 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0165/2.494, allocations: 8.849 MB / 1.645 GB, free: 0.5859 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02793/2.521, allocations: 9.962 MB / 1.655 GB, free: 6.766 MB / 1.01 GB Notification: Performance of pre-optimization done (n=387): time 3.026e-05/2.522, allocations: 0 / 1.655 GB, free: 6.766 MB / 1.01 GB Notification: Performance of matching and sorting (n=573): time 1.417/3.939, allocations: 218 MB / 1.868 GB, free: 0.5201 GB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/3.939, allocations: 117.7 kB / 1.868 GB, free: 0.52 GB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01985/3.959, allocations: 12.39 MB / 1.88 GB, free: 0.5153 GB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.003156/3.962, allocations: 175.5 kB / 1.88 GB, free: 0.5152 GB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.005615/3.968, allocations: 5.943 MB / 1.886 GB, free: 0.5112 GB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.004005/3.972, allocations: 1.933 MB / 1.888 GB, free: 0.5108 GB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002807/3.975, allocations: 0.6728 MB / 1.888 GB, free: 0.5104 GB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.807e-05/3.975, allocations: 301.1 kB / 1.889 GB, free: 0.5101 GB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01599/3.991, allocations: 9.882 MB / 1.898 GB, free: 0.5048 GB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01857/4.009, allocations: 12.21 MB / 1.91 GB, free: 0.4931 GB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03626/4.046, allocations: 21.73 MB / 1.932 GB, free: 482.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.036e-05/4.046, allocations: 12 kB / 1.932 GB, free: 482.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=954) (initialization): time 0.6115/4.657, allocations: 140.4 MB / 2.069 GB, free: 342.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001044/4.658, allocations: 1.546 MB / 2.07 GB, free: 340.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001171/4.658, allocations: 44 kB / 2.07 GB, free: 340 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6457/5.304, allocations: 166.3 MB / 2.233 GB, free: 173.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01313/5.317, allocations: 1.864 MB / 2.234 GB, free: 171.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3381/5.655, allocations: 95.25 MB / 2.328 GB, free: 75.95 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0326/5.688, allocations: 1.139 MB / 2.329 GB, free: 74.84 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006453/5.695, allocations: 0.7696 MB / 2.329 GB, free: 74.07 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/5.695, allocations: 4 kB / 2.329 GB, free: 74.06 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.194/6.888, allocations: 137.9 MB / 2.464 GB, free: 0.4901 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001565/6.888, allocations: 47.19 kB / 2.464 GB, free: 0.4901 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6473/7.536, allocations: 165.9 MB / 2.626 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008709/7.545, allocations: 1.851 MB / 2.628 GB, free: 352.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2002/7.745, allocations: 99.51 MB / 2.725 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01874/7.764, allocations: 1.138 MB / 2.726 GB, free: 251.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005701/7.769, allocations: 0.7372 MB / 2.727 GB, free: 250.9 MB / 1.151 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,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 (679): * Single equations (assignments): 665 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 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): 1 system {(31,40,84.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (6,79)} Notification: Performance of prepare postOptimizeDAE: time 0.01523/7.785, allocations: 3.084 MB / 2.73 GB, free: 247.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007361/7.792, allocations: 1.19 MB / 2.731 GB, free: 247.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2054/7.997, allocations: 53.17 MB / 2.783 GB, free: 194.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000119/7.998, allocations: 79.98 kB / 2.783 GB, free: 194 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002066/7.998, allocations: 36 kB / 2.783 GB, free: 194 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1838/8.182, allocations: 47.66 MB / 2.83 GB, free: 146.2 MB / 1.151 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.2312/8.413, allocations: 67.18 MB / 2.895 GB, free: 79.05 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.422e-05/8.413, allocations: 8 kB / 2.895 GB, free: 79.05 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006678/8.42, allocations: 1.28 MB / 2.896 GB, free: 77.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1924/8.612, allocations: 49.28 MB / 2.945 GB, free: 28.43 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002649/8.615, allocations: 203.9 kB / 2.945 GB, free: 28.23 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6562/9.271, allocations: 41.42 MB / 2.985 GB, free: 0.5072 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/9.271, allocations: 13.38 kB / 2.985 GB, free: 0.5072 GB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2048/9.476, allocations: 60.01 MB / 3.044 GB, free: 0.494 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01004/9.486, allocations: 2.493 MB / 3.046 GB, free: 0.4934 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006151/9.492, allocations: 125.1 kB / 3.046 GB, free: 0.4933 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01478/9.507, allocations: 0.9562 MB / 3.047 GB, free: 0.4932 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004162/9.511, allocations: 495.9 kB / 3.048 GB, free: 0.4932 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002028/9.513, allocations: 282.1 kB / 3.048 GB, free: 0.493 GB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0177/9.531, allocations: 8.433 MB / 3.056 GB, free: 498 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.5e-07/9.531, allocations: 0 / 3.056 GB, free: 498 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.04318/9.574, allocations: 6.828 MB / 3.063 GB, free: 491.3 MB / 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 (504): * Single equations (assignments): 482 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 4 * 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): 1 system {(31,40,84.4%)} * 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.005123/9.579, allocations: 1.292 MB / 3.064 GB, free: 490.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.08593/9.665, allocations: 38.27 MB / 3.102 GB, free: 456.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.729e-05/9.665, allocations: 4 kB / 3.102 GB, free: 456.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.02541/9.691, allocations: 10.69 MB / 3.112 GB, free: 445.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05766/9.749, allocations: 6.319 MB / 3.118 GB, free: 439.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06674/9.815, allocations: 31.94 MB / 3.149 GB, free: 408.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009919/9.825, allocations: 6.901 MB / 3.156 GB, free: 401.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005069/9.83, allocations: 1.003 MB / 3.157 GB, free: 400.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.543e-06/9.83, allocations: 0 / 3.157 GB, free: 400.4 MB / 1.151 GB Notification: Performance of Templates: time 1.637/11.47, allocations: 0.7602 GB / 3.917 GB, free: 183.7 MB / 1.151 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)