Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001134/0.001134, allocations: 182.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.7609/0.7609, allocations: 133.3 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.362/1.362, allocations: 222.9 MB / 404.7 MB, free: 6.102 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.001056/0.001056, allocations: 107.3 kB / 485.9 MB, free: 7.266 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 55.92 kB / 0.5636 GB, free: 69.96 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1336, allocations: 80.42 MB / 0.6421 GB, free: 5.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified4): time 0.9763/1.11, allocations: 353.1 MB / 0.9869 GB, free: 48.96 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.08262/1.193, allocations: 72.99 MB / 1.058 GB, free: 45.12 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01442/1.207, allocations: 398.3 kB / 1.059 GB, free: 45.12 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0136/1.221, allocations: 4.355 MB / 1.063 GB, free: 43.95 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.03417/1.255, allocations: 12.13 MB / 1.075 GB, free: 37.22 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02262/1.278, allocations: 8.534 MB / 1.083 GB, free: 31.97 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.04127/1.319, allocations: 45.18 MB / 1.127 GB, free: 7.246 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02437/1.343, allocations: 16.36 MB / 1.143 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02926/1.373, allocations: 13.84 MB / 1.157 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02671/1.399, allocations: 14.59 MB / 1.171 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.005763/1.405, allocations: 1.129 MB / 1.172 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01725/1.422, allocations: 4.993 MB / 1.177 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.00861/1.431, allocations: 4.566 MB / 1.181 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.01795/1.449, allocations: 8.736 MB / 1.19 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.03437/1.483, allocations: 25.38 MB / 1.215 GB, free: 1.641 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.483, allocations: 0 / 1.215 GB, free: 1.641 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.562e-06/1.483, allocations: 0 / 1.215 GB, free: 1.641 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0007352/1.484, allocations: 0 / 1.215 GB, free: 1.641 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.05333/1.538, allocations: 19.87 MB / 1.234 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.538, allocations: 8.031 kB / 1.234 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/1.551, allocations: 2.233 MB / 1.236 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03195/1.583, allocations: 14.05 MB / 1.25 GB, free: 13.78 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001221/1.584, allocations: 0.7067 MB / 1.251 GB, free: 13.07 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00406/1.588, allocations: 0.785 MB / 1.251 GB, free: 12.29 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3418/1.93, allocations: 14.92 MB / 1.266 GB, free: 365.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002838/1.93, allocations: 9.688 kB / 1.266 GB, free: 365.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002915/1.933, allocations: 291.2 kB / 1.266 GB, free: 365.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002661/1.933, allocations: 188.4 kB / 1.266 GB, free: 365.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04005/1.973, allocations: 19.36 MB / 1.285 GB, free: 359.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 removeSimpleEquations (simulation): time 0.1135/2.087, allocations: 76.04 MB / 1.36 GB, free: 301.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01455/2.102, allocations: 10.59 MB / 1.37 GB, free: 291.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01202/2.114, allocations: 9.052 MB / 1.379 GB, free: 282.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.05646/2.17, allocations: 31.48 MB / 1.41 GB, free: 251.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01308/2.183, allocations: 8.84 MB / 1.418 GB, free: 242.2 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02418/2.207, allocations: 8.476 MB / 1.426 GB, free: 234.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=421): time 2.764e-05/2.208, allocations: 0 / 1.426 GB, free: 234.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=605): time 0.8207/3.028, allocations: 183.1 MB / 1.605 GB, free: 50.57 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/3.028, allocations: 124.1 kB / 1.605 GB, free: 50.43 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01642/3.045, allocations: 13.33 MB / 1.618 GB, free: 37.19 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.002845/3.048, allocations: 177.7 kB / 1.619 GB, free: 37.01 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.004683/3.052, allocations: 6.538 MB / 1.625 GB, free: 30.47 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.003506/3.056, allocations: 2.046 MB / 1.627 GB, free: 28.44 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004372/3.06, allocations: 2.47 MB / 1.629 GB, free: 25.96 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 3.57e-05/3.06, allocations: 305.1 kB / 1.63 GB, free: 25.66 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01529/3.076, allocations: 10.08 MB / 1.639 GB, free: 15.56 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01804/3.094, allocations: 12.48 MB / 1.652 GB, free: 2.066 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3361/3.43, allocations: 22.25 MB / 1.673 GB, free: 327.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.714e-05/3.43, allocations: 15.03 kB / 1.673 GB, free: 327.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 0.5931/4.023, allocations: 112.6 MB / 1.783 GB, free: 261.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.311e-05/4.023, allocations: 57.7 kB / 1.783 GB, free: 261.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.631e-05/4.023, allocations: 55.98 kB / 1.784 GB, free: 261.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5907/4.614, allocations: 117.9 MB / 1.899 GB, free: 143.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01055/4.625, allocations: 2.048 MB / 1.901 GB, free: 141.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1357/4.76, allocations: 77.54 MB / 1.976 GB, free: 64.16 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01683/4.777, allocations: 1.231 MB / 1.978 GB, free: 62.98 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003458/4.781, allocations: 0.7763 MB / 1.978 GB, free: 62.21 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02247/4.803, allocations: 12.56 MB / 1.991 GB, free: 49.63 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0182/4.821, allocations: 12.03 MB / 2.002 GB, free: 36.59 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3254/5.147, allocations: 21.36 MB / 2.023 GB, free: 320.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.185e-05/5.147, allocations: 15.34 kB / 2.023 GB, free: 320.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=1029) (initialization_lambda0): time 0.5843/5.731, allocations: 111.2 MB / 2.132 GB, free: 269.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-05/5.731, allocations: 54.8 kB / 2.132 GB, free: 269.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.724e-05/5.731, allocations: 52 kB / 2.132 GB, free: 269.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6013/6.333, allocations: 117.6 MB / 2.247 GB, free: 151.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009765/6.343, allocations: 2.02 MB / 2.249 GB, free: 149.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1417/6.484, allocations: 81.83 MB / 2.329 GB, free: 67.87 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01715/6.501, allocations: 1.241 MB / 2.33 GB, free: 66.66 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003503/6.505, allocations: 0.7529 MB / 2.331 GB, free: 65.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.004167/6.509, allocations: 0.638 MB / 2.331 GB, free: 65.27 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005776/6.515, allocations: 1.293 MB / 2.332 GB, free: 64.67 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5384/7.053, allocations: 48.35 MB / 2.38 GB, free: 305.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001343/7.054, allocations: 80.86 kB / 2.38 GB, free: 305.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001022/7.054, allocations: 29.16 kB / 2.38 GB, free: 305.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1909/7.245, allocations: 42.73 MB / 2.422 GB, free: 301.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.2234/7.468, allocations: 63.3 MB / 2.483 GB, free: 274.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.132e-05/7.468, allocations: 11.98 kB / 2.483 GB, free: 274.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007189/7.475, allocations: 1.374 MB / 2.485 GB, free: 273.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1892/7.665, allocations: 40.89 MB / 2.525 GB, free: 232.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002111/7.667, allocations: 199.9 kB / 2.525 GB, free: 232.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05993/7.727, allocations: 35.76 MB / 2.56 GB, free: 196.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/7.727, allocations: 8.031 kB / 2.56 GB, free: 196.5 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.