Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001167, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00181/0.001811, allocations: 181.6 kB / 16.92 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.3 MB / 241 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.9 MB / 0.667 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003646, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8035/0.8039, allocations: 142.4 MB / 0.9557 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 0.9679/1.772, allocations: 348.1 MB / 1.296 GB, free: 59.07 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.09371/1.866, allocations: 72.38 MB / 1.366 GB, free: 57.8 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01988/1.886, allocations: 378.2 kB / 1.367 GB, free: 57.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01523/1.901, allocations: 3.858 MB / 1.37 GB, free: 56.94 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.03453/1.935, allocations: 10.29 MB / 1.381 GB, free: 51.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01983/1.955, allocations: 7.175 MB / 1.388 GB, free: 47.4 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03884/1.994, allocations: 38.34 MB / 1.425 GB, free: 21.3 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01992/2.014, allocations: 15.16 MB / 1.44 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02806/2.042, allocations: 12.35 MB / 1.452 GB, free: 11.15 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02624/2.068, allocations: 13.14 MB / 1.465 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.006531/2.075, allocations: 0.9648 MB / 1.466 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01861/2.094, allocations: 4.097 MB / 1.47 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.009296/2.103, allocations: 4.106 MB / 1.474 GB, free: 6.258 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.02148/2.125, allocations: 7.805 MB / 1.481 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02947/2.154, allocations: 17.62 MB / 1.498 GB, free: 13.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/2.154, allocations: 0 / 1.498 GB, free: 13.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.816e-06/2.154, allocations: 0 / 1.498 GB, free: 13.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0008725/2.155, allocations: 0 / 1.498 GB, free: 13.75 MB / 1.061 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.05024/2.205, allocations: 17.05 MB / 1.515 GB, free: 12.72 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/2.205, allocations: 12.03 kB / 1.515 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01564/2.221, allocations: 2.73 MB / 1.518 GB, free: 9.961 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0332/2.254, allocations: 12.81 MB / 1.53 GB, free: 13.4 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001927/2.256, allocations: 0.7794 MB / 1.531 GB, free: 12.62 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004283/2.26, allocations: 0.6797 MB / 1.532 GB, free: 11.94 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03696/2.297, allocations: 14.18 MB / 1.546 GB, free: 13.62 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000256/2.298, allocations: 3.938 kB / 1.546 GB, free: 13.61 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003126/2.301, allocations: 250.8 kB / 1.546 GB, free: 13.37 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001688/2.301, allocations: 152 kB / 1.546 GB, free: 13.22 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04099/2.342, allocations: 19.24 MB / 1.565 GB, free: 9.973 MB / 1.123 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.1471/2.489, allocations: 73.74 MB / 1.637 GB, free: 13.25 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02131/2.511, allocations: 10.82 MB / 1.647 GB, free: 2.645 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01619/2.527, allocations: 9.193 MB / 1.656 GB, free: 9.441 MB / 1.217 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.07549/2.602, allocations: 31.98 MB / 1.688 GB, free: 9.16 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01849/2.621, allocations: 8.994 MB / 1.696 GB, free: 132 kB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03205/2.653, allocations: 9.954 MB / 1.706 GB, free: 6.312 MB / 1.264 GB Notification: Performance of pre-optimization done (n=387): time 4.159e-05/2.653, allocations: 0 / 1.706 GB, free: 6.312 MB / 1.264 GB Notification: Performance of matching and sorting (n=573): time 1.704/4.357, allocations: 220.6 MB / 1.921 GB, free: 342.2 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/4.357, allocations: 113.2 kB / 1.922 GB, free: 342 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01929/4.377, allocations: 12.57 MB / 1.934 GB, free: 329.6 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.00366/4.38, allocations: 173.7 kB / 1.934 GB, free: 329.4 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.006203/4.387, allocations: 5.942 MB / 1.94 GB, free: 323.8 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.004602/4.391, allocations: 1.93 MB / 1.942 GB, free: 322 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003756/4.395, allocations: 0.6756 MB / 1.942 GB, free: 321.3 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 5.586e-05/4.395, allocations: 301.1 kB / 1.943 GB, free: 321 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01832/4.413, allocations: 10.19 MB / 1.953 GB, free: 310.8 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02027/4.434, allocations: 12.45 MB / 1.965 GB, free: 297.4 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03998/4.474, allocations: 22.27 MB / 1.986 GB, free: 274.5 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.373e-05/4.474, allocations: 12 kB / 1.986 GB, free: 274.5 MB / 1.264 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.7019/5.176, allocations: 141.1 MB / 2.124 GB, free: 133.1 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007847/5.177, allocations: 1.539 MB / 2.126 GB, free: 130.9 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.354e-05/5.177, allocations: 48 kB / 2.126 GB, free: 130.9 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349/6.526, allocations: 166.4 MB / 2.288 GB, free: 463.4 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01111/6.537, allocations: 1.98 MB / 2.29 GB, free: 463.4 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1798/6.717, allocations: 95.52 MB / 2.383 GB, free: 392.1 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01961/6.737, allocations: 1.239 MB / 2.385 GB, free: 391 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004556/6.741, allocations: 0.772 MB / 2.385 GB, free: 390.2 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/6.741, allocations: 4 kB / 2.385 GB, free: 390.2 MB / 1.264 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6711/7.412, allocations: 138.5 MB / 2.521 GB, free: 251.7 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/7.413, allocations: 44 kB / 2.521 GB, free: 251.7 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7219/8.134, allocations: 165.9 MB / 2.683 GB, free: 85.55 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009615/8.144, allocations: 1.962 MB / 2.685 GB, free: 83.59 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9105/9.055, allocations: 99.33 MB / 2.782 GB, free: 444.1 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01845/9.073, allocations: 1.222 MB / 2.783 GB, free: 444 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004205/9.077, allocations: 0.7449 MB / 2.784 GB, free: 443.9 MB / 1.264 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 (683): * Single equations (assignments): 669 * 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 {(32,39,82.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(7,78), (8,77)} Notification: Performance of prepare postOptimizeDAE: time 0.01171/9.089, allocations: 3.09 MB / 2.787 GB, free: 442.7 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004838/9.094, allocations: 1.199 MB / 2.788 GB, free: 442.7 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2373/9.331, allocations: 53.79 MB / 2.84 GB, free: 432.8 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001293/9.331, allocations: 77.25 kB / 2.84 GB, free: 432.8 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000243/9.332, allocations: 33.19 kB / 2.84 GB, free: 432.8 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2146/9.546, allocations: 48.22 MB / 2.887 GB, free: 401.2 MB / 1.264 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.2608/9.807, allocations: 67.93 MB / 2.954 GB, free: 333.6 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001043/9.807, allocations: 11.22 kB / 2.954 GB, free: 333.6 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007614/9.815, allocations: 1.383 MB / 2.955 GB, free: 332.2 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2285/10.04, allocations: 49.28 MB / 3.003 GB, free: 283.1 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002248/10.05, allocations: 203.9 kB / 3.003 GB, free: 282.9 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08425/10.13, allocations: 41.42 MB / 3.044 GB, free: 241.5 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/10.13, allocations: 19.91 kB / 3.044 GB, free: 241.5 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2369/10.37, allocations: 60.89 MB / 3.103 GB, free: 180.8 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009527/10.38, allocations: 2.729 MB / 3.106 GB, free: 178 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00528/10.38, allocations: 132 kB / 3.106 GB, free: 177.9 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01504/10.4, allocations: 1.046 MB / 3.107 GB, free: 176.9 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003481/10.4, allocations: 493.3 kB / 3.108 GB, free: 176.4 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002125/10.4, allocations: 275.8 kB / 3.108 GB, free: 176.1 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.01518/10.42, allocations: 8.546 MB / 3.116 GB, free: 167.6 MB / 1.264 GB Notification: Performance of sort global known variables: time 4.91e-07/10.42, allocations: 4 kB / 3.116 GB, free: 167.6 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.04257/10.46, allocations: 6.91 MB / 3.123 GB, free: 160.8 MB / 1.264 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.00535/10.47, allocations: 1.322 MB / 3.124 GB, free: 159.6 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.1039/10.57, allocations: 39.25 MB / 3.163 GB, free: 120.3 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.917e-05/10.57, allocations: 4 kB / 3.163 GB, free: 120.2 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.02733/10.6, allocations: 10.96 MB / 3.173 GB, free: 109.3 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05317/10.65, allocations: 6.263 MB / 3.179 GB, free: 103.2 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05253/10.7, allocations: 32.58 MB / 3.211 GB, free: 70.52 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007417/10.71, allocations: 6.957 MB / 3.218 GB, free: 63.51 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004511/10.71, allocations: 1.007 MB / 3.219 GB, free: 62.5 MB / 1.264 GB Notification: Performance of SimCode: time 6.71e-07/10.71, allocations: 0 / 3.219 GB, free: 62.5 MB / 1.264 GB Notification: Performance of Templates: time 2.318/13.03, allocations: 0.7628 GB / 3.982 GB, free: 284.4 MB / 1.264 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)