Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001575, allocations: 180.7 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7094/0.7094, allocations: 132.2 MB / 148.9 MB, free: 12.12 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.362/1.362, allocations: 222.9 MB / 403.4 MB, free: 7.023 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.001256/0.001256, allocations: 107.2 kB / 484.4 MB, free: 8.66 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001054, allocations: 51.91 kB / 0.5618 GB, free: 71.02 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1276, allocations: 80.21 MB / 0.6402 GB, free: 6.746 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified6): time 0.9412/1.069, allocations: 353.2 MB / 0.9851 GB, free: 48.58 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.09011/1.159, allocations: 73.01 MB / 1.056 GB, free: 45.38 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01494/1.174, allocations: 396.2 kB / 1.057 GB, free: 45.38 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01241/1.186, allocations: 3.873 MB / 1.061 GB, free: 44.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02822/1.215, allocations: 10.28 MB / 1.071 GB, free: 39.45 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01828/1.233, allocations: 7.143 MB / 1.078 GB, free: 35.07 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.03411/1.267, allocations: 38.49 MB / 1.115 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02136/1.289, allocations: 14.33 MB / 1.129 GB, free: 4.273 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02539/1.314, allocations: 11.1 MB / 1.14 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01727/1.331, allocations: 9.849 MB / 1.15 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.004786/1.336, allocations: 0.6133 MB / 1.15 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01437/1.35, allocations: 3.753 MB / 1.154 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0061/1.357, allocations: 3.162 MB / 1.157 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.01444/1.371, allocations: 6.904 MB / 1.164 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0269/1.398, allocations: 18.8 MB / 1.182 GB, free: 352 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/1.398, allocations: 3.938 kB / 1.182 GB, free: 348 kB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/1.398, allocations: 0 / 1.182 GB, free: 348 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0006408/1.399, allocations: 0 / 1.182 GB, free: 348 kB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.03865/1.437, allocations: 15.73 MB / 1.197 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/1.437, allocations: 8.031 kB / 1.197 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009706/1.447, allocations: 2.133 MB / 1.199 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02798/1.475, allocations: 11.66 MB / 1.211 GB, free: 3.059 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001805/1.477, allocations: 0.7364 MB / 1.212 GB, free: 2.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002514/1.48, allocations: 0.6913 MB / 1.212 GB, free: 1.629 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02173/1.501, allocations: 8.961 MB / 1.221 GB, free: 8.344 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002309/1.502, allocations: 19.81 kB / 1.221 GB, free: 8.324 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001709/1.503, allocations: 252 kB / 1.221 GB, free: 8.078 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001449/1.503, allocations: 152 kB / 1.221 GB, free: 7.93 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01803/1.521, allocations: 7.404 MB / 1.229 GB, free: 0.5156 MB / 0.7917 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.5684/2.09, allocations: 50.1 MB / 1.278 GB, free: 355.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/2.101, allocations: 5.475 MB / 1.283 GB, free: 353 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007125/2.108, allocations: 3.904 MB / 1.287 GB, free: 351.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 preOpt evalFunc (simulation): time 0.03471/2.143, allocations: 13.25 MB / 1.3 GB, free: 345.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00643/2.149, allocations: 3.701 MB / 1.303 GB, free: 343.3 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008357/2.157, allocations: 1.649 MB / 1.305 GB, free: 342.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=320): time 1.707e-05/2.157, allocations: 0 / 1.305 GB, free: 342.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=506): time 0.1786/2.336, allocations: 53.43 MB / 1.357 GB, free: 303.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/2.336, allocations: 103.4 kB / 1.357 GB, free: 303.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0222/2.358, allocations: 12.78 MB / 1.37 GB, free: 290.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001709/2.36, allocations: 161.7 kB / 1.37 GB, free: 290.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.005703/2.366, allocations: 6.169 MB / 1.376 GB, free: 284.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002073/2.368, allocations: 1.708 MB / 1.377 GB, free: 283.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004224/2.372, allocations: 1.688 MB / 1.379 GB, free: 281.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 3.586e-05/2.372, allocations: 305.1 kB / 1.379 GB, free: 281.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01028/2.383, allocations: 5.863 MB / 1.385 GB, free: 275.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01192/2.394, allocations: 8.402 MB / 1.393 GB, free: 265.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02201/2.417, allocations: 13.57 MB / 1.407 GB, free: 251.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.121e-05/2.417, allocations: 16 kB / 1.407 GB, free: 251.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.0378/2.454, allocations: 18.66 MB / 1.425 GB, free: 232.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.086e-05/2.455, allocations: 57.89 kB / 1.425 GB, free: 232.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.056e-05/2.455, allocations: 64 kB / 1.425 GB, free: 232.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01407/2.469, allocations: 4.775 MB / 1.43 GB, free: 227.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01018/2.479, allocations: 2.009 MB / 1.432 GB, free: 225.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009858/2.489, allocations: 10.92 MB / 1.442 GB, free: 214.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01235/2.501, allocations: 1.183 MB / 1.443 GB, free: 213.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001221/2.502, allocations: 463.8 kB / 1.444 GB, free: 212.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01412/2.516, allocations: 8.106 MB / 1.452 GB, free: 204.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01066/2.527, allocations: 7.961 MB / 1.46 GB, free: 195.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02014/2.547, allocations: 12.68 MB / 1.472 GB, free: 182.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.723e-05/2.547, allocations: 20 kB / 1.472 GB, free: 182.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=953) (initialization_lambda0): time 0.03412/2.582, allocations: 17.21 MB / 1.489 GB, free: 164.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.647e-05/2.582, allocations: 57.7 kB / 1.489 GB, free: 164.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.13e-05/2.582, allocations: 60 kB / 1.489 GB, free: 164.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0136/2.595, allocations: 4.357 MB / 1.493 GB, free: 160.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01036/2.606, allocations: 1.993 MB / 1.495 GB, free: 158.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01978/2.626, allocations: 15.36 MB / 1.51 GB, free: 142.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01239/2.638, allocations: 1.215 MB / 1.511 GB, free: 141.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001363/2.639, allocations: 431.8 kB / 1.512 GB, free: 141 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (748): * Single equations (assignments): 735 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.002045/2.641, allocations: 0.6145 MB / 1.512 GB, free: 140.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002852/2.644, allocations: 1.207 MB / 1.513 GB, free: 139.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03117/2.675, allocations: 14.89 MB / 1.528 GB, free: 124.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.387e-05/2.675, allocations: 59.98 kB / 1.528 GB, free: 124.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/2.676, allocations: 0 / 1.528 GB, free: 124.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02491/2.7, allocations: 12.25 MB / 1.54 GB, free: 111.7 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.04956/2.75, allocations: 26.26 MB / 1.566 GB, free: 85.25 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/2.75, allocations: 4 kB / 1.566 GB, free: 85.25 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006055/2.756, allocations: 1.21 MB / 1.567 GB, free: 84.04 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009437/2.766, allocations: 3.279 MB / 1.57 GB, free: 80.75 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007009/2.766, allocations: 167.8 kB / 1.57 GB, free: 80.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007547/2.774, allocations: 9.585 MB / 1.58 GB, free: 70.81 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/2.774, allocations: 12.03 kB / 1.58 GB, free: 70.8 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.