Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 109.5 kB / 16.42 MB, free: 6.512 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.001159/0.001159, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.468/2.468, allocations: 437.1 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 67.91 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.6934, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.3438/1.037, allocations: 357.8 MB / 1.517 GB, free: 12.91 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.7552/1.792, allocations: 75.84 MB / 1.591 GB, free: 61.88 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01618/1.809, allocations: 441 kB / 1.591 GB, free: 61.88 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.0164/1.825, allocations: 6.556 MB / 1.598 GB, free: 61.86 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03732/1.862, allocations: 14.75 MB / 1.612 GB, free: 61.33 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02395/1.886, allocations: 10.2 MB / 1.622 GB, free: 60.98 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.09034/1.977, allocations: 74.27 MB / 1.695 GB, free: 52.83 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02679/2.004, allocations: 20 MB / 1.714 GB, free: 37.11 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03317/2.037, allocations: 17.45 MB / 1.731 GB, free: 21.09 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02431/2.061, allocations: 16.37 MB / 1.747 GB, free: 5.879 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.007117/2.068, allocations: 1.957 MB / 1.749 GB, free: 3.922 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01885/2.087, allocations: 6.048 MB / 1.755 GB, free: 14.14 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.01067/2.098, allocations: 6.491 MB / 1.761 GB, free: 7.887 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.02303/2.121, allocations: 11.2 MB / 1.772 GB, free: 12.87 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.04512/2.166, allocations: 31.07 MB / 1.803 GB, free: 14.89 MB / 1.342 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/2.166, allocations: 3.938 kB / 1.803 GB, free: 14.89 MB / 1.342 GB Notification: Performance of FrontEnd: time 1.844e-06/2.166, allocations: 4 kB / 1.803 GB, free: 14.89 MB / 1.342 GB Notification: Performance of Transformations before backend: time 0.00087/2.167, allocations: 0 / 1.803 GB, free: 14.89 MB / 1.342 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.06702/2.234, allocations: 23.9 MB / 1.826 GB, free: 7.027 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/2.234, allocations: 8.922 kB / 1.826 GB, free: 7.02 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01729/2.251, allocations: 3.185 MB / 1.829 GB, free: 3.809 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04448/2.296, allocations: 20.85 MB / 1.849 GB, free: 15.25 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006936/2.297, allocations: 0.6724 MB / 1.85 GB, free: 14.59 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004077/2.301, allocations: 0.9395 MB / 1.851 GB, free: 13.65 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03821/2.339, allocations: 17.07 MB / 1.868 GB, free: 12.39 MB / 1.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002999/2.339, allocations: 7.938 kB / 1.868 GB, free: 12.38 MB / 1.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002878/2.342, allocations: 330.4 kB / 1.868 GB, free: 12.06 MB / 1.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003732/2.342, allocations: 367.3 kB / 1.868 GB, free: 11.7 MB / 1.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03988/2.382, allocations: 21.5 MB / 1.889 GB, free: 6.191 MB / 1.42 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.1438/2.526, allocations: 83.29 MB / 1.971 GB, free: 380 kB / 1.498 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02346/2.55, allocations: 13.04 MB / 1.983 GB, free: 3.578 MB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01633/2.566, allocations: 10.06 MB / 1.993 GB, free: 9.508 MB / 1.529 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.07764/2.644, allocations: 35.31 MB / 2.028 GB, free: 5.859 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01843/2.662, allocations: 10.15 MB / 2.038 GB, free: 11.63 MB / 1.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02211/2.684, allocations: 5.807 MB / 2.043 GB, free: 5.984 MB / 1.576 GB Notification: Performance of pre-optimization done (n=567): time 2.983e-05/2.684, allocations: 0 / 2.043 GB, free: 5.984 MB / 1.576 GB Notification: Performance of matching and sorting (n=776): time 1.56/4.245, allocations: 191.5 MB / 2.23 GB, free: 0.7137 GB / 1.701 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/4.245, allocations: 140.4 kB / 2.23 GB, free: 0.7136 GB / 1.701 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03189/4.277, allocations: 17.85 MB / 2.248 GB, free: 0.7051 GB / 1.701 GB Notification: Performance of collectPreVariables (initialization): time 0.003845/4.281, allocations: 215.7 kB / 2.248 GB, free: 0.7049 GB / 1.701 GB Notification: Performance of collectInitialEqns (initialization): time 0.008657/4.289, allocations: 7.751 MB / 2.256 GB, free: 0.6997 GB / 1.701 GB Notification: Performance of collectInitialBindings (initialization): time 0.005325/4.295, allocations: 2.371 MB / 2.258 GB, free: 0.6991 GB / 1.701 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01147/4.306, allocations: 3.338 MB / 2.261 GB, free: 0.6974 GB / 1.701 GB Notification: Performance of setup shared object (initialization): time 3.965e-05/4.306, allocations: 301.1 kB / 2.261 GB, free: 0.6971 GB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02161/4.328, allocations: 12.48 MB / 2.274 GB, free: 0.6851 GB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02355/4.351, allocations: 15.28 MB / 2.289 GB, free: 0.6692 GB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04866/4.4, allocations: 26.85 MB / 2.315 GB, free: 0.6422 GB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.285e-05/4.4, allocations: 16 kB / 2.315 GB, free: 0.6422 GB / 1.701 GB Notification: Performance of matching and sorting (n=1526) (initialization): time 0.6109/5.011, allocations: 118.4 MB / 2.43 GB, free: 0.5269 GB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/5.011, allocations: 64 kB / 2.43 GB, free: 0.5268 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.689e-05/5.011, allocations: 52 kB / 2.431 GB, free: 0.5268 GB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6175/5.629, allocations: 118.2 MB / 2.546 GB, free: 421.3 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01729/5.646, allocations: 3.144 MB / 2.549 GB, free: 418.2 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1474/5.794, allocations: 81.82 MB / 2.629 GB, free: 336 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02122/5.815, allocations: 1.204 MB / 2.63 GB, free: 334.8 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003946/5.819, allocations: 0.8583 MB / 2.631 GB, free: 333.9 MB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02842/5.847, allocations: 15.69 MB / 2.646 GB, free: 318.2 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02166/5.869, allocations: 14.75 MB / 2.661 GB, free: 302.4 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04193/5.911, allocations: 25.85 MB / 2.686 GB, free: 275.8 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.849e-05/5.911, allocations: 12 kB / 2.686 GB, free: 275.8 MB / 1.701 GB Notification: Performance of matching and sorting (n=1526) (initialization_lambda0): time 0.6206/6.532, allocations: 116.8 MB / 2.8 GB, free: 158.8 MB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-05/6.532, allocations: 53.7 kB / 2.8 GB, free: 158.8 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.344e-05/6.532, allocations: 55.75 kB / 2.8 GB, free: 158.7 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6031/7.135, allocations: 117.9 MB / 2.915 GB, free: 40.9 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01489/7.15, allocations: 3.136 MB / 2.918 GB, free: 37.76 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.843/7.993, allocations: 86.06 MB / 3.002 GB, free: 0.6832 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02116/8.014, allocations: 1.254 MB / 3.003 GB, free: 0.683 GB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004523/8.019, allocations: 0.8281 MB / 3.004 GB, free: 0.683 GB / 1.701 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 (1138): * Single equations (assignments): 1120 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 4 * 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.006374/8.025, allocations: 0.752 MB / 3.005 GB, free: 0.6825 GB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007337/8.033, allocations: 1.557 MB / 3.007 GB, free: 0.6825 GB / 1.701 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 948 equation(s) and 742 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03371/8.066, allocations: 13.79 MB / 3.02 GB, free: 0.6774 GB / 1.701 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.Examples.FlowSystem.Simplified3 could not be translated