Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.798/1.798, allocations: 287.5 MB / 302.6 MB, free: 8.328 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.00122/0.00122, allocations: 180.5 kB / 371.2 MB, free: 10.82 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.421/1.421, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0008353/0.0008353, allocations: 110.3 kB / 0.7432 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004021, allocations: 15.48 kB / 0.8661 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1943, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 0.7463/0.9406, allocations: 329.6 MB / 1.301 GB, free: 5.938 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1271/1.068, allocations: 72.93 MB / 1.372 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02065/1.088, allocations: 377.2 kB / 1.372 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01829/1.107, allocations: 3.556 MB / 1.376 GB, free: 8.918 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.04637/1.153, allocations: 10.35 MB / 1.386 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.02124/1.174, allocations: 7.018 MB / 1.393 GB, free: 7.59 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.04754/1.222, allocations: 38.61 MB / 1.43 GB, free: 0.8672 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6704/1.893, allocations: 15.9 MB / 1.446 GB, free: 48.82 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03941/1.932, allocations: 12.86 MB / 1.458 GB, free: 48.8 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03328/1.965, allocations: 13.51 MB / 1.472 GB, free: 48.77 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.01133/1.977, allocations: 0.9952 MB / 1.472 GB, free: 48.77 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02389/2.001, allocations: 3.783 MB / 1.476 GB, free: 48.7 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.01226/2.013, allocations: 4.247 MB / 1.48 GB, free: 48.7 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01392/2.027, allocations: 2.933 MB / 1.483 GB, free: 48.66 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0355/2.062, allocations: 19.35 MB / 1.502 GB, free: 47.31 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/2.062, allocations: 0.5625 kB / 1.502 GB, free: 47.31 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.665e-06/2.062, allocations: 2.344 kB / 1.502 GB, free: 47.31 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001076/2.064, allocations: 0 / 1.502 GB, free: 47.31 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: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.05632/2.12, allocations: 18.01 MB / 1.52 GB, free: 40.86 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/2.12, allocations: 8.312 kB / 1.52 GB, free: 40.86 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01275/2.133, allocations: 2.301 MB / 1.522 GB, free: 39.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0333/2.166, allocations: 13.94 MB / 1.536 GB, free: 35.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001343/2.167, allocations: 0.721 MB / 1.536 GB, free: 35.04 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005343/2.173, allocations: 0.7917 MB / 1.537 GB, free: 35.03 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04124/2.214, allocations: 14.9 MB / 1.552 GB, free: 30.49 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003563/2.215, allocations: 13.62 kB / 1.552 GB, free: 30.49 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004601/2.219, allocations: 291.6 kB / 1.552 GB, free: 30.49 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001937/2.219, allocations: 185.3 kB / 1.552 GB, free: 30.48 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03701/2.256, allocations: 19.36 MB / 1.571 GB, free: 27.69 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.135/2.391, allocations: 77.56 MB / 1.647 GB, free: 11.63 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0177/2.409, allocations: 10.61 MB / 1.657 GB, free: 5.734 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01466/2.424, allocations: 9.133 MB / 1.666 GB, free: 408 kB / 0.9948 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.07718/2.501, allocations: 32.74 MB / 1.698 GB, free: 7.004 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0152/2.516, allocations: 8.843 MB / 1.707 GB, free: 1.062 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0301/2.546, allocations: 9.849 MB / 1.716 GB, free: 7.895 MB / 1.042 GB Notification: Performance of pre-optimization done (n=421): time 5.113e-05/2.547, allocations: 0 / 1.716 GB, free: 7.895 MB / 1.042 GB Notification: Performance of matching and sorting (n=605): time 1.386/3.932, allocations: 197.6 MB / 1.909 GB, free: 0.4924 GB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.415e-05/3.932, allocations: 117.6 kB / 1.909 GB, free: 0.4923 GB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02748/3.96, allocations: 13.02 MB / 1.922 GB, free: 497.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.003676/3.963, allocations: 181.5 kB / 1.922 GB, free: 497.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.006677/3.97, allocations: 6.589 MB / 1.929 GB, free: 493.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004936/3.975, allocations: 2.052 MB / 1.931 GB, free: 492.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003093/3.978, allocations: 152.5 kB / 1.931 GB, free: 492.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0005665/3.979, allocations: 0.6183 MB / 1.931 GB, free: 492 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01689/3.996, allocations: 9.368 MB / 1.941 GB, free: 486.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01987/4.016, allocations: 11.88 MB / 1.952 GB, free: 478.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03799/4.054, allocations: 20.91 MB / 1.973 GB, free: 465.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.74e-05/4.054, allocations: 21.34 kB / 1.973 GB, free: 465.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 0.5798/4.634, allocations: 124 MB / 2.094 GB, free: 343.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008801/4.635, allocations: 1.742 MB / 2.095 GB, free: 340.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/4.635, allocations: 52 kB / 2.095 GB, free: 340.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6081/5.243, allocations: 143.5 MB / 2.235 GB, free: 197 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01085/5.254, allocations: 2.068 MB / 2.237 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1386/5.392, allocations: 78.77 MB / 2.314 GB, free: 115.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02176/5.414, allocations: 1.244 MB / 2.316 GB, free: 114.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005132/5.419, allocations: 0.7879 MB / 2.316 GB, free: 113.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/5.419, allocations: 6.031 kB / 2.316 GB, free: 113.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.203/6.623, allocations: 122.8 MB / 2.436 GB, free: 468.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001864/6.623, allocations: 53.09 kB / 2.436 GB, free: 468.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6944/7.317, allocations: 143.3 MB / 2.576 GB, free: 399.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/7.328, allocations: 2.041 MB / 2.578 GB, free: 397.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1699/7.498, allocations: 82.73 MB / 2.659 GB, free: 314.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02055/7.518, allocations: 1.228 MB / 2.66 GB, free: 313.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005036/7.523, allocations: 0.7502 MB / 2.661 GB, free: 312.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (769): * Single equations (assignments): 755 * 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 {(28,89.3%) 28} * Non-linear torn systems: 2 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01689/7.54, allocations: 3.339 MB / 2.664 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008062/7.548, allocations: 1.281 MB / 2.665 GB, free: 308.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1923/7.741, allocations: 49.31 MB / 2.714 GB, free: 259.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001147/7.741, allocations: 76 kB / 2.714 GB, free: 259.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.452e-05/7.741, allocations: 35.94 kB / 2.714 GB, free: 259.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1711/7.912, allocations: 43.71 MB / 2.756 GB, free: 215.6 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.2011/8.113, allocations: 64.23 MB / 2.819 GB, free: 151.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-05/8.113, allocations: 4 kB / 2.819 GB, free: 151.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007505/8.121, allocations: 1.393 MB / 2.821 GB, free: 150 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1807/8.302, allocations: 42.8 MB / 2.862 GB, free: 107.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002003/8.304, allocations: 199.9 kB / 2.863 GB, free: 107 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05952/8.363, allocations: 35.57 MB / 2.897 GB, free: 71.27 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/8.363, allocations: 8 kB / 2.897 GB, free: 71.26 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6795/9.043, allocations: 56.38 MB / 2.952 GB, free: 467.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01166/9.054, allocations: 2.846 MB / 2.955 GB, free: 467.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006583/9.061, allocations: 132.1 kB / 2.955 GB, free: 467.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01897/9.08, allocations: 1.061 MB / 2.956 GB, free: 467.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004274/9.084, allocations: 498.2 kB / 2.957 GB, free: 467.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00246/9.087, allocations: 306.2 kB / 2.957 GB, free: 467.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.02817/9.115, allocations: 8.805 MB / 2.966 GB, free: 467.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.21e-07/9.115, allocations: 0 / 2.966 GB, free: 467.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.05387/9.169, allocations: 7.317 MB / 2.973 GB, free: 467.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (541): * Single equations (assignments): 519 * 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 {(28,89.3%) 28} * Non-linear torn systems: 3 {9 78,5 80,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006174/9.175, allocations: 1.542 MB / 2.974 GB, free: 467.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.08678/9.262, allocations: 37.72 MB / 3.011 GB, free: 455.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/9.262, allocations: 2.656 kB / 3.011 GB, free: 455.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.02387/9.286, allocations: 10.67 MB / 3.022 GB, free: 450.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05793/9.344, allocations: 6.821 MB / 3.028 GB, free: 449.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0626/9.407, allocations: 33.1 MB / 3.061 GB, free: 434 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01254/9.419, allocations: 7.546 MB / 3.068 GB, free: 432.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.02158/9.441, allocations: 4.053 MB / 3.072 GB, free: 431.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005206/9.446, allocations: 1.041 MB / 3.073 GB, free: 431.8 MB / 1.167 GB Notification: Performance of SimCode: time 8.11e-07/9.446, allocations: 3.969 kB / 3.073 GB, free: 431.8 MB / 1.167 GB Notification: Performance of Templates: time 0.523/9.969, allocations: 401.9 MB / 3.465 GB, free: 47.97 MB / 1.167 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)