Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 98.88 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.001014/0.001014, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.348/1.348, allocations: 223.3 MB / 241 MB, free: 5.238 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.366/2.366, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 15.98 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8035/0.8039, allocations: 142.4 MB / 0.9557 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 1.052/1.856, allocations: 348.1 MB / 1.296 GB, free: 59.12 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.09866/1.955, allocations: 72.36 MB / 1.366 GB, free: 57.86 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01953/1.974, allocations: 377.1 kB / 1.367 GB, free: 57.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0163/1.99, allocations: 4.344 MB / 1.371 GB, free: 56.89 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.03729/2.028, allocations: 12.15 MB / 1.383 GB, free: 50.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02222/2.05, allocations: 8.584 MB / 1.391 GB, free: 44.99 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04301/2.093, allocations: 44.99 MB / 1.435 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02344/2.117, allocations: 16.07 MB / 1.451 GB, free: 12.23 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03338/2.15, allocations: 13.35 MB / 1.464 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03365/2.184, allocations: 14.17 MB / 1.478 GB, free: 2.477 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00707/2.191, allocations: 0.9961 MB / 1.479 GB, free: 1.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02077/2.212, allocations: 4.856 MB / 1.483 GB, free: 12.87 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.009881/2.222, allocations: 4.345 MB / 1.488 GB, free: 8.73 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0223/2.244, allocations: 8.481 MB / 1.496 GB, free: 428 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02975/2.274, allocations: 19.55 MB / 1.515 GB, free: 13.68 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/2.274, allocations: 0 / 1.515 GB, free: 13.68 MB / 1.076 GB Notification: Performance of FrontEnd: time 4.549e-06/2.274, allocations: 0 / 1.515 GB, free: 13.68 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0008987/2.275, allocations: 3.938 kB / 1.515 GB, free: 13.68 MB / 1.076 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.04837/2.323, allocations: 18.13 MB / 1.533 GB, free: 11.57 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/2.323, allocations: 16.03 kB / 1.533 GB, free: 11.55 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01669/2.34, allocations: 2.658 MB / 1.535 GB, free: 8.875 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03709/2.377, allocations: 14.17 MB / 1.549 GB, free: 10.95 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001404/2.378, allocations: 0.7225 MB / 1.55 GB, free: 10.23 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004536/2.383, allocations: 0.785 MB / 1.551 GB, free: 9.445 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03931/2.422, allocations: 15.06 MB / 1.565 GB, free: 10.16 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004009/2.423, allocations: 7.938 kB / 1.565 GB, free: 10.16 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003761/2.427, allocations: 295.2 kB / 1.566 GB, free: 9.871 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002304/2.427, allocations: 192 kB / 1.566 GB, free: 9.684 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04108/2.468, allocations: 19.58 MB / 1.585 GB, free: 6.078 MB / 1.139 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.1467/2.615, allocations: 77.88 MB / 1.661 GB, free: 5.086 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01935/2.634, allocations: 10.82 MB / 1.672 GB, free: 10.48 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01544/2.65, allocations: 9.176 MB / 1.681 GB, free: 1.293 MB / 1.232 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.07258/2.722, allocations: 32.84 MB / 1.713 GB, free: 72 kB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.137/3.859, allocations: 8.96 MB / 1.721 GB, free: 0.4965 GB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03089/3.89, allocations: 9.839 MB / 1.731 GB, free: 0.496 GB / 1.264 GB Notification: Performance of pre-optimization done (n=421): time 4.689e-05/3.89, allocations: 0 / 1.731 GB, free: 0.496 GB / 1.264 GB Notification: Performance of matching and sorting (n=605): time 0.8481/4.738, allocations: 198.1 MB / 1.924 GB, free: 332.9 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/4.738, allocations: 124.9 kB / 1.925 GB, free: 332.8 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02158/4.76, allocations: 13.33 MB / 1.938 GB, free: 319.6 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.00399/4.764, allocations: 177.7 kB / 1.938 GB, free: 319.4 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.006889/4.771, allocations: 6.549 MB / 1.944 GB, free: 312.9 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.004864/4.776, allocations: 2.047 MB / 1.946 GB, free: 310.9 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003894/4.78, allocations: 0.7187 MB / 1.947 GB, free: 310.1 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 4.893e-05/4.78, allocations: 301.1 kB / 1.947 GB, free: 309.8 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01863/4.798, allocations: 10.17 MB / 1.957 GB, free: 299.7 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02025/4.819, allocations: 12.61 MB / 1.969 GB, free: 286 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03887/4.858, allocations: 22.48 MB / 1.991 GB, free: 262.8 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.268e-05/4.858, allocations: 16 kB / 1.991 GB, free: 262.8 MB / 1.264 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 0.5872/5.445, allocations: 125.7 MB / 2.114 GB, free: 136.8 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008724/5.446, allocations: 1.736 MB / 2.116 GB, free: 134.3 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-05/5.446, allocations: 55.98 kB / 2.116 GB, free: 134.3 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243/6.689, allocations: 143.6 MB / 2.256 GB, free: 463.6 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01135/6.7, allocations: 2.104 MB / 2.258 GB, free: 463.6 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1616/6.862, allocations: 78.82 MB / 2.335 GB, free: 424.7 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02179/6.884, allocations: 1.27 MB / 2.336 GB, free: 423.6 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004342/6.888, allocations: 0.7905 MB / 2.337 GB, free: 422.8 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/6.888, allocations: 7.984 kB / 2.337 GB, free: 422.8 MB / 1.264 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5884/7.477, allocations: 123.1 MB / 2.457 GB, free: 300.2 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001428/7.477, allocations: 52 kB / 2.457 GB, free: 300.1 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6158/8.092, allocations: 143.3 MB / 2.597 GB, free: 156.6 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01017/8.103, allocations: 2.079 MB / 2.599 GB, free: 154.5 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1538/8.257, allocations: 83.18 MB / 2.681 GB, free: 71.22 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02141/8.278, allocations: 1.256 MB / 2.682 GB, free: 70.02 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004688/8.283, allocations: 0.7579 MB / 2.683 GB, free: 69.26 MB / 1.264 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,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 (769): * Single equations (assignments): 755 * 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 {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.01349/8.296, allocations: 3.362 MB / 2.686 GB, free: 65.92 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006441/8.303, allocations: 1.296 MB / 2.687 GB, free: 65.32 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.9038/9.207, allocations: 49.56 MB / 2.735 GB, free: 455.5 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001837/9.207, allocations: 75.77 kB / 2.736 GB, free: 455.5 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001996/9.207, allocations: 29.22 kB / 2.736 GB, free: 455.5 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2035/9.41, allocations: 43.93 MB / 2.778 GB, free: 452 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.2382/9.649, allocations: 64.6 MB / 2.842 GB, free: 424.6 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.272e-05/9.649, allocations: 8 kB / 2.842 GB, free: 424.6 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007954/9.657, allocations: 1.43 MB / 2.843 GB, free: 423.2 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1992/9.856, allocations: 42.78 MB / 2.885 GB, free: 380.6 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002333/9.859, allocations: 203.9 kB / 2.885 GB, free: 380.4 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07073/9.929, allocations: 35.6 MB / 2.92 GB, free: 344.7 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/9.929, allocations: 16.02 kB / 2.92 GB, free: 344.7 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2143/10.14, allocations: 56.76 MB / 2.975 GB, free: 288.8 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01032/10.15, allocations: 2.885 MB / 2.978 GB, free: 286.6 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006122/10.16, allocations: 131.9 kB / 2.978 GB, free: 286.5 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01622/10.18, allocations: 1.097 MB / 2.979 GB, free: 285.5 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003757/10.18, allocations: 0.4897 MB / 2.98 GB, free: 285 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002346/10.18, allocations: 299.8 kB / 2.98 GB, free: 284.7 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.01797/10.2, allocations: 9.054 MB / 2.989 GB, free: 275.7 MB / 1.264 GB Notification: Performance of sort global known variables: time 5.61e-07/10.2, allocations: 0 / 2.989 GB, free: 275.7 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.04561/10.25, allocations: 7.348 MB / 2.996 GB, free: 268.5 MB / 1.264 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 (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 {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(9,78), (5,80), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005529/10.25, allocations: 1.606 MB / 2.997 GB, free: 267.3 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.09016/10.34, allocations: 38.74 MB / 3.035 GB, free: 228.8 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.827e-05/10.34, allocations: 4 kB / 3.035 GB, free: 228.8 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.02574/10.37, allocations: 10.75 MB / 3.046 GB, free: 218.1 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06153/10.43, allocations: 6.824 MB / 3.052 GB, free: 211.7 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06502/10.49, allocations: 34.98 MB / 3.087 GB, free: 176.7 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01102/10.51, allocations: 7.412 MB / 3.094 GB, free: 169.2 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005921/10.51, allocations: 1.104 MB / 3.095 GB, free: 168.1 MB / 1.264 GB Notification: Performance of SimCode: time 9.72e-07/10.51, allocations: 4 kB / 3.095 GB, free: 168.1 MB / 1.264 GB Notification: Performance of Templates: time 2.194/12.7, allocations: 0.8311 GB / 3.926 GB, free: 290.7 MB / 1.264 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)