Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001154/0.001155, allocations: 108.4 kB / 16.41 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.001147/0.001147, allocations: 190.7 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.198/1.198, 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/IDEAS 3.0.0-master/package.mo): time 0.7106/0.7106, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 67.02 kB / 0.5864 GB, free: 21.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1184, allocations: 80.92 MB / 0.6654 GB, free: 5.688 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.5758/0.6943, allocations: 355.6 MB / 1.013 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.4515/1.146, allocations: 72.81 MB / 1.084 GB, free: 37.18 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01263/1.158, allocations: 427.9 kB / 1.084 GB, free: 37.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01218/1.171, allocations: 5.445 MB / 1.089 GB, free: 37.17 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.03011/1.201, allocations: 14.15 MB / 1.103 GB, free: 36.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01765/1.218, allocations: 9.762 MB / 1.113 GB, free: 36.38 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.03476/1.253, allocations: 37.58 MB / 1.149 GB, free: 35.14 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02224/1.275, allocations: 19.8 MB / 1.169 GB, free: 28.34 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02602/1.301, allocations: 17.12 MB / 1.186 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02205/1.324, allocations: 15.83 MB / 1.201 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.006344/1.33, allocations: 1.859 MB / 1.203 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01811/1.348, allocations: 5.698 MB / 1.208 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.008938/1.357, allocations: 5.779 MB / 1.214 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.02026/1.377, allocations: 10.3 MB / 1.224 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.04058/1.418, allocations: 28.78 MB / 1.252 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/1.418, allocations: 4 kB / 1.252 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.483e-06/1.418, allocations: 0 / 1.252 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0007455/1.419, allocations: 0 / 1.252 GB, free: 13.99 MB / 0.8731 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.05645/1.475, allocations: 22.11 MB / 1.274 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/1.475, allocations: 9.109 kB / 1.274 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/1.486, allocations: 2.227 MB / 1.276 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03389/1.519, allocations: 15.84 MB / 1.291 GB, free: 6.129 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006714/1.52, allocations: 0.6582 MB / 1.292 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003997/1.524, allocations: 0.9295 MB / 1.293 GB, free: 4.555 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03335/1.558, allocations: 16.41 MB / 1.309 GB, free: 3.941 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002469/1.558, allocations: 15.88 kB / 1.309 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002432/1.56, allocations: 326.5 kB / 1.309 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003466/1.561, allocations: 371.2 kB / 1.31 GB, free: 3.25 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03207/1.593, allocations: 20.85 MB / 1.33 GB, free: 14.39 MB / 0.9512 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.1251/1.718, allocations: 81.17 MB / 1.409 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5563/2.274, allocations: 12.35 MB / 1.421 GB, free: 485.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01404/2.288, allocations: 9.78 MB / 1.431 GB, free: 482.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.05766/2.346, allocations: 34.17 MB / 1.464 GB, free: 466.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01204/2.358, allocations: 9.591 MB / 1.474 GB, free: 460.6 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01675/2.375, allocations: 5.755 MB / 1.479 GB, free: 458.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=551): time 2.472e-05/2.375, allocations: 8.531 kB / 1.479 GB, free: 458.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=760): time 0.8235/3.198, allocations: 190.4 MB / 1.665 GB, free: 281.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/3.198, allocations: 129.4 kB / 1.665 GB, free: 281.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02306/3.222, allocations: 14.98 MB / 1.68 GB, free: 266.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.003237/3.225, allocations: 213.7 kB / 1.68 GB, free: 266.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.005863/3.231, allocations: 7.148 MB / 1.687 GB, free: 259.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.004135/3.235, allocations: 2.303 MB / 1.689 GB, free: 257 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006532/3.241, allocations: 2.879 MB / 1.692 GB, free: 254.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 3.312e-05/3.241, allocations: 309 kB / 1.693 GB, free: 253.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01424/3.256, allocations: 11.09 MB / 1.703 GB, free: 242.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01558/3.271, allocations: 13.63 MB / 1.717 GB, free: 228 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03097/3.302, allocations: 24.28 MB / 1.74 GB, free: 203 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.908e-05/3.302, allocations: 16 kB / 1.74 GB, free: 202.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=1254) (initialization): time 0.5479/3.85, allocations: 115.1 MB / 1.853 GB, free: 87.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.635e-05/3.85, allocations: 53.7 kB / 1.853 GB, free: 87.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-05/3.85, allocations: 55.94 kB / 1.853 GB, free: 87.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121/4.971, allocations: 118.1 MB / 1.968 GB, free: 443.4 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01291/4.984, allocations: 2.864 MB / 1.971 GB, free: 443.4 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1269/5.111, allocations: 81.51 MB / 2.051 GB, free: 390.3 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01598/5.127, allocations: 1.074 MB / 2.052 GB, free: 389.3 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002208/5.13, allocations: 0.831 MB / 2.053 GB, free: 388.4 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01959/5.149, allocations: 13.92 MB / 2.066 GB, free: 374.5 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01535/5.164, allocations: 13.18 MB / 2.079 GB, free: 360.3 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0297/5.194, allocations: 23.41 MB / 2.102 GB, free: 336.1 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.831e-05/5.194, allocations: 16 kB / 2.102 GB, free: 336.1 MB / 1.03 GB Notification: Performance of matching and sorting (n=1254) (initialization_lambda0): time 0.5432/5.737, allocations: 113.7 MB / 2.213 GB, free: 223.3 MB / 1.03 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/5.738, allocations: 53.7 kB / 2.213 GB, free: 223.2 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.74e-05/5.738, allocations: 52 kB / 2.213 GB, free: 223.2 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5721/6.31, allocations: 117.8 MB / 2.328 GB, free: 105.6 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01203/6.322, allocations: 2.836 MB / 2.331 GB, free: 102.8 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1313/6.453, allocations: 86.06 MB / 2.415 GB, free: 16.54 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01613/6.469, allocations: 1.098 MB / 2.416 GB, free: 15.45 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3017/6.771, allocations: 0.7953 MB / 2.417 GB, free: 429.7 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.006361/6.778, allocations: 0.7146 MB / 2.417 GB, free: 429.5 MB / 1.03 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006073/6.784, allocations: 1.409 MB / 2.419 GB, free: 429.5 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.03041/6.814, allocations: 13.38 MB / 2.432 GB, free: 429.2 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