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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001467/0.001467, allocations: 111.1 kB / 16.42 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.389/1.389, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.156/2.156, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.84 kB / 0.9517 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7219/0.7232, allocations: 140.4 MB / 1.089 GB, free: 5.809 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpSouth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpNorth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpHea.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 0.3267/1.05, allocations: 355.7 MB / 1.436 GB, free: 9.672 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.09544/1.145, allocations: 72.94 MB / 1.507 GB, free: 0.5352 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0154/1.161, allocations: 425.5 kB / 1.508 GB, free: 120 kB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.01351/1.174, allocations: 4.755 MB / 1.512 GB, free: 11.33 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.03132/1.206, allocations: 11.62 MB / 1.524 GB, free: 15.68 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01882/1.225, allocations: 7.898 MB / 1.531 GB, free: 7.836 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.04012/1.265, allocations: 29.33 MB / 1.56 GB, free: 10.42 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02537/1.29, allocations: 17.17 MB / 1.577 GB, free: 9.105 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 1.298/2.589, allocations: 14.55 MB / 1.591 GB, free: 81.52 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0291/2.618, allocations: 13.46 MB / 1.604 GB, free: 81.52 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.01026/2.628, allocations: 1.518 MB / 1.606 GB, free: 81.52 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01992/2.648, allocations: 4.778 MB / 1.61 GB, free: 81.52 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.01104/2.659, allocations: 4.756 MB / 1.615 GB, free: 81.52 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.02211/2.681, allocations: 8.566 MB / 1.623 GB, free: 79.57 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.04068/2.722, allocations: 23.67 MB / 1.646 GB, free: 77.28 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/2.722, allocations: 0 / 1.646 GB, free: 77.28 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.924e-06/2.722, allocations: 0 / 1.646 GB, free: 77.28 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0008019/2.723, allocations: 0 / 1.646 GB, free: 77.28 MB / 1.311 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.05943/2.782, allocations: 18.47 MB / 1.665 GB, free: 70.92 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/2.782, allocations: 8.5 kB / 1.665 GB, free: 70.92 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01595/2.798, allocations: 2.615 MB / 1.667 GB, free: 70.06 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03164/2.83, allocations: 13.03 MB / 1.68 GB, free: 67.74 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009719/2.831, allocations: 0.5111 MB / 1.68 GB, free: 67.73 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006612/2.838, allocations: 0.6825 MB / 1.681 GB, free: 67.73 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03362/2.871, allocations: 14.11 MB / 1.695 GB, free: 67.12 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002961/2.871, allocations: 4.625 kB / 1.695 GB, free: 67.12 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003534/2.875, allocations: 245.4 kB / 1.695 GB, free: 67.12 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001655/2.875, allocations: 150.3 kB / 1.695 GB, free: 67.12 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03525/2.91, allocations: 19.08 MB / 1.714 GB, free: 67.03 MB / 1.311 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.1226/3.033, allocations: 72.5 MB / 1.785 GB, free: 23.07 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01662/3.05, allocations: 10.63 MB / 1.795 GB, free: 17.08 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0129/3.063, allocations: 9.121 MB / 1.804 GB, free: 10.57 MB / 1.311 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.06583/3.129, allocations: 30.64 MB / 1.834 GB, free: 11.73 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01624/3.145, allocations: 8.891 MB / 1.842 GB, free: 2.801 MB / 1.342 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02093/3.166, allocations: 5.784 MB / 1.848 GB, free: 13.18 MB / 1.358 GB Notification: Performance of pre-optimization done (n=383): time 2.349e-05/3.166, allocations: 0 / 1.848 GB, free: 13.18 MB / 1.358 GB Notification: Performance of matching and sorting (n=569): time 1.06/4.226, allocations: 205.5 MB / 2.049 GB, free: 15.05 MB / 1.561 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.171e-05/4.226, allocations: 115.9 kB / 2.049 GB, free: 14.92 MB / 1.561 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02587/4.252, allocations: 12.63 MB / 2.061 GB, free: 2.336 MB / 1.561 GB Notification: Performance of collectPreVariables (initialization): time 0.004196/4.257, allocations: 172.8 kB / 2.061 GB, free: 2.164 MB / 1.561 GB Notification: Performance of collectInitialEqns (initialization): time 0.008042/4.265, allocations: 5.929 MB / 2.067 GB, free: 12.25 MB / 1.576 GB Notification: Performance of collectInitialBindings (initialization): time 0.004822/4.269, allocations: 1.919 MB / 2.069 GB, free: 10.35 MB / 1.576 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006998/4.276, allocations: 2.392 MB / 2.071 GB, free: 7.953 MB / 1.576 GB Notification: Performance of setup shared object (initialization): time 9.389e-05/4.277, allocations: 312.3 kB / 2.072 GB, free: 7.648 MB / 1.576 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01925/4.296, allocations: 10.14 MB / 2.082 GB, free: 13.49 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0242/4.32, allocations: 12.35 MB / 2.094 GB, free: 264 kB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04867/4.369, allocations: 22.08 MB / 2.115 GB, free: 9.664 MB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.034e-05/4.369, allocations: 12 kB / 2.115 GB, free: 9.652 MB / 1.623 GB Notification: Performance of matching and sorting (n=954) (initialization): time 1.283/5.652, allocations: 126.1 MB / 2.238 GB, free: 0.7226 GB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.676e-05/5.652, allocations: 59.09 kB / 2.238 GB, free: 0.7226 GB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.621e-05/5.652, allocations: 46.72 kB / 2.239 GB, free: 0.7226 GB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7201/6.372, allocations: 136.4 MB / 2.372 GB, free: 0.6239 GB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01063/6.383, allocations: 1.926 MB / 2.374 GB, free: 0.6221 GB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1804/6.563, allocations: 99.57 MB / 2.471 GB, free: 0.5248 GB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01673/6.58, allocations: 0.8696 MB / 2.472 GB, free: 0.524 GB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003649/6.584, allocations: 0.7724 MB / 2.472 GB, free: 0.5232 GB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02335/6.607, allocations: 12.39 MB / 2.485 GB, free: 0.5111 GB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01788/6.625, allocations: 11.9 MB / 2.496 GB, free: 0.4986 GB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0356/6.661, allocations: 21.19 MB / 2.517 GB, free: 488.7 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.409e-05/6.661, allocations: 16 kB / 2.517 GB, free: 488.7 MB / 1.67 GB Notification: Performance of matching and sorting (n=954) (initialization_lambda0): time 0.6775/7.338, allocations: 124.6 MB / 2.639 GB, free: 364.7 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.773e-05/7.338, allocations: 49.7 kB / 2.639 GB, free: 364.7 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.858e-05/7.338, allocations: 44 kB / 2.639 GB, free: 364.6 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.706/8.044, allocations: 136.1 MB / 2.772 GB, free: 228.6 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009377/8.054, allocations: 1.899 MB / 2.773 GB, free: 226.7 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1797/8.233, allocations: 104.2 MB / 2.875 GB, free: 122.3 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0162/8.25, allocations: 0.8975 MB / 2.876 GB, free: 121.4 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002908/8.253, allocations: 0.7333 MB / 2.877 GB, free: 120.7 MB / 1.67 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 (675): * Single equations (assignments): 661 * 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 {(34,41,81.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.004448/8.257, allocations: 0.5895 MB / 2.877 GB, free: 120.1 MB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005839/8.263, allocations: 1.209 MB / 2.879 GB, free: 119.5 MB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.227/8.49, allocations: 52.57 MB / 2.93 GB, free: 67.07 MB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2221/8.712, allocations: 46.99 MB / 2.976 GB, free: 20.06 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.017e-05/8.712, allocations: 0 / 2.976 GB, free: 20.06 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5504/9.263, allocations: 2.563 MB / 2.978 GB, free: 0.7041 GB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005338/9.268, allocations: 118.5 kB / 2.978 GB, free: 0.7041 GB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01404/9.282, allocations: 0.7106 MB / 2.979 GB, free: 0.7041 GB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007846/9.29, allocations: 0.9267 MB / 2.98 GB, free: 0.7041 GB / 1.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07563/9.365, allocations: 23.49 MB / 3.003 GB, free: 0.7037 GB / 1.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05456/9.42, allocations: 25.52 MB / 3.028 GB, free: 0.695 GB / 1.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01633/9.436, allocations: 8.005 MB / 3.036 GB, free: 0.6922 GB / 1.67 GB Notification: Performance of sorting global known variables: time 0.01892/9.455, allocations: 8.605 MB / 3.044 GB, free: 0.6895 GB / 1.67 GB Notification: Performance of Backend: time 1.112e-06/9.455, allocations: 0 / 3.044 GB, free: 0.6895 GB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.09253/9.548, allocations: 33.05 MB / 3.076 GB, free: 0.6784 GB / 1.67 GB Notification: Performance of SimCode: time 0.06254/9.611, allocations: 29.61 MB / 3.105 GB, free: 0.6669 GB / 1.67 GB Notification: Performance of Templates: time 0.4905/10.1, allocations: 429.4 MB / 3.525 GB, free: 281.9 MB / 1.67 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)