Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.636/1.636, allocations: 288.4 MB / 303.4 MB, free: 8.219 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.001026/0.001026, allocations: 178.4 kB / 372 MB, free: 10.27 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.405/1.405, 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.0008738/0.0008739, allocations: 92.58 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004192/0.0004193, allocations: 15.36 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1894, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 0.7024/0.8918, allocations: 329.5 MB / 1.301 GB, free: 4.973 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1047/0.9965, allocations: 72.93 MB / 1.373 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01611/1.013, allocations: 373.2 kB / 1.373 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01601/1.029, allocations: 3.564 MB / 1.376 GB, free: 7.957 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.03579/1.065, allocations: 10.35 MB / 1.387 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.02598/1.091, allocations: 7.02 MB / 1.393 GB, free: 6.578 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.04885/1.139, allocations: 38.2 MB / 1.431 GB, free: 260 kB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 1.201/2.34, allocations: 14.92 MB / 1.445 GB, free: 49.09 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03607/2.377, allocations: 12.85 MB / 1.458 GB, free: 49.07 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03655/2.413, allocations: 13.51 MB / 1.471 GB, free: 49.03 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.01053/2.424, allocations: 0.9967 MB / 1.472 GB, free: 49.03 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02364/2.447, allocations: 3.781 MB / 1.476 GB, free: 48.95 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.01217/2.46, allocations: 4.245 MB / 1.48 GB, free: 48.95 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0129/2.473, allocations: 2.932 MB / 1.483 GB, free: 48.92 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.03182/2.504, allocations: 19.35 MB / 1.502 GB, free: 47.57 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/2.504, allocations: 0 / 1.502 GB, free: 47.57 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.268e-06/2.505, allocations: 3 kB / 1.502 GB, free: 47.57 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001362/2.506, allocations: 0 / 1.502 GB, free: 47.57 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.05115/2.557, allocations: 18.17 MB / 1.519 GB, free: 41.12 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/2.557, allocations: 7.125 kB / 1.519 GB, free: 41.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01297/2.57, allocations: 2.299 MB / 1.522 GB, free: 40.22 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0345/2.605, allocations: 13.41 MB / 1.535 GB, free: 35.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00146/2.606, allocations: 0.7311 MB / 1.535 GB, free: 35.63 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005592/2.612, allocations: 0.7861 MB / 1.536 GB, free: 35.63 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04731/2.659, allocations: 14.9 MB / 1.551 GB, free: 31.09 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004674/2.66, allocations: 9.281 kB / 1.551 GB, free: 31.09 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004677/2.664, allocations: 292.2 kB / 1.551 GB, free: 31.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002833/2.665, allocations: 187.8 kB / 1.551 GB, free: 31.08 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03828/2.703, allocations: 19.36 MB / 1.57 GB, free: 28.29 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.1365/2.839, allocations: 77.54 MB / 1.646 GB, free: 11.93 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0183/2.858, allocations: 10.61 MB / 1.656 GB, free: 6.035 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0158/2.874, allocations: 9.132 MB / 1.665 GB, free: 0.6992 MB / 0.9949 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.0715/2.945, allocations: 32.75 MB / 1.697 GB, free: 7.273 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01713/2.962, allocations: 8.857 MB / 1.706 GB, free: 1.32 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03155/2.994, allocations: 9.84 MB / 1.715 GB, free: 8.16 MB / 1.042 GB Notification: Performance of pre-optimization done (n=421): time 3.825e-05/2.994, allocations: 0 / 1.715 GB, free: 8.16 MB / 1.042 GB Notification: Performance of matching and sorting (n=605): time 1.361/4.355, allocations: 197.2 MB / 1.908 GB, free: 0.4909 GB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.118e-05/4.355, allocations: 112.4 kB / 1.908 GB, free: 0.4908 GB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02137/4.377, allocations: 13.03 MB / 1.921 GB, free: 497.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.003881/4.381, allocations: 184.5 kB / 1.921 GB, free: 497 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.006907/4.388, allocations: 6.59 MB / 1.927 GB, free: 492.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004571/4.392, allocations: 2.048 MB / 1.929 GB, free: 492 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003269/4.395, allocations: 155.7 kB / 1.929 GB, free: 491.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0005961/4.396, allocations: 0.6215 MB / 1.93 GB, free: 491.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01839/4.414, allocations: 9.358 MB / 1.939 GB, free: 486.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01956/4.434, allocations: 11.87 MB / 1.951 GB, free: 477.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02002/4.454, allocations: 10.27 MB / 1.961 GB, free: 472.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.739e-05/4.454, allocations: 14.94 kB / 1.961 GB, free: 472.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 0.5862/5.04, allocations: 123.9 MB / 2.082 GB, free: 354.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008465/5.041, allocations: 1.735 MB / 2.084 GB, free: 352.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.277e-05/5.041, allocations: 56 kB / 2.084 GB, free: 352.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6027/5.644, allocations: 143.5 MB / 2.224 GB, free: 208.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01178/5.656, allocations: 2.076 MB / 2.226 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1514/5.807, allocations: 78.76 MB / 2.303 GB, free: 127.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02077/5.828, allocations: 1.249 MB / 2.304 GB, free: 126.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004837/5.833, allocations: 0.788 MB / 2.305 GB, free: 125.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/5.833, allocations: 4 kB / 2.305 GB, free: 125.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.022/6.855, allocations: 122.8 MB / 2.425 GB, free: 465.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001926/6.855, allocations: 50.84 kB / 2.425 GB, free: 465.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7576/7.613, allocations: 143.3 MB / 2.565 GB, free: 410.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01018/7.623, allocations: 2.051 MB / 2.567 GB, free: 408.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1419/7.765, allocations: 82.72 MB / 2.647 GB, free: 325.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01874/7.784, allocations: 1.228 MB / 2.649 GB, free: 324.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004424/7.788, allocations: 0.754 MB / 2.649 GB, free: 323.5 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.01076/7.799, allocations: 3.332 MB / 2.653 GB, free: 320.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004899/7.804, allocations: 1.284 MB / 2.654 GB, free: 319.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1866/7.991, allocations: 49.33 MB / 2.702 GB, free: 270.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001038/7.991, allocations: 76 kB / 2.702 GB, free: 270.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.158e-05/7.991, allocations: 28 kB / 2.702 GB, free: 270.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1689/8.16, allocations: 43.69 MB / 2.745 GB, free: 226.5 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.203/8.363, allocations: 64.22 MB / 2.807 GB, free: 162.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.215e-05/8.363, allocations: 4 kB / 2.807 GB, free: 162.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007523/8.37, allocations: 1.399 MB / 2.809 GB, free: 160.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1765/8.547, allocations: 42.77 MB / 2.851 GB, free: 118.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002241/8.549, allocations: 203.9 kB / 2.851 GB, free: 117.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0591/8.608, allocations: 35.57 MB / 2.886 GB, free: 82.14 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/8.608, allocations: 8 kB / 2.886 GB, free: 82.13 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1848/8.793, allocations: 56.37 MB / 2.941 GB, free: 25.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01075/8.804, allocations: 2.837 MB / 2.943 GB, free: 22.95 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005768/8.81, allocations: 143.9 kB / 2.943 GB, free: 22.81 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0157/8.825, allocations: 1.057 MB / 2.945 GB, free: 21.77 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002862/8.828, allocations: 0.4936 MB / 2.945 GB, free: 21.28 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00131/8.83, allocations: 296.7 kB / 2.945 GB, free: 20.99 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.5412/9.371, allocations: 8.808 MB / 2.954 GB, free: 478.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.032e-06/9.371, allocations: 0 / 2.954 GB, free: 478.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0536/9.425, allocations: 7.316 MB / 2.961 GB, free: 478.4 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.00634/9.431, allocations: 1.532 MB / 2.963 GB, free: 478.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.09564/9.527, allocations: 37.73 MB / 2.999 GB, free: 471.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.925e-05/9.527, allocations: 7.438 kB / 2.999 GB, free: 471.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.02919/9.556, allocations: 10.66 MB / 3.01 GB, free: 466.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04396/9.6, allocations: 6.954 MB / 3.017 GB, free: 465.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06457/9.665, allocations: 33.08 MB / 3.049 GB, free: 450 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01268/9.677, allocations: 7.545 MB / 3.056 GB, free: 448.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.02189/9.699, allocations: 4.052 MB / 3.06 GB, free: 447.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005549/9.705, allocations: 1.048 MB / 3.061 GB, free: 446.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.112e-06/9.705, allocations: 0 / 3.061 GB, free: 446.5 MB / 1.167 GB Notification: Performance of Templates: time 0.5066/10.21, allocations: 401.6 MB / 3.453 GB, free: 58.67 MB / 1.167 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)