Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 183.1 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.7741/0.7741, allocations: 132.2 MB / 148.9 MB, free: 12.15 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.356/1.356, allocations: 222.9 MB / 403.4 MB, free: 7.121 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.001015/0.001015, allocations: 106.5 kB / 484.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 55.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1279, allocations: 80.21 MB / 0.6402 GB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified5): time 0.9853/1.113, allocations: 353.1 MB / 0.985 GB, free: 48.56 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.08995/1.203, allocations: 73.01 MB / 1.056 GB, free: 45.38 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01596/1.219, allocations: 396.9 kB / 1.057 GB, free: 45.38 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01327/1.233, allocations: 3.87 MB / 1.06 GB, free: 44.53 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.03084/1.263, allocations: 10.27 MB / 1.07 GB, free: 39.48 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01882/1.282, allocations: 7.151 MB / 1.077 GB, free: 35.1 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.03726/1.32, allocations: 38.5 MB / 1.115 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02441/1.344, allocations: 15.42 MB / 1.13 GB, free: 3.332 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.027/1.371, allocations: 12.79 MB / 1.143 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02337/1.394, allocations: 13.5 MB / 1.156 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.006849/1.401, allocations: 1.082 MB / 1.157 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01811/1.42, allocations: 4.224 MB / 1.161 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.007433/1.427, allocations: 4.296 MB / 1.165 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.01743/1.444, allocations: 8.037 MB / 1.173 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.03799/1.482, allocations: 22.99 MB / 1.195 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/1.483, allocations: 0 / 1.195 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.723e-06/1.483, allocations: 0 / 1.195 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0008023/1.483, allocations: 0 / 1.195 GB, free: 3.566 MB / 0.7605 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.05594/1.539, allocations: 18.5 MB / 1.214 GB, free: 1.129 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/1.539, allocations: 12.03 kB / 1.214 GB, free: 1.117 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01266/1.552, allocations: 2.269 MB / 1.216 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03035/1.582, allocations: 12.68 MB / 1.228 GB, free: 2.395 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001835/1.584, allocations: 0.7403 MB / 1.229 GB, free: 1.652 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003891/1.588, allocations: 0.683 MB / 1.23 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03383/1.622, allocations: 14.04 MB / 1.243 GB, free: 2.785 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001728/1.622, allocations: 7.938 kB / 1.243 GB, free: 2.777 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002547/1.625, allocations: 252 kB / 1.243 GB, free: 2.531 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001369/1.625, allocations: 147.9 kB / 1.244 GB, free: 2.387 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3476/1.973, allocations: 18.97 MB / 1.262 GB, free: 373.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.1158/2.088, allocations: 71.88 MB / 1.332 GB, free: 323.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01661/2.105, allocations: 10.58 MB / 1.343 GB, free: 317.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01306/2.118, allocations: 9.03 MB / 1.352 GB, free: 312.5 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.06043/2.179, allocations: 30.64 MB / 1.381 GB, free: 282.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01451/2.193, allocations: 8.859 MB / 1.39 GB, free: 273.4 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02474/2.218, allocations: 8.578 MB / 1.398 GB, free: 265.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=387): time 3.07e-05/2.218, allocations: 0 / 1.398 GB, free: 265.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=573): time 0.9481/3.166, allocations: 203.1 MB / 1.597 GB, free: 61.64 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/3.166, allocations: 111.9 kB / 1.597 GB, free: 61.52 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01647/3.183, allocations: 12.55 MB / 1.609 GB, free: 49.02 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.00276/3.186, allocations: 169.7 kB / 1.609 GB, free: 48.85 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.004864/3.19, allocations: 5.947 MB / 1.615 GB, free: 42.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00354/3.194, allocations: 1.93 MB / 1.617 GB, free: 40.98 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005528/3.2, allocations: 2.39 MB / 1.619 GB, free: 38.59 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.244e-05/3.2, allocations: 301.1 kB / 1.62 GB, free: 38.29 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01647/3.216, allocations: 10.1 MB / 1.629 GB, free: 28.18 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01926/3.235, allocations: 12.3 MB / 1.641 GB, free: 14.97 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3352/3.571, allocations: 22 MB / 1.663 GB, free: 336.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.171e-05/3.571, allocations: 14.75 kB / 1.663 GB, free: 336.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.6768/4.248, allocations: 125.7 MB / 1.786 GB, free: 265.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.73e-05/4.248, allocations: 54.48 kB / 1.786 GB, free: 265.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.943e-05/4.248, allocations: 44 kB / 1.786 GB, free: 265.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6884/4.936, allocations: 136.2 MB / 1.919 GB, free: 129.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01019/4.947, allocations: 1.923 MB / 1.921 GB, free: 127.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1813/5.128, allocations: 94.08 MB / 2.013 GB, free: 33.24 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01731/5.145, allocations: 1.17 MB / 2.014 GB, free: 32.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003337/5.149, allocations: 0.7721 MB / 2.014 GB, free: 31.32 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.3296/5.478, allocations: 12.35 MB / 2.027 GB, free: 332.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02309/5.501, allocations: 11.85 MB / 2.038 GB, free: 328 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03894/5.54, allocations: 21.12 MB / 2.059 GB, free: 318.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.38e-05/5.54, allocations: 11.34 kB / 2.059 GB, free: 318.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=958) (initialization_lambda0): time 0.6615/6.202, allocations: 124.2 MB / 2.18 GB, free: 235.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.45e-05/6.202, allocations: 49.7 kB / 2.18 GB, free: 235.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.773e-05/6.202, allocations: 48.12 kB / 2.18 GB, free: 235.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6811/6.883, allocations: 135.7 MB / 2.313 GB, free: 99.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009678/6.893, allocations: 1.902 MB / 2.314 GB, free: 98 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5585/7.451, allocations: 97.88 MB / 2.41 GB, free: 304.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01845/7.47, allocations: 1.199 MB / 2.411 GB, free: 304.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004051/7.474, allocations: 0.7397 MB / 2.412 GB, free: 304.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (683): * Single equations (assignments): 669 * 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 {(32,39,82.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(7,78), (8,77)} Notification: Performance of prepare postOptimizeDAE: time 0.006421/7.48, allocations: 0.592 MB / 2.413 GB, free: 303.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006612/7.487, allocations: 1.201 MB / 2.414 GB, free: 303.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2338/7.721, allocations: 52.33 MB / 2.465 GB, free: 293.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-05/7.721, allocations: 73.45 kB / 2.465 GB, free: 293.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001711/7.721, allocations: 32.31 kB / 2.465 GB, free: 293.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2082/7.929, allocations: 46.75 MB / 2.511 GB, free: 264.5 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.2492/8.179, allocations: 66.39 MB / 2.575 GB, free: 198.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000125/8.179, allocations: 12.16 kB / 2.575 GB, free: 198.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006962/8.186, allocations: 1.318 MB / 2.577 GB, free: 196.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2123/8.398, allocations: 46.93 MB / 2.623 GB, free: 150.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001894/8.4, allocations: 191.9 kB / 2.623 GB, free: 150 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07606/8.476, allocations: 41.56 MB / 2.663 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/8.476, allocations: 16.03 kB / 2.663 GB, free: 108.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.