Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.787/1.787, allocations: 292.3 MB / 308.1 MB, free: 4.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 182.4 kB / 376.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.1 MB / 0.6354 GB, free: 9.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009967/0.0009967, allocations: 102.5 kB / 0.748 GB, free: 61.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 52.06 kB / 0.8703 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2269, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.7072/0.9341, allocations: 354.1 MB / 1.328 GB, free: 1.594 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.7459/1.68, allocations: 77.87 MB / 1.404 GB, free: 40.96 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02095/1.701, allocations: 402.6 kB / 1.404 GB, free: 40.96 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.02286/1.724, allocations: 4.84 MB / 1.409 GB, free: 40.95 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.04481/1.769, allocations: 12.41 MB / 1.421 GB, free: 40.53 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.03291/1.802, allocations: 11.72 MB / 1.433 GB, free: 40.05 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.07272/1.875, allocations: 49.59 MB / 1.481 GB, free: 39.09 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03728/1.912, allocations: 17.81 MB / 1.499 GB, free: 32.84 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0453/1.957, allocations: 14.93 MB / 1.513 GB, free: 27.85 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03239/1.99, allocations: 15.79 MB / 1.529 GB, free: 16.73 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.01015/2, allocations: 1.207 MB / 1.53 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02495/2.025, allocations: 4.997 MB / 1.535 GB, free: 10.78 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.01256/2.038, allocations: 5.265 MB / 1.54 GB, free: 5.75 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.02999/2.068, allocations: 9.797 MB / 1.549 GB, free: 12.14 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.05429/2.122, allocations: 28.72 MB / 1.577 GB, free: 0.5117 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/2.122, allocations: 0 / 1.577 GB, free: 0.5117 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.833e-06/2.122, allocations: 0 / 1.577 GB, free: 0.5117 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001212/2.123, allocations: 0 / 1.577 GB, free: 0.5117 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.07001/2.193, allocations: 22.75 MB / 1.6 GB, free: 9.816 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 8.803e-05/2.193, allocations: 8.031 kB / 1.6 GB, free: 9.809 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/2.209, allocations: 2.339 MB / 1.602 GB, free: 7.445 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04468/2.254, allocations: 15.7 MB / 1.617 GB, free: 8.051 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008823/2.255, allocations: 0.716 MB / 1.618 GB, free: 7.336 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004909/2.26, allocations: 0.9805 MB / 1.619 GB, free: 6.363 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04224/2.302, allocations: 17.27 MB / 1.636 GB, free: 4.57 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004129/2.302, allocations: 19.78 kB / 1.636 GB, free: 4.551 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003861/2.306, allocations: 348 kB / 1.636 GB, free: 4.211 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002412/2.307, allocations: 220 kB / 1.636 GB, free: 3.996 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04503/2.352, allocations: 20.56 MB / 1.656 GB, free: 15.42 MB / 1.057 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.1536/2.505, allocations: 81.09 MB / 1.736 GB, free: 11.68 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02258/2.528, allocations: 12.38 MB / 1.748 GB, free: 15.56 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01852/2.546, allocations: 9.746 MB / 1.757 GB, free: 5.809 MB / 1.151 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.09068/2.637, allocations: 34.03 MB / 1.79 GB, free: 3.469 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02049/2.658, allocations: 9.68 MB / 1.8 GB, free: 9.715 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02972/2.688, allocations: 8.632 MB / 1.808 GB, free: 1.242 MB / 1.198 GB Notification: Performance of pre-optimization done (n=555): time 4.707e-05/2.688, allocations: 0 / 1.808 GB, free: 1.242 MB / 1.198 GB Notification: Performance of matching and sorting (n=764): time 1.7/4.388, allocations: 189.9 MB / 1.994 GB, free: 423.3 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005548/4.388, allocations: 2.522 MB / 1.996 GB, free: 420.1 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03087/4.419, allocations: 15.58 MB / 2.011 GB, free: 404.8 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.004879/4.424, allocations: 247.8 kB / 2.012 GB, free: 404.5 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.009568/4.434, allocations: 7.781 MB / 2.019 GB, free: 397.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.005767/4.44, allocations: 2.662 MB / 2.022 GB, free: 394.5 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01419/4.454, allocations: 3.057 MB / 2.025 GB, free: 391.4 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 5.793e-05/4.454, allocations: 309 kB / 2.025 GB, free: 391.1 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02204/4.476, allocations: 11.78 MB / 2.037 GB, free: 379.3 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02559/4.502, allocations: 15.07 MB / 2.051 GB, free: 363 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04856/4.55, allocations: 25.65 MB / 2.076 GB, free: 336.6 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001016/4.55, allocations: 16 kB / 2.076 GB, free: 336.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=1386) (initialization): time 0.5591/5.11, allocations: 116.8 MB / 2.19 GB, free: 219.7 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 7.257e-05/5.11, allocations: 53.7 kB / 2.191 GB, free: 219.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002505/5.11, allocations: 107.9 kB / 2.191 GB, free: 219.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5729/5.683, allocations: 117.9 MB / 2.306 GB, free: 101.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01324/5.696, allocations: 2.722 MB / 2.308 GB, free: 98.93 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1365/5.833, allocations: 77.48 MB / 2.384 GB, free: 21.09 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02096/5.854, allocations: 1.394 MB / 2.385 GB, free: 19.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005281/5.859, allocations: 0.8622 MB / 2.386 GB, free: 18.83 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.7902/6.649, allocations: 15.03 MB / 2.401 GB, free: 478.8 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02554/6.675, allocations: 14.62 MB / 2.415 GB, free: 473.8 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04132/6.716, allocations: 24.75 MB / 2.439 GB, free: 462.9 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.119e-05/6.716, allocations: 18.5 kB / 2.439 GB, free: 462.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=1386) (initialization_lambda0): time 0.5929/7.309, allocations: 115.4 MB / 2.552 GB, free: 433.7 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 8.463e-05/7.309, allocations: 58.36 kB / 2.552 GB, free: 433.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002514/7.31, allocations: 110.2 kB / 2.552 GB, free: 433.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5844/7.894, allocations: 117.6 MB / 2.667 GB, free: 317.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0132/7.907, allocations: 2.688 MB / 2.67 GB, free: 315.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1536/8.061, allocations: 81.45 MB / 2.749 GB, free: 233.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02233/8.083, allocations: 1.437 MB / 2.751 GB, free: 232.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004808/8.088, allocations: 0.833 MB / 2.752 GB, free: 231.3 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1062): * Single equations (assignments): 984 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * 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.006315/8.094, allocations: 0.7888 MB / 2.752 GB, free: 230.6 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0074/8.102, allocations: 1.537 MB / 2.754 GB, free: 229.9 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2068/8.309, allocations: 50.65 MB / 2.803 GB, free: 179.4 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001202/8.309, allocations: 95.98 kB / 2.803 GB, free: 179.3 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001831/8.309, allocations: 28 kB / 2.803 GB, free: 179.3 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.184/8.493, allocations: 44.71 MB / 2.847 GB, free: 134.6 MB / 1.198 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.2347/8.728, allocations: 67.55 MB / 2.913 GB, free: 67.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001016/8.728, allocations: 0 / 2.913 GB, free: 67.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009731/8.738, allocations: 1.771 MB / 2.915 GB, free: 65.54 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1905/8.928, allocations: 40.85 MB / 2.955 GB, free: 24.87 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003063/8.931, allocations: 331.7 kB / 2.955 GB, free: 24.54 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6146/9.546, allocations: 35.76 MB / 2.99 GB, free: 463 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/9.546, allocations: 0 / 2.99 GB, free: 463 MB / 1.198 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.