Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified4") translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001117/0.001117, allocations: 186.6 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4619/0.4619, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 106.1 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 55.92 kB / 0.4891 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2781, allocations: 70.06 MB / 0.5575 GB, free: 44.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified4): time 0.5868/0.8649, allocations: 353.1 MB / 0.9023 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.4494/1.314, allocations: 73.04 MB / 0.9736 GB, free: 19.54 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01265/1.327, allocations: 397.8 kB / 0.974 GB, free: 19.54 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.01309/1.34, allocations: 4.36 MB / 0.9783 GB, free: 19.52 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.03062/1.371, allocations: 12.13 MB / 0.9901 GB, free: 19.2 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01979/1.391, allocations: 8.55 MB / 0.9985 GB, free: 18.99 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.04465/1.435, allocations: 45.21 MB / 1.043 GB, free: 15 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02314/1.459, allocations: 16.38 MB / 1.059 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02763/1.486, allocations: 13.85 MB / 1.072 GB, free: 9.977 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02526/1.512, allocations: 14.6 MB / 1.086 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.006071/1.518, allocations: 1.129 MB / 1.088 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01753/1.535, allocations: 5.005 MB / 1.092 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.007619/1.543, allocations: 4.568 MB / 1.097 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0188/1.562, allocations: 8.737 MB / 1.105 GB, free: 12.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.03598/1.598, allocations: 25.39 MB / 1.13 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.598, allocations: 0 / 1.13 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.783e-06/1.598, allocations: 3.75 kB / 1.13 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0007078/1.598, allocations: 0 / 1.13 GB, free: 4.461 MB / 0.7136 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.05653/1.655, allocations: 19.86 MB / 1.15 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/1.655, allocations: 12.03 kB / 1.15 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01454/1.67, allocations: 2.576 MB / 1.152 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0332/1.703, allocations: 14.17 MB / 1.166 GB, free: 132 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001258/1.704, allocations: 0.7106 MB / 1.167 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003636/1.708, allocations: 0.7757 MB / 1.167 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03551/1.743, allocations: 15.03 MB / 1.182 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002135/1.744, allocations: 15.78 kB / 1.182 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00294/1.746, allocations: 288 kB / 1.182 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001735/1.747, allocations: 191.9 kB / 1.183 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03552/1.782, allocations: 19.54 MB / 1.202 GB, free: 11.36 MB / 0.7917 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.6552/2.437, allocations: 76.31 MB / 1.276 GB, free: 416.8 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01734/2.455, allocations: 10.78 MB / 1.287 GB, free: 412.1 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01411/2.469, allocations: 9.137 MB / 1.296 GB, free: 408 MB / 0.8387 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.06107/2.53, allocations: 31.58 MB / 1.326 GB, free: 386 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01241/2.543, allocations: 8.934 MB / 1.335 GB, free: 380.5 MB / 0.8387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02372/2.566, allocations: 8.474 MB / 1.343 GB, free: 373.7 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=421): time 3.083e-05/2.566, allocations: 0 / 1.343 GB, free: 373.7 MB / 0.8387 GB Notification: Performance of matching and sorting (n=605): time 0.8038/3.37, allocations: 183.5 MB / 1.523 GB, free: 191.1 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/3.37, allocations: 112.2 kB / 1.523 GB, free: 190.9 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0255/3.396, allocations: 13.33 MB / 1.536 GB, free: 177.8 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 0.003316/3.399, allocations: 183 kB / 1.536 GB, free: 177.6 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.005935/3.405, allocations: 6.547 MB / 1.542 GB, free: 171.1 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 0.004286/3.409, allocations: 2.048 MB / 1.544 GB, free: 169 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006534/3.416, allocations: 2.476 MB / 1.547 GB, free: 166.6 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 3.827e-05/3.416, allocations: 309 kB / 1.547 GB, free: 166.2 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01669/3.433, allocations: 10.16 MB / 1.557 GB, free: 156.1 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01884/3.452, allocations: 12.57 MB / 1.569 GB, free: 142.5 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03651/3.488, allocations: 22.41 MB / 1.591 GB, free: 119.3 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.927e-05/3.488, allocations: 16 kB / 1.591 GB, free: 119.3 MB / 0.8387 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 0.8528/4.341, allocations: 112.8 MB / 1.701 GB, free: 386.9 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 7.763e-05/4.341, allocations: 52.58 kB / 1.701 GB, free: 386.8 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.892e-05/4.341, allocations: 55.25 kB / 1.701 GB, free: 386.8 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5659/4.907, allocations: 117.9 MB / 1.817 GB, free: 334.6 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01111/4.918, allocations: 2.08 MB / 1.819 GB, free: 332.6 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1348/5.053, allocations: 77.54 MB / 1.894 GB, free: 255.1 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01765/5.071, allocations: 1.252 MB / 1.896 GB, free: 253.9 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003831/5.075, allocations: 0.7817 MB / 1.896 GB, free: 253.1 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02363/5.098, allocations: 12.65 MB / 1.909 GB, free: 240.4 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01893/5.117, allocations: 12.12 MB / 1.921 GB, free: 227.3 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03413/5.152, allocations: 21.52 MB / 1.942 GB, free: 205 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.974e-05/5.152, allocations: 16 kB / 1.942 GB, free: 205 MB / 0.8387 GB Notification: Performance of matching and sorting (n=1029) (initialization_lambda0): time 0.617/5.769, allocations: 111.3 MB / 2.05 GB, free: 94.27 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 5.886e-05/5.769, allocations: 53.7 kB / 2.05 GB, free: 94.21 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.632e-05/5.769, allocations: 52 kB / 2.05 GB, free: 94.16 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8508/6.62, allocations: 117.6 MB / 2.165 GB, free: 376.9 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/6.63, allocations: 2.059 MB / 2.167 GB, free: 376.9 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1509/6.781, allocations: 81.82 MB / 2.247 GB, free: 329.3 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01825/6.8, allocations: 1.269 MB / 2.248 GB, free: 328.1 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004238/6.804, allocations: 0.7529 MB / 2.249 GB, free: 327.3 MB / 0.8387 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.004595/6.808, allocations: 0.6339 MB / 2.25 GB, free: 326.7 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004866/6.813, allocations: 1.302 MB / 2.251 GB, free: 326.1 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1945/7.008, allocations: 48.55 MB / 2.298 GB, free: 277.9 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001135/7.008, allocations: 79.92 kB / 2.298 GB, free: 277.8 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-05/7.008, allocations: 28 kB / 2.299 GB, free: 277.8 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2035/7.212, allocations: 42.89 MB / 2.34 GB, free: 234.9 MB / 0.8387 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.3404/7.552, allocations: 63.54 MB / 2.402 GB, free: 171.4 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001212/7.552, allocations: 8.797 kB / 2.402 GB, free: 171.4 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01199/7.564, allocations: 1.416 MB / 2.404 GB, free: 170 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2094/7.774, allocations: 40.89 MB / 2.444 GB, free: 129.3 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002071/7.776, allocations: 203.9 kB / 2.444 GB, free: 129.1 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06184/7.838, allocations: 35.77 MB / 2.479 GB, free: 93.2 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/7.838, allocations: 8 kB / 2.479 GB, free: 93.2 MB / 0.8387 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.