Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.00179, allocations: 183.1 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7215/0.7215, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 403.4 MB, free: 7.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 103.7 kB / 484.3 MB, free: 8.676 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009922/0.0009922, allocations: 55.92 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1318, allocations: 80.21 MB / 0.6402 GB, free: 6.762 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified4): time 0.97/1.102, allocations: 353.1 MB / 0.985 GB, free: 48.55 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.09595/1.198, allocations: 73.01 MB / 1.056 GB, free: 45.34 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01626/1.214, allocations: 395.3 kB / 1.057 GB, free: 45.34 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01478/1.229, allocations: 4.354 MB / 1.061 GB, free: 44.35 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.03528/1.264, allocations: 12.13 MB / 1.073 GB, free: 37.83 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02181/1.286, allocations: 8.533 MB / 1.081 GB, free: 32.59 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.04553/1.332, allocations: 45.17 MB / 1.125 GB, free: 8.398 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02735/1.359, allocations: 16.36 MB / 1.141 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03124/1.39, allocations: 13.84 MB / 1.155 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02571/1.416, allocations: 14.58 MB / 1.169 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.006804/1.423, allocations: 1.133 MB / 1.17 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02016/1.443, allocations: 4.993 MB / 1.175 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.009313/1.453, allocations: 4.565 MB / 1.179 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.01943/1.472, allocations: 8.74 MB / 1.188 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.03692/1.509, allocations: 25.38 MB / 1.213 GB, free: 2.812 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 9.517e-06/1.509, allocations: 7.984 kB / 1.213 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.452e-06/1.509, allocations: 0 / 1.213 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.000842/1.51, allocations: 0 / 1.213 GB, free: 2.805 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.05186/1.562, allocations: 19.85 MB / 1.232 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/1.562, allocations: 12.03 kB / 1.232 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/1.572, allocations: 2.241 MB / 1.234 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03074/1.603, allocations: 14.04 MB / 1.248 GB, free: 14.94 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001175/1.604, allocations: 0.7062 MB / 1.249 GB, free: 14.23 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003809/1.608, allocations: 0.7831 MB / 1.249 GB, free: 13.45 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3182/1.926, allocations: 14.92 MB / 1.264 GB, free: 367.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002041/1.927, allocations: 13.02 kB / 1.264 GB, free: 367.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002037/1.929, allocations: 287.9 kB / 1.264 GB, free: 367.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002529/1.929, allocations: 187 kB / 1.264 GB, free: 367.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03855/1.967, allocations: 19.36 MB / 1.283 GB, free: 361.4 MB / 0.823 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.1139/2.081, allocations: 76.05 MB / 1.358 GB, free: 303.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01519/2.097, allocations: 10.59 MB / 1.368 GB, free: 293.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01208/2.109, allocations: 9.055 MB / 1.377 GB, free: 284.6 MB / 0.823 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.06436/2.173, allocations: 31.47 MB / 1.408 GB, free: 253.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01486/2.188, allocations: 8.838 MB / 1.416 GB, free: 244.3 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.025/2.213, allocations: 8.47 MB / 1.424 GB, free: 236.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=421): time 3.637e-05/2.213, allocations: 7.516 kB / 1.424 GB, free: 236.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=605): time 0.8324/3.046, allocations: 183.1 MB / 1.603 GB, free: 52.63 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/3.046, allocations: 124 kB / 1.603 GB, free: 52.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02053/3.066, allocations: 13.33 MB / 1.616 GB, free: 39.26 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.002958/3.069, allocations: 181.7 kB / 1.617 GB, free: 39.07 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0057/3.075, allocations: 6.53 MB / 1.623 GB, free: 32.54 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.003786/3.079, allocations: 2.046 MB / 1.625 GB, free: 30.51 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006756/3.085, allocations: 2.482 MB / 1.627 GB, free: 28.02 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 3.41e-05/3.086, allocations: 301.1 kB / 1.628 GB, free: 27.72 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01552/3.101, allocations: 10.08 MB / 1.638 GB, free: 17.63 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01807/3.119, allocations: 12.48 MB / 1.65 GB, free: 4.133 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3245/3.444, allocations: 22.25 MB / 1.671 GB, free: 328.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-05/3.444, allocations: 15.41 kB / 1.671 GB, free: 328.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 0.579/4.023, allocations: 112.6 MB / 1.781 GB, free: 264.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.811e-05/4.023, allocations: 62.11 kB / 1.781 GB, free: 264.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.851e-05/4.023, allocations: 52 kB / 1.782 GB, free: 264.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5961/4.619, allocations: 117.9 MB / 1.897 GB, free: 146.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01113/4.63, allocations: 2.044 MB / 1.899 GB, free: 144.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1333/4.764, allocations: 77.55 MB / 1.974 GB, free: 67.11 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01584/4.779, allocations: 1.226 MB / 1.976 GB, free: 65.94 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002426/4.782, allocations: 0.7879 MB / 1.976 GB, free: 65.15 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01888/4.801, allocations: 12.56 MB / 1.989 GB, free: 52.57 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01669/4.817, allocations: 12.03 MB / 2 GB, free: 39.53 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3599/5.177, allocations: 21.36 MB / 2.021 GB, free: 322.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001194/5.178, allocations: 15.56 kB / 2.021 GB, free: 322.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=1029) (initialization_lambda0): time 0.6172/5.795, allocations: 111.2 MB / 2.13 GB, free: 273.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001/5.795, allocations: 53.7 kB / 2.13 GB, free: 273.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001023/5.795, allocations: 52 kB / 2.13 GB, free: 273.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5708/6.366, allocations: 117.6 MB / 2.245 GB, free: 155.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009496/6.375, allocations: 2.024 MB / 2.247 GB, free: 153.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1396/6.515, allocations: 81.82 MB / 2.327 GB, free: 71.87 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01714/6.532, allocations: 1.243 MB / 2.328 GB, free: 70.66 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00362/6.536, allocations: 0.7531 MB / 2.329 GB, free: 69.91 MB / 0.823 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 (769): * Single equations (assignments): 755 * 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.003472/6.539, allocations: 0.6347 MB / 2.329 GB, free: 69.27 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004205/6.544, allocations: 1.296 MB / 2.331 GB, free: 68.67 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4896/7.033, allocations: 48.35 MB / 2.378 GB, free: 305.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001448/7.033, allocations: 75.78 kB / 2.378 GB, free: 305.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001181/7.034, allocations: 28.19 kB / 2.378 GB, free: 305.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1822/7.216, allocations: 42.74 MB / 2.42 GB, free: 301.8 MB / 0.823 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 postOpt removeSimpleEquations (simulation): time 0.2265/7.442, allocations: 63.3 MB / 2.481 GB, free: 278.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.146e-05/7.442, allocations: 6.406 kB / 2.481 GB, free: 278.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007324/7.45, allocations: 1.375 MB / 2.483 GB, free: 277.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1889/7.639, allocations: 40.9 MB / 2.523 GB, free: 237.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003344/7.642, allocations: 199.9 kB / 2.523 GB, free: 237.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06207/7.704, allocations: 35.76 MB / 2.558 GB, free: 201.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/7.704, allocations: 7.938 kB / 2.558 GB, free: 201.3 MB / 0.823 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2314:10-2314:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Error: post-optimization module symbolicJacobian (simulation) failed.