Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001083/0.001083, allocations: 182.9 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.7188/0.7188, allocations: 133.4 MB / 150.1 MB, free: 11.17 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.391/1.391, allocations: 222.9 MB / 404.7 MB, free: 6.137 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.0009628/0.0009628, allocations: 114.2 kB / 485.9 MB, free: 7.254 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 55.92 kB / 0.5636 GB, free: 69.96 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1504, allocations: 80.44 MB / 0.6421 GB, free: 5.461 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified5): time 0.9852/1.136, allocations: 353.1 MB / 0.987 GB, free: 48.92 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.08552/1.221, allocations: 72.99 MB / 1.058 GB, free: 45.12 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01556/1.237, allocations: 395.4 kB / 1.059 GB, free: 45.12 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01256/1.249, allocations: 3.871 MB / 1.062 GB, free: 44.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02796/1.277, allocations: 10.28 MB / 1.072 GB, free: 38.79 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01786/1.295, allocations: 7.146 MB / 1.079 GB, free: 34.42 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.03394/1.329, allocations: 38.5 MB / 1.117 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02662/1.356, allocations: 15.44 MB / 1.132 GB, free: 2.109 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02808/1.384, allocations: 12.79 MB / 1.145 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02365/1.408, allocations: 13.5 MB / 1.158 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.006912/1.415, allocations: 1.09 MB / 1.159 GB, free: 8.375 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0186/1.433, allocations: 4.214 MB / 1.163 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.008915/1.442, allocations: 4.303 MB / 1.167 GB, free: 260 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.01846/1.461, allocations: 8.029 MB / 1.175 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.03393/1.495, allocations: 23 MB / 1.197 GB, free: 2.344 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.495, allocations: 0 / 1.197 GB, free: 2.344 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.172e-06/1.495, allocations: 0 / 1.197 GB, free: 2.344 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0007213/1.496, allocations: 0 / 1.197 GB, free: 2.344 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.05245/1.548, allocations: 18.5 MB / 1.216 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.548, allocations: 11.97 kB / 1.216 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/1.56, allocations: 2.266 MB / 1.218 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03022/1.59, allocations: 12.67 MB / 1.23 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002274/1.592, allocations: 0.7403 MB / 1.231 GB, free: 448 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005426/1.598, allocations: 0.6893 MB / 1.232 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03423/1.632, allocations: 14.03 MB / 1.245 GB, free: 1.578 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000277/1.633, allocations: 7.938 kB / 1.245 GB, free: 1.57 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003297/1.636, allocations: 244 kB / 1.245 GB, free: 1.332 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001438/1.636, allocations: 152 kB / 1.246 GB, free: 1.184 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5697/2.206, allocations: 18.97 MB / 1.264 GB, free: 369.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 removeSimpleEquations (simulation): time 0.1197/2.325, allocations: 71.9 MB / 1.334 GB, free: 318.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01749/2.343, allocations: 10.56 MB / 1.345 GB, free: 312.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01479/2.358, allocations: 9.041 MB / 1.353 GB, free: 306.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 preOpt evalFunc (simulation): time 0.06119/2.419, allocations: 30.65 MB / 1.383 GB, free: 276.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01503/2.434, allocations: 8.852 MB / 1.392 GB, free: 267.4 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02575/2.46, allocations: 8.582 MB / 1.4 GB, free: 259.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=387): time 3.104e-05/2.46, allocations: 0 / 1.4 GB, free: 259.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=573): time 0.9266/3.387, allocations: 203.1 MB / 1.599 GB, free: 55.66 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/3.387, allocations: 111.9 kB / 1.599 GB, free: 55.53 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01791/3.405, allocations: 12.55 MB / 1.611 GB, free: 43.04 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.00308/3.408, allocations: 173.7 kB / 1.611 GB, free: 42.86 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.004685/3.412, allocations: 5.952 MB / 1.617 GB, free: 36.91 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.003859/3.416, allocations: 1.927 MB / 1.619 GB, free: 35 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007654/3.424, allocations: 2.394 MB / 1.621 GB, free: 32.59 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.92e-05/3.424, allocations: 301.1 kB / 1.622 GB, free: 32.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01757/3.442, allocations: 10.09 MB / 1.631 GB, free: 22.19 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01971/3.461, allocations: 12.3 MB / 1.643 GB, free: 8.98 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4032/3.865, allocations: 22.01 MB / 1.665 GB, free: 331.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.105e-05/3.865, allocations: 17.34 kB / 1.665 GB, free: 331.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.6697/4.534, allocations: 125.7 MB / 1.788 GB, free: 254.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.511e-05/4.535, allocations: 53.7 kB / 1.788 GB, free: 254.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.835e-05/4.535, allocations: 44 kB / 1.788 GB, free: 254.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6966/5.231, allocations: 136.2 MB / 1.921 GB, free: 118.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01062/5.242, allocations: 1.911 MB / 1.923 GB, free: 116.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4777/5.72, allocations: 94.08 MB / 2.015 GB, free: 317.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01837/5.738, allocations: 1.173 MB / 2.016 GB, free: 317.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003937/5.742, allocations: 0.7678 MB / 2.016 GB, free: 317.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02617/5.768, allocations: 12.35 MB / 2.028 GB, free: 316 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02121/5.789, allocations: 11.85 MB / 2.04 GB, free: 310.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04082/5.83, allocations: 21.12 MB / 2.061 GB, free: 300.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.435e-05/5.83, allocations: 11.03 kB / 2.061 GB, free: 300.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=958) (initialization_lambda0): time 0.659/6.489, allocations: 124.2 MB / 2.182 GB, free: 217.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.702e-05/6.49, allocations: 57.77 kB / 2.182 GB, free: 217.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.3e-05/6.49, allocations: 44 kB / 2.182 GB, free: 217.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6733/7.163, allocations: 135.7 MB / 2.315 GB, free: 82.27 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009289/7.172, allocations: 1.896 MB / 2.316 GB, free: 80.37 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5018/7.674, allocations: 97.9 MB / 2.412 GB, free: 297.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01684/7.691, allocations: 1.195 MB / 2.413 GB, free: 297.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002848/7.694, allocations: 0.7325 MB / 2.414 GB, free: 297.2 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.003594/7.697, allocations: 0.599 MB / 2.414 GB, free: 296.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003798/7.701, allocations: 1.207 MB / 2.416 GB, free: 296.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2268/7.928, allocations: 52.31 MB / 2.467 GB, free: 283.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000147/7.928, allocations: 70.28 kB / 2.467 GB, free: 283.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001762/7.928, allocations: 34.03 kB / 2.467 GB, free: 283.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2044/8.133, allocations: 46.75 MB / 2.513 GB, free: 243 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.2303/8.363, allocations: 66.39 MB / 2.577 GB, free: 176.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.359e-05/8.363, allocations: 8 kB / 2.577 GB, free: 176.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00697/8.37, allocations: 1.319 MB / 2.579 GB, free: 175.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2237/8.594, allocations: 46.93 MB / 2.624 GB, free: 128.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002346/8.596, allocations: 191.9 kB / 2.625 GB, free: 128.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07999/8.676, allocations: 41.56 MB / 2.665 GB, free: 86.83 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/8.677, allocations: 12.03 kB / 2.665 GB, free: 86.82 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.