Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001727/0.001727, allocations: 183.2 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-master/package.mo): time 0.7809/0.7809, allocations: 133.3 MB / 150.1 MB, free: 11.14 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.389/1.389, allocations: 222.9 MB / 404.7 MB, free: 6.133 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.001131/0.001131, allocations: 111.2 kB / 485.9 MB, free: 7.25 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 55.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1395, allocations: 80.43 MB / 0.6421 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified6): time 0.9443/1.084, allocations: 353.2 MB / 0.987 GB, free: 48.87 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0838/1.168, allocations: 73 MB / 1.058 GB, free: 45.07 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01467/1.182, allocations: 396.8 kB / 1.059 GB, free: 45.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01223/1.195, allocations: 3.874 MB / 1.062 GB, free: 44.15 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02775/1.223, allocations: 10.27 MB / 1.072 GB, free: 38.73 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01737/1.24, allocations: 7.14 MB / 1.079 GB, free: 34.37 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.03948/1.279, allocations: 38.5 MB / 1.117 GB, free: 1 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02455/1.304, allocations: 14.33 MB / 1.131 GB, free: 3.145 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03175/1.336, allocations: 11.1 MB / 1.142 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02113/1.357, allocations: 9.843 MB / 1.152 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.005536/1.363, allocations: 0.6148 MB / 1.152 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01679/1.379, allocations: 3.759 MB / 1.156 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.006772/1.386, allocations: 3.165 MB / 1.159 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.01661/1.403, allocations: 6.899 MB / 1.166 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.02946/1.432, allocations: 18.8 MB / 1.184 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.432, allocations: 4 kB / 1.184 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.275e-06/1.432, allocations: 0 / 1.184 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0007694/1.433, allocations: 0 / 1.184 GB, free: 15.21 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.03992/1.473, allocations: 15.73 MB / 1.199 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/1.473, allocations: 8.031 kB / 1.199 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00963/1.483, allocations: 2.133 MB / 1.201 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02777/1.511, allocations: 11.66 MB / 1.213 GB, free: 1.922 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001757/1.512, allocations: 0.7403 MB / 1.214 GB, free: 1.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002424/1.515, allocations: 0.6874 MB / 1.214 GB, free: 0.4922 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02162/1.536, allocations: 8.958 MB / 1.223 GB, free: 7.215 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002417/1.537, allocations: 19.81 kB / 1.223 GB, free: 7.195 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001847/1.539, allocations: 256 kB / 1.223 GB, free: 6.945 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/1.539, allocations: 156 kB / 1.223 GB, free: 6.793 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01948/1.558, allocations: 7.396 MB / 1.231 GB, free: 15.39 MB / 0.8073 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.5974/2.156, allocations: 50.09 MB / 1.28 GB, free: 352.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/2.166, allocations: 5.483 MB / 1.285 GB, free: 350.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006346/2.172, allocations: 3.91 MB / 1.289 GB, free: 349.3 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.0297/2.202, allocations: 13.24 MB / 1.302 GB, free: 342.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005919/2.208, allocations: 3.696 MB / 1.305 GB, free: 340.7 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00755/2.215, allocations: 1.661 MB / 1.307 GB, free: 340.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=320): time 1.298e-05/2.215, allocations: 0 / 1.307 GB, free: 340.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=506): time 0.1674/2.383, allocations: 53.41 MB / 1.359 GB, free: 301.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/2.383, allocations: 103.4 kB / 1.359 GB, free: 301.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0161/2.399, allocations: 12.79 MB / 1.372 GB, free: 288.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001316/2.4, allocations: 157.7 kB / 1.372 GB, free: 288.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.004149/2.405, allocations: 6.176 MB / 1.378 GB, free: 282.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001709/2.406, allocations: 1.711 MB / 1.379 GB, free: 280.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002417/2.409, allocations: 1.684 MB / 1.381 GB, free: 279.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 3.74e-05/2.409, allocations: 305.1 kB / 1.381 GB, free: 278.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009862/2.419, allocations: 5.856 MB / 1.387 GB, free: 273 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01175/2.43, allocations: 8.41 MB / 1.395 GB, free: 263.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02145/2.452, allocations: 13.57 MB / 1.409 GB, free: 249 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.944e-05/2.452, allocations: 16 kB / 1.409 GB, free: 249 MB / 0.823 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.03861/2.491, allocations: 18.65 MB / 1.427 GB, free: 230.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.658e-05/2.491, allocations: 67.19 kB / 1.427 GB, free: 230.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-05/2.491, allocations: 60 kB / 1.427 GB, free: 230.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0138/2.505, allocations: 4.783 MB / 1.432 GB, free: 225.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01017/2.515, allocations: 2.012 MB / 1.434 GB, free: 223.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/2.525, allocations: 10.91 MB / 1.444 GB, free: 212.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01289/2.538, allocations: 1.183 MB / 1.445 GB, free: 211.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001401/2.539, allocations: 463.8 kB / 1.446 GB, free: 210.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01462/2.554, allocations: 8.111 MB / 1.454 GB, free: 202.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01089/2.565, allocations: 7.961 MB / 1.462 GB, free: 193.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02011/2.585, allocations: 12.67 MB / 1.474 GB, free: 179.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.507e-05/2.585, allocations: 16 kB / 1.474 GB, free: 179.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=953) (initialization_lambda0): time 0.03369/2.619, allocations: 17.22 MB / 1.491 GB, free: 162.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/2.619, allocations: 61.77 kB / 1.491 GB, free: 162.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.736e-05/2.619, allocations: 60 kB / 1.491 GB, free: 162.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0112/2.63, allocations: 4.356 MB / 1.495 GB, free: 158.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009046/2.639, allocations: 1.993 MB / 1.497 GB, free: 156.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01971/2.659, allocations: 15.35 MB / 1.512 GB, free: 140.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01257/2.672, allocations: 1.211 MB / 1.513 GB, free: 139.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/2.673, allocations: 435.8 kB / 1.514 GB, free: 138.7 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.002069/2.675, allocations: 0.6047 MB / 1.514 GB, free: 138.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00306/2.678, allocations: 1.203 MB / 1.515 GB, free: 136.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03205/2.71, allocations: 14.91 MB / 1.53 GB, free: 121.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-05/2.71, allocations: 63.92 kB / 1.53 GB, free: 121.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/2.71, allocations: 4 kB / 1.53 GB, free: 121.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02458/2.735, allocations: 12.24 MB / 1.542 GB, free: 109.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.0461/2.781, allocations: 26.26 MB / 1.568 GB, free: 83.01 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/2.781, allocations: 7.938 kB / 1.568 GB, free: 83 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005906/2.787, allocations: 1.217 MB / 1.569 GB, free: 81.78 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009102/2.796, allocations: 3.279 MB / 1.572 GB, free: 78.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005198/2.797, allocations: 163.9 kB / 1.572 GB, free: 78.34 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007436/2.804, allocations: 9.589 MB / 1.582 GB, free: 68.56 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/2.804, allocations: 12.03 kB / 1.582 GB, free: 68.55 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.