Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_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_9_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.001528/0.001528, allocations: 111.8 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.001585/0.001585, allocations: 189.5 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.318/1.318, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.158/2.158, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.91 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7059/0.7072, allocations: 140.4 MB / 1.089 GB, free: 5.551 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.Simplified3): time 0.3342/1.041, allocations: 355.6 MB / 1.436 GB, free: 9.551 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.09968/1.141, allocations: 72.94 MB / 1.507 GB, free: 428 kB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01398/1.155, allocations: 429.5 kB / 1.508 GB, free: 15.99 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.01506/1.17, allocations: 5.432 MB / 1.513 GB, free: 10.54 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.03781/1.208, allocations: 14.17 MB / 1.527 GB, free: 12.32 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.0223/1.23, allocations: 9.796 MB / 1.536 GB, free: 2.59 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.04319/1.274, allocations: 37.6 MB / 1.573 GB, free: 12.88 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 1.277/2.55, allocations: 19.78 MB / 1.592 GB, free: 77.46 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04216/2.592, allocations: 17.13 MB / 1.609 GB, free: 77.46 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.031/2.623, allocations: 15.84 MB / 1.625 GB, free: 75.54 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.009421/2.633, allocations: 1.859 MB / 1.626 GB, free: 75.54 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02242/2.655, allocations: 5.701 MB / 1.632 GB, free: 75.54 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.01151/2.667, allocations: 5.777 MB / 1.638 GB, free: 74.88 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.02267/2.689, allocations: 10.31 MB / 1.648 GB, free: 72.21 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.04795/2.737, allocations: 28.78 MB / 1.676 GB, free: 68.7 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/2.738, allocations: 3.094 kB / 1.676 GB, free: 68.7 MB / 1.311 GB Notification: Performance of FrontEnd: time 2.274e-06/2.738, allocations: 0 / 1.676 GB, free: 68.7 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0009092/2.738, allocations: 0 / 1.676 GB, free: 68.7 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: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.06392/2.802, allocations: 22.09 MB / 1.697 GB, free: 60.73 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/2.802, allocations: 8.281 kB / 1.697 GB, free: 60.73 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01523/2.818, allocations: 2.576 MB / 1.7 GB, free: 59.73 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03625/2.854, allocations: 15.97 MB / 1.715 GB, free: 56.23 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006589/2.855, allocations: 0.66 MB / 1.716 GB, free: 56.21 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005072/2.86, allocations: 0.92 MB / 1.717 GB, free: 56.2 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03758/2.897, allocations: 16.52 MB / 1.733 GB, free: 51.23 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002223/2.898, allocations: 12.94 kB / 1.733 GB, free: 51.23 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002163/2.9, allocations: 324 kB / 1.733 GB, free: 51.23 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002718/2.9, allocations: 375.9 kB / 1.734 GB, free: 51.18 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03235/2.932, allocations: 21.04 MB / 1.754 GB, free: 48.01 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.1304/3.063, allocations: 81.43 MB / 1.834 GB, free: 13.15 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02304/3.086, allocations: 12.54 MB / 1.846 GB, free: 0.8398 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01733/3.103, allocations: 9.87 MB / 1.856 GB, free: 6.957 MB / 1.358 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.07202/3.175, allocations: 34.27 MB / 1.889 GB, free: 4.398 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01661/3.192, allocations: 9.689 MB / 1.899 GB, free: 10.64 MB / 1.404 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02086/3.213, allocations: 5.754 MB / 1.904 GB, free: 5.043 MB / 1.404 GB Notification: Performance of pre-optimization done (n=551): time 2.489e-05/3.213, allocations: 0 / 1.904 GB, free: 5.043 MB / 1.404 GB Notification: Performance of matching and sorting (n=760): time 0.9541/4.167, allocations: 190.9 MB / 2.091 GB, free: 5.352 MB / 1.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.171e-05/4.167, allocations: 129.4 kB / 2.091 GB, free: 5.211 MB / 1.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0298/4.197, allocations: 14.99 MB / 2.105 GB, free: 6.305 MB / 1.608 GB Notification: Performance of collectPreVariables (initialization): time 0.003804/4.201, allocations: 213.7 kB / 2.106 GB, free: 6.09 MB / 1.608 GB Notification: Performance of collectInitialEqns (initialization): time 0.008467/4.209, allocations: 7.148 MB / 2.113 GB, free: 14.94 MB / 1.623 GB Notification: Performance of collectInitialBindings (initialization): time 0.005614/4.215, allocations: 2.297 MB / 2.115 GB, free: 12.66 MB / 1.623 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01186/4.227, allocations: 2.887 MB / 2.118 GB, free: 9.75 MB / 1.623 GB Notification: Performance of setup shared object (initialization): time 8.644e-05/4.227, allocations: 305.1 kB / 2.118 GB, free: 9.449 MB / 1.623 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02189/4.249, allocations: 11.17 MB / 2.129 GB, free: 14.26 MB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02501/4.274, allocations: 13.72 MB / 2.142 GB, free: 15.57 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04726/4.321, allocations: 24.45 MB / 2.166 GB, free: 6.562 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.182e-05/4.321, allocations: 16 kB / 2.166 GB, free: 6.547 MB / 1.67 GB Notification: Performance of matching and sorting (n=1254) (initialization): time 1.169/5.491, allocations: 115.3 MB / 2.279 GB, free: 0.6954 GB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.826e-05/5.491, allocations: 58.8 kB / 2.279 GB, free: 0.6954 GB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/5.491, allocations: 53.59 kB / 2.279 GB, free: 0.6954 GB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6053/6.096, allocations: 118.1 MB / 2.394 GB, free: 0.5971 GB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01486/6.111, allocations: 2.898 MB / 2.397 GB, free: 0.5943 GB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1557/6.267, allocations: 81.5 MB / 2.477 GB, free: 0.5146 GB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02087/6.288, allocations: 1.114 MB / 2.478 GB, free: 0.5136 GB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004464/6.292, allocations: 0.8271 MB / 2.479 GB, free: 0.5128 GB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02875/6.321, allocations: 14.02 MB / 2.492 GB, free: 0.4991 GB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02172/6.343, allocations: 13.27 MB / 2.505 GB, free: 496.7 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04126/6.384, allocations: 23.56 MB / 2.528 GB, free: 472.4 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.788e-05/6.384, allocations: 16 kB / 2.528 GB, free: 472.4 MB / 1.67 GB Notification: Performance of matching and sorting (n=1254) (initialization_lambda0): time 0.591/6.975, allocations: 113.8 MB / 2.639 GB, free: 359.4 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.965e-05/6.975, allocations: 61.77 kB / 2.639 GB, free: 359.3 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.432e-05/6.975, allocations: 52 kB / 2.64 GB, free: 359.3 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6112/7.587, allocations: 117.8 MB / 2.755 GB, free: 241.8 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01369/7.6, allocations: 2.884 MB / 2.757 GB, free: 238.9 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.167/7.767, allocations: 86.06 MB / 2.841 GB, free: 152.6 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02118/7.789, allocations: 1.133 MB / 2.843 GB, free: 151.5 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004815/7.793, allocations: 0.7959 MB / 2.843 GB, free: 150.7 MB / 1.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (994): * Single equations (assignments): 980 * 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.007599/7.801, allocations: 0.709 MB / 2.844 GB, free: 150 MB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007321/7.808, allocations: 1.411 MB / 2.845 GB, free: 149.3 MB / 1.67 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 932 equation(s) and 726 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03485/7.843, allocations: 13.48 MB / 2.859 GB, free: 135.9 MB / 1.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.Examples.FlowSystem.Simplified3 could not be translated