Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified2") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001667/0.001667, allocations: 183 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.7062/0.7062, 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.359/1.359, allocations: 222.9 MB / 403.4 MB, free: 7.078 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.0009746/0.0009746, allocations: 102.5 kB / 484.3 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009462/0.0009462, allocations: 56.11 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1184, allocations: 80.2 MB / 0.6402 GB, free: 6.801 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified2): time 0.9529/1.071, allocations: 353 MB / 0.9849 GB, free: 48.57 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.09132/1.163, allocations: 73.01 MB / 1.056 GB, free: 45.38 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01657/1.179, allocations: 393.1 kB / 1.057 GB, free: 45.38 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01633/1.196, allocations: 4.422 MB / 1.061 GB, free: 44.32 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.03975/1.236, allocations: 12.53 MB / 1.073 GB, free: 37.49 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02627/1.262, allocations: 8.89 MB / 1.082 GB, free: 31.99 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.05078/1.313, allocations: 48.58 MB / 1.129 GB, free: 4.32 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02926/1.342, allocations: 17.55 MB / 1.146 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0348/1.377, allocations: 14.71 MB / 1.161 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0283/1.405, allocations: 15.76 MB / 1.176 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.007344/1.413, allocations: 1.211 MB / 1.177 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01943/1.432, allocations: 4.876 MB / 1.182 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.009944/1.442, allocations: 5.111 MB / 1.187 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.02295/1.465, allocations: 9.534 MB / 1.196 GB, free: 2.684 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.04382/1.509, allocations: 27.98 MB / 1.224 GB, free: 7.773 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.509, allocations: 0 / 1.224 GB, free: 7.773 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.743e-06/1.509, allocations: 0 / 1.224 GB, free: 7.773 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0009399/1.51, allocations: 0 / 1.224 GB, free: 7.773 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.06593/1.576, allocations: 22.15 MB / 1.245 GB, free: 1.699 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/1.576, allocations: 16.03 kB / 1.245 GB, free: 1.684 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/1.587, allocations: 2.228 MB / 1.248 GB, free: 15.43 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03678/1.624, allocations: 15.56 MB / 1.263 GB, free: 148 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.5201/2.144, allocations: 0.6851 MB / 1.263 GB, free: 365.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006498/2.151, allocations: 0.9272 MB / 1.264 GB, free: 365.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04531/2.196, allocations: 16.45 MB / 1.28 GB, free: 359.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003094/2.197, allocations: 20.78 kB / 1.28 GB, free: 359.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003586/2.2, allocations: 324.2 kB / 1.281 GB, free: 358.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000407/2.201, allocations: 369.7 kB / 1.281 GB, free: 358.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0417/2.242, allocations: 20.93 MB / 1.301 GB, free: 350.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.1231/2.366, allocations: 80.51 MB / 1.38 GB, free: 275.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01829/2.384, allocations: 12.71 MB / 1.393 GB, free: 263.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01328/2.397, allocations: 9.507 MB / 1.402 GB, free: 254 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.07192/2.469, allocations: 34.4 MB / 1.435 GB, free: 219.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01624/2.485, allocations: 9.715 MB / 1.445 GB, free: 210 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02757/2.513, allocations: 8.557 MB / 1.453 GB, free: 202.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=576): time 4.378e-05/2.513, allocations: 0 / 1.453 GB, free: 202.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=868): time 1.675/4.188, allocations: 274.5 MB / 1.721 GB, free: 307.5 MB / 0.8231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1319/4.32, allocations: 55.4 MB / 1.775 GB, free: 261.2 MB / 0.8231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01993/4.34, allocations: 14.81 MB / 1.79 GB, free: 246.6 MB / 0.8231 GB Notification: Performance of collectPreVariables (initialization): time 0.003507/4.344, allocations: 225.7 kB / 1.79 GB, free: 246.4 MB / 0.8231 GB Notification: Performance of collectInitialEqns (initialization): time 0.005621/4.349, allocations: 7.209 MB / 1.797 GB, free: 240.5 MB / 0.8231 GB Notification: Performance of collectInitialBindings (initialization): time 0.007853/4.357, allocations: 3.091 MB / 1.8 GB, free: 237.9 MB / 0.8231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007592/4.365, allocations: 3.74 MB / 1.804 GB, free: 234.2 MB / 0.8231 GB Notification: Performance of setup shared object (initialization): time 4.385e-05/4.365, allocations: 305.1 kB / 1.804 GB, free: 233.9 MB / 0.8231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02549/4.391, allocations: 20.51 MB / 1.824 GB, free: 213.3 MB / 0.8231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02837/4.419, allocations: 23.13 MB / 1.847 GB, free: 189.2 MB / 0.8231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05422/4.473, allocations: 38.66 MB / 1.884 GB, free: 149.7 MB / 0.8231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.952e-05/4.473, allocations: 15.94 kB / 1.884 GB, free: 149.7 MB / 0.8231 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 0.9051/5.378, allocations: 135.2 MB / 2.016 GB, free: 305.1 MB / 0.8231 GB Notification: Performance of prepare postOptimizeDAE: time 7.657e-05/5.378, allocations: 54.66 kB / 2.017 GB, free: 305.1 MB / 0.8231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.781e-05/5.379, allocations: 55.48 kB / 2.017 GB, free: 305.1 MB / 0.8231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5923/5.971, allocations: 119 MB / 2.133 GB, free: 255.8 MB / 0.8231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01784/5.989, allocations: 3.357 MB / 2.136 GB, free: 252.5 MB / 0.8231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.133/6.122, allocations: 79.72 MB / 2.214 GB, free: 172.7 MB / 0.8231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1206/6.243, allocations: 8.022 MB / 2.222 GB, free: 164.8 MB / 0.8231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00607/6.249, allocations: 1.403 MB / 2.223 GB, free: 163.4 MB / 0.8231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03614/6.285, allocations: 23.53 MB / 2.246 GB, free: 139.8 MB / 0.8231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02905/6.314, allocations: 22.66 MB / 2.268 GB, free: 116.1 MB / 0.8231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05148/6.365, allocations: 37.74 MB / 2.305 GB, free: 77.61 MB / 0.8231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.016e-05/6.366, allocations: 16 kB / 2.305 GB, free: 77.59 MB / 0.8231 GB Notification: Performance of matching and sorting (n=1384) (initialization_lambda0): time 0.9124/7.278, allocations: 133.6 MB / 2.436 GB, free: 289.3 MB / 0.8231 GB Notification: Performance of prepare postOptimizeDAE: time 6.665e-05/7.278, allocations: 53.89 kB / 2.436 GB, free: 289.3 MB / 0.8231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.475e-05/7.278, allocations: 53.47 kB / 2.436 GB, free: 289.3 MB / 0.8231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5885/7.867, allocations: 118.6 MB / 2.551 GB, free: 182.8 MB / 0.8231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01641/7.883, allocations: 3.321 MB / 2.555 GB, free: 179.5 MB / 0.8231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1401/8.023, allocations: 83.2 MB / 2.636 GB, free: 96.22 MB / 0.8231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1271/8.15, allocations: 8.049 MB / 2.644 GB, free: 88.21 MB / 0.8231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005304/8.156, allocations: 1.364 MB / 2.645 GB, free: 86.85 MB / 0.8231 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.005391/8.161, allocations: 0.7312 MB / 2.646 GB, free: 86.12 MB / 0.8231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005675/8.167, allocations: 1.475 MB / 2.647 GB, free: 85.44 MB / 0.8231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5578/8.724, allocations: 63.15 MB / 2.709 GB, free: 289 MB / 0.8231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2399/8.964, allocations: 71.69 MB / 2.779 GB, free: 277.5 MB / 0.8231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001974/8.965, allocations: 28.66 kB / 2.779 GB, free: 277.5 MB / 0.8231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2249/9.19, allocations: 70.88 MB / 2.848 GB, free: 232.4 MB / 0.8231 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.3175/9.507, allocations: 156 MB / 3.001 GB, free: 76.5 MB / 0.8231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.913e-05/9.507, allocations: 4 kB / 3.001 GB, free: 76.5 MB / 0.8231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01249/9.52, allocations: 1.984 MB / 3.003 GB, free: 74.51 MB / 0.8231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7812/10.3, allocations: 97.38 MB / 3.098 GB, free: 278 MB / 0.8231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004133/10.31, allocations: 0.6485 MB / 3.098 GB, free: 278 MB / 0.8231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1055/10.41, allocations: 61.01 MB / 3.158 GB, free: 258.1 MB / 0.8231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1307/10.54, allocations: 46.49 MB / 3.203 GB, free: 217.8 MB / 0.8231 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.