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.001503/0.001503, allocations: 111.8 kB / 16.42 MB, free: 5.918 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.001349/0.001349, allocations: 191.7 kB / 17.35 MB, free: 5.555 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7471/0.7471, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 66.2 kB / 0.5821 GB, free: 23.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.13, allocations: 80.2 MB / 0.6604 GB, free: 10.18 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.6007/0.7308, allocations: 355.6 MB / 1.008 GB, free: 3.293 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.4792/1.21, allocations: 72.82 MB / 1.079 GB, free: 36.77 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0139/1.224, allocations: 425.9 kB / 1.079 GB, free: 36.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01475/1.239, allocations: 5.443 MB / 1.084 GB, free: 36.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.03483/1.274, allocations: 14.15 MB / 1.098 GB, free: 36.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.02031/1.294, allocations: 9.759 MB / 1.108 GB, free: 36.06 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.03975/1.334, allocations: 37.57 MB / 1.145 GB, free: 35.32 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02376/1.357, allocations: 19.84 MB / 1.164 GB, free: 29.61 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03044/1.388, allocations: 17.13 MB / 1.181 GB, free: 20.88 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0238/1.412, allocations: 15.83 MB / 1.196 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.006334/1.418, allocations: 1.855 MB / 1.198 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01852/1.437, allocations: 5.703 MB / 1.203 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.01005/1.447, allocations: 5.777 MB / 1.209 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.02398/1.471, allocations: 10.31 MB / 1.219 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.04627/1.517, allocations: 28.88 MB / 1.247 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.517, allocations: 0 / 1.247 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.754e-06/1.517, allocations: 0 / 1.247 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0008794/1.518, allocations: 0 / 1.247 GB, free: 3.367 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.06227/1.58, allocations: 22.68 MB / 1.27 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.58, allocations: 8.031 kB / 1.27 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01234/1.593, allocations: 2.319 MB / 1.272 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04045/1.633, allocations: 15.98 MB / 1.287 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007966/1.634, allocations: 0.6591 MB / 1.288 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004699/1.639, allocations: 0.9286 MB / 1.289 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03949/1.678, allocations: 16.41 MB / 1.305 GB, free: 8.605 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003793/1.679, allocations: 15.5 kB / 1.305 GB, free: 8.594 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003413/1.682, allocations: 326.5 kB / 1.305 GB, free: 8.281 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004312/1.683, allocations: 375.2 kB / 1.306 GB, free: 7.914 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04143/1.724, allocations: 20.84 MB / 1.326 GB, free: 3.055 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.1361/1.86, allocations: 81.26 MB / 1.405 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02043/1.881, allocations: 12.37 MB / 1.417 GB, free: 2.941 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3213/2.202, allocations: 9.77 MB / 1.427 GB, free: 492.7 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.05897/2.261, allocations: 34.19 MB / 1.46 GB, free: 476.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01226/2.273, allocations: 9.587 MB / 1.47 GB, free: 471.5 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01941/2.293, allocations: 5.769 MB / 1.475 GB, free: 469.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=551): time 2.847e-05/2.293, allocations: 0 / 1.475 GB, free: 469.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=760): time 0.8645/3.157, allocations: 190.7 MB / 1.662 GB, free: 294 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/3.157, allocations: 133.4 kB / 1.662 GB, free: 293.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02142/3.179, allocations: 14.99 MB / 1.676 GB, free: 279.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.003049/3.182, allocations: 213.7 kB / 1.677 GB, free: 278.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00542/3.187, allocations: 7.235 MB / 1.684 GB, free: 271.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.004058/3.191, allocations: 2.409 MB / 1.686 GB, free: 269.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008138/3.199, allocations: 2.88 MB / 1.689 GB, free: 266.6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 3.339e-05/3.199, allocations: 309.1 kB / 1.689 GB, free: 266.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01683/3.216, allocations: 11.09 MB / 1.7 GB, free: 255.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0187/3.235, allocations: 13.62 MB / 1.713 GB, free: 240.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03712/3.272, allocations: 24.29 MB / 1.737 GB, free: 215.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.477e-05/3.272, allocations: 12 kB / 1.737 GB, free: 215.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=1254) (initialization): time 0.5962/3.868, allocations: 115.2 MB / 1.849 GB, free: 100.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.497e-05/3.868, allocations: 54.8 kB / 1.85 GB, free: 100.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.119e-05/3.868, allocations: 56 kB / 1.85 GB, free: 100.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9453/4.814, allocations: 118.1 MB / 1.965 GB, free: 449.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01412/4.828, allocations: 2.865 MB / 1.968 GB, free: 449.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1473/4.975, allocations: 81.53 MB / 2.047 GB, free: 409.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01848/4.994, allocations: 1.072 MB / 2.048 GB, free: 408.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003249/4.997, allocations: 0.8271 MB / 2.049 GB, free: 407.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02348/5.021, allocations: 13.92 MB / 2.063 GB, free: 394 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01801/5.039, allocations: 13.18 MB / 2.076 GB, free: 379.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03461/5.073, allocations: 23.41 MB / 2.099 GB, free: 355.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.115e-05/5.073, allocations: 16 kB / 2.099 GB, free: 355.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=1254) (initialization_lambda0): time 0.5691/5.642, allocations: 113.7 MB / 2.21 GB, free: 242.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.497e-05/5.643, allocations: 61.73 kB / 2.21 GB, free: 242.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.071e-05/5.643, allocations: 52 kB / 2.21 GB, free: 242.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.671/6.314, allocations: 117.8 MB / 2.325 GB, free: 125.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01289/6.327, allocations: 2.847 MB / 2.328 GB, free: 122.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1428/6.469, allocations: 86.1 MB / 2.412 GB, free: 36.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02014/6.49, allocations: 1.104 MB / 2.413 GB, free: 35.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002695/6.492, allocations: 0.792 MB / 2.413 GB, free: 34.3 MB / 1.029 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.00321/6.496, allocations: 0.7118 MB / 2.414 GB, free: 33.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004773/6.5, allocations: 1.482 MB / 2.416 GB, free: 32.92 MB / 1.029 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.02825/6.529, allocations: 13.38 MB / 2.429 GB, free: 19.59 MB / 1.029 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model IDEAS.Fluid.Examples.FlowSystem.Simplified3 could not be translated