Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001329/0.001329, allocations: 113.3 kB / 16.42 MB, free: 6.031 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.00113/0.00113, allocations: 187.2 kB / 17.35 MB, free: 5.633 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.269/1.269, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7552/0.7552, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 66.08 kB / 0.5821 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1365, allocations: 80.21 MB / 0.6604 GB, free: 10.31 MB / 0.4981 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(IDEAS.Fluid.Examples.FlowSystem.Simplified3): time 0.6072/0.7438, allocations: 355.6 MB / 1.008 GB, free: 3.418 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.4736/1.217, allocations: 72.82 MB / 1.079 GB, free: 36.59 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01345/1.231, allocations: 430.9 kB / 1.079 GB, free: 36.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01323/1.244, allocations: 5.444 MB / 1.084 GB, free: 36.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.03397/1.278, allocations: 14.14 MB / 1.098 GB, free: 36.14 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.02095/1.299, allocations: 9.755 MB / 1.108 GB, free: 35.88 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.04114/1.34, allocations: 37.59 MB / 1.145 GB, free: 35.14 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02346/1.364, allocations: 19.8 MB / 1.164 GB, free: 29.51 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03157/1.395, allocations: 17.12 MB / 1.181 GB, free: 21 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02551/1.421, allocations: 15.83 MB / 1.196 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.007067/1.428, allocations: 1.855 MB / 1.198 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01992/1.448, allocations: 5.7 MB / 1.203 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0106/1.459, allocations: 5.777 MB / 1.209 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.02169/1.48, allocations: 10.3 MB / 1.219 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.04301/1.523, allocations: 28.79 MB / 1.247 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/1.523, allocations: 0 / 1.247 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.925e-06/1.523, allocations: 4 kB / 1.247 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.001063/1.524, allocations: 0 / 1.247 GB, free: 3.598 MB / 0.8575 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.06029/1.585, allocations: 22.1 MB / 1.269 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.585, allocations: 8.031 kB / 1.269 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/1.596, allocations: 2.231 MB / 1.271 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03433/1.63, allocations: 15.84 MB / 1.286 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006543/1.631, allocations: 0.6656 MB / 1.287 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004166/1.635, allocations: 0.9221 MB / 1.288 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0353/1.67, allocations: 16.42 MB / 1.304 GB, free: 9.551 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001868/1.671, allocations: 15.84 kB / 1.304 GB, free: 9.535 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001803/1.672, allocations: 327.6 kB / 1.304 GB, free: 9.223 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003462/1.673, allocations: 371.2 kB / 1.305 GB, free: 8.859 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03588/1.709, allocations: 20.85 MB / 1.325 GB, free: 3.996 MB / 0.9356 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.1328/1.842, allocations: 81.15 MB / 1.404 GB, free: 148 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01889/1.86, allocations: 12.37 MB / 1.416 GB, free: 4.004 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5818/2.442, allocations: 9.77 MB / 1.426 GB, free: 490.1 MB / 1.029 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.06175/2.504, allocations: 34.18 MB / 1.459 GB, free: 473.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01182/2.516, allocations: 9.581 MB / 1.469 GB, free: 468.7 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01759/2.534, allocations: 5.756 MB / 1.474 GB, free: 467 MB / 1.029 GB Notification: Performance of pre-optimization done (n=551): time 3.194e-05/2.534, allocations: 0 / 1.474 GB, free: 467 MB / 1.029 GB Notification: Performance of matching and sorting (n=760): time 0.8621/3.396, allocations: 190.4 MB / 1.66 GB, free: 291.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/3.396, allocations: 129.4 kB / 1.66 GB, free: 290.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02123/3.417, allocations: 14.99 MB / 1.675 GB, free: 276.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.003247/3.42, allocations: 217.7 kB / 1.675 GB, free: 275.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.005344/3.426, allocations: 7.142 MB / 1.682 GB, free: 268.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.004172/3.43, allocations: 2.303 MB / 1.684 GB, free: 266.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004798/3.435, allocations: 2.883 MB / 1.687 GB, free: 263.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 3.773e-05/3.435, allocations: 305.1 kB / 1.688 GB, free: 263.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0156/3.45, allocations: 11.1 MB / 1.698 GB, free: 252.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01764/3.468, allocations: 13.62 MB / 1.712 GB, free: 237.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03669/3.505, allocations: 24.29 MB / 1.735 GB, free: 212.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.408e-05/3.505, allocations: 16 kB / 1.735 GB, free: 212.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=1254) (initialization): time 0.5841/4.089, allocations: 115.1 MB / 1.848 GB, free: 97.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.298e-05/4.089, allocations: 61.64 kB / 1.848 GB, free: 97.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.141e-05/4.089, allocations: 52 kB / 1.848 GB, free: 97.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237/5.326, allocations: 118.1 MB / 1.963 GB, free: 447.3 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01413/5.34, allocations: 2.865 MB / 1.966 GB, free: 447.3 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1356/5.476, allocations: 81.5 MB / 2.046 GB, free: 403.2 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01708/5.493, allocations: 1.076 MB / 2.047 GB, free: 402.1 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001819/5.495, allocations: 0.8271 MB / 2.048 GB, free: 401.3 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01995/5.515, allocations: 13.92 MB / 2.061 GB, free: 387.3 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01625/5.531, allocations: 13.18 MB / 2.074 GB, free: 373.2 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03282/5.564, allocations: 23.41 MB / 2.097 GB, free: 349 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.923e-05/5.564, allocations: 16 kB / 2.097 GB, free: 349 MB / 1.03 GB Notification: Performance of matching and sorting (n=1254) (initialization_lambda0): time 0.5757/6.14, allocations: 113.7 MB / 2.208 GB, free: 236.1 MB / 1.03 GB Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/6.14, allocations: 53.7 kB / 2.208 GB, free: 236.1 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.044e-05/6.14, allocations: 52 kB / 2.208 GB, free: 236 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5984/6.738, allocations: 117.8 MB / 2.323 GB, free: 118.5 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01284/6.751, allocations: 2.843 MB / 2.326 GB, free: 115.7 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1442/6.895, allocations: 86.06 MB / 2.41 GB, free: 29.43 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01787/6.913, allocations: 1.097 MB / 2.411 GB, free: 28.33 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002609/6.916, allocations: 0.7959 MB / 2.412 GB, free: 27.54 MB / 1.03 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.003313/6.919, allocations: 0.7166 MB / 2.412 GB, free: 26.81 MB / 1.03 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005049/6.924, allocations: 1.411 MB / 2.414 GB, free: 26.14 MB / 1.03 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.3711/7.295, allocations: 13.36 MB / 2.427 GB, free: 450.9 MB / 1.03 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model IDEAS.Fluid.Examples.FlowSystem.Simplified3 could not be translated