Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified2") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, 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.7131/0.7131, allocations: 133.4 MB / 150.1 MB, free: 11.13 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.382/1.382, allocations: 222.9 MB / 404.7 MB, free: 6.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.0009998/0.0009998, allocations: 107.3 kB / 485.9 MB, free: 7.172 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009755/0.0009755, allocations: 51.92 kB / 0.5636 GB, free: 69.91 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1254, allocations: 80.42 MB / 0.6421 GB, free: 5.422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified2): time 0.9887/1.114, allocations: 353 MB / 0.9869 GB, free: 48.93 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.09235/1.207, allocations: 73 MB / 1.058 GB, free: 45.09 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02178/1.228, allocations: 392.6 kB / 1.059 GB, free: 45.09 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01814/1.247, allocations: 4.424 MB / 1.063 GB, free: 43.86 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.04168/1.288, allocations: 12.53 MB / 1.075 GB, free: 36.82 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02577/1.314, allocations: 8.889 MB / 1.084 GB, free: 31.31 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.05249/1.367, allocations: 48.58 MB / 1.131 GB, free: 3.125 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02996/1.397, allocations: 17.54 MB / 1.148 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0319/1.429, allocations: 14.71 MB / 1.163 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02769/1.456, allocations: 15.76 MB / 1.178 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0073/1.464, allocations: 1.211 MB / 1.179 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0189/1.482, allocations: 4.88 MB / 1.184 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.01047/1.493, allocations: 5.11 MB / 1.189 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.01956/1.513, allocations: 9.533 MB / 1.198 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.04139/1.554, allocations: 27.98 MB / 1.226 GB, free: 6.57 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.554, allocations: 0 / 1.226 GB, free: 6.57 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.625e-06/1.554, allocations: 4 kB / 1.226 GB, free: 6.566 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0009679/1.555, allocations: 3.938 kB / 1.226 GB, free: 6.562 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.06486/1.62, allocations: 22.14 MB / 1.247 GB, free: 500 kB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.62, allocations: 8.031 kB / 1.247 GB, free: 492 kB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/1.632, allocations: 2.235 MB / 1.249 GB, free: 14.22 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8936/2.525, allocations: 15.56 MB / 1.265 GB, free: 129.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/2.526, allocations: 0.6803 MB / 1.265 GB, free: 129.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005152/2.532, allocations: 0.9316 MB / 1.266 GB, free: 129.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04384/2.575, allocations: 16.46 MB / 1.282 GB, free: 129.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004711/2.576, allocations: 16.11 kB / 1.282 GB, free: 129.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005158/2.581, allocations: 326.1 kB / 1.283 GB, free: 129.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009342/2.582, allocations: 365.9 kB / 1.283 GB, free: 129.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04548/2.628, allocations: 20.93 MB / 1.303 GB, free: 129.1 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.1428/2.77, allocations: 80.51 MB / 1.382 GB, free: 79.85 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02002/2.791, allocations: 12.72 MB / 1.394 GB, free: 67.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01338/2.804, allocations: 9.506 MB / 1.404 GB, free: 57.89 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.06948/2.873, allocations: 34.39 MB / 1.437 GB, free: 23.52 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01797/2.891, allocations: 9.713 MB / 1.447 GB, free: 13.73 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02719/2.919, allocations: 8.556 MB / 1.455 GB, free: 5.605 MB / 0.823 GB Notification: Performance of pre-optimization done (n=576): time 3.544e-05/2.919, allocations: 4 kB / 1.455 GB, free: 5.602 MB / 0.823 GB Notification: Performance of matching and sorting (n=868): time 1.71/4.629, allocations: 274.5 MB / 1.723 GB, free: 406.9 MB / 0.9638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.131/4.76, allocations: 55.4 MB / 1.777 GB, free: 351.1 MB / 0.9638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02125/4.781, allocations: 14.82 MB / 1.792 GB, free: 336.5 MB / 0.9638 GB Notification: Performance of collectPreVariables (initialization): time 0.003543/4.785, allocations: 225.7 kB / 1.792 GB, free: 336.3 MB / 0.9638 GB Notification: Performance of collectInitialEqns (initialization): time 0.006/4.791, allocations: 7.196 MB / 1.799 GB, free: 330.3 MB / 0.9638 GB Notification: Performance of collectInitialBindings (initialization): time 0.008143/4.799, allocations: 3.099 MB / 1.802 GB, free: 327.8 MB / 0.9638 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01151/4.81, allocations: 3.74 MB / 1.806 GB, free: 324 MB / 0.9638 GB Notification: Performance of setup shared object (initialization): time 3.61e-05/4.81, allocations: 301.1 kB / 1.806 GB, free: 323.7 MB / 0.9638 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02584/4.836, allocations: 20.51 MB / 1.826 GB, free: 303.2 MB / 0.9638 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02859/4.865, allocations: 23.13 MB / 1.849 GB, free: 279.1 MB / 0.9638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05352/4.918, allocations: 38.67 MB / 1.886 GB, free: 239.6 MB / 0.9638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.646e-05/4.918, allocations: 16 kB / 1.886 GB, free: 239.6 MB / 0.9638 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 0.6241/5.543, allocations: 135.2 MB / 2.018 GB, free: 104.3 MB / 0.9638 GB Notification: Performance of prepare postOptimizeDAE: time 9.996e-05/5.543, allocations: 62.66 kB / 2.019 GB, free: 104.2 MB / 0.9638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.594e-05/5.543, allocations: 52 kB / 2.019 GB, free: 104.1 MB / 0.9638 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157/6.7, allocations: 119 MB / 2.135 GB, free: 442.9 MB / 0.9638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01729/6.717, allocations: 3.357 MB / 2.138 GB, free: 442.9 MB / 0.9638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1864/6.903, allocations: 79.71 MB / 2.216 GB, free: 404.6 MB / 0.9638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1306/7.034, allocations: 8.032 MB / 2.224 GB, free: 396.6 MB / 0.9638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005908/7.04, allocations: 1.391 MB / 2.225 GB, free: 395.2 MB / 0.9638 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03533/7.075, allocations: 23.55 MB / 2.248 GB, free: 371.7 MB / 0.9638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0292/7.105, allocations: 22.65 MB / 2.27 GB, free: 348 MB / 0.9638 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05613/7.161, allocations: 37.75 MB / 2.307 GB, free: 309.5 MB / 0.9638 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.487e-05/7.161, allocations: 16 kB / 2.307 GB, free: 309.4 MB / 0.9638 GB Notification: Performance of matching and sorting (n=1384) (initialization_lambda0): time 0.6081/7.769, allocations: 133.6 MB / 2.438 GB, free: 176.6 MB / 0.9638 GB Notification: Performance of prepare postOptimizeDAE: time 8.054e-05/7.769, allocations: 53.7 kB / 2.438 GB, free: 176.6 MB / 0.9638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.841e-05/7.769, allocations: 55.98 kB / 2.438 GB, free: 176.5 MB / 0.9638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.58/8.349, allocations: 118.6 MB / 2.553 GB, free: 58.28 MB / 0.9638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01624/8.366, allocations: 3.315 MB / 2.557 GB, free: 54.96 MB / 0.9638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5607/8.926, allocations: 83.2 MB / 2.638 GB, free: 421.5 MB / 0.9638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1274/9.054, allocations: 8.046 MB / 2.646 GB, free: 421.3 MB / 0.9638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007189/9.061, allocations: 1.366 MB / 2.647 GB, free: 421.2 MB / 0.9638 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (1024): * Single equations (assignments): 1006 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * 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): 8 systems {1, 1, 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 {(14,90), (14,90)} Notification: Performance of prepare postOptimizeDAE: time 0.008277/9.069, allocations: 0.7298 MB / 2.648 GB, free: 420.8 MB / 0.9638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01094/9.08, allocations: 1.474 MB / 2.649 GB, free: 420.8 MB / 0.9638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2268/9.307, allocations: 63.16 MB / 2.711 GB, free: 396.8 MB / 0.9638 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2389/9.546, allocations: 71.7 MB / 2.781 GB, free: 325.3 MB / 0.9638 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002023/9.546, allocations: 28 kB / 2.781 GB, free: 325.2 MB / 0.9638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2245/9.771, allocations: 70.88 MB / 2.85 GB, free: 254.4 MB / 0.9638 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.3261/10.1, allocations: 156 MB / 3.003 GB, free: 98.34 MB / 0.9638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.591e-05/10.1, allocations: 8.125 kB / 3.003 GB, free: 98.33 MB / 0.9638 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01149/10.11, allocations: 1.985 MB / 3.005 GB, free: 96.34 MB / 0.9638 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7605/10.87, allocations: 97.38 MB / 3.1 GB, free: 432.3 MB / 0.9638 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004332/10.87, allocations: 0.647 MB / 3.1 GB, free: 432.3 MB / 0.9638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.117/10.99, allocations: 61.01 MB / 3.16 GB, free: 416.4 MB / 0.9638 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1106/11.1, allocations: 46.48 MB / 3.205 GB, free: 383.6 MB / 0.9638 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.