Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 292.3 MB / 308.1 MB, free: 4.242 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.00123/0.00123, allocations: 176.5 kB / 376.9 MB, free: 1.77 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.451/1.451, allocations: 205 MB / 0.6353 GB, free: 9.734 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.001016/0.001016, allocations: 92.05 kB / 0.7479 GB, free: 61.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 55.92 kB / 0.8703 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2103, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified2): time 0.7098/0.9202, allocations: 354.1 MB / 1.328 GB, free: 1.508 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.6333/1.554, allocations: 77.87 MB / 1.404 GB, free: 40.91 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01833/1.572, allocations: 403.3 kB / 1.404 GB, free: 40.91 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.01714/1.589, allocations: 4.844 MB / 1.409 GB, free: 40.89 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.03896/1.628, allocations: 12.41 MB / 1.421 GB, free: 40.48 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.02922/1.657, allocations: 11.73 MB / 1.433 GB, free: 40.01 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.06292/1.72, allocations: 49.71 MB / 1.481 GB, free: 39.05 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0402/1.761, allocations: 17.84 MB / 1.499 GB, free: 32.79 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03642/1.797, allocations: 14.97 MB / 1.513 GB, free: 27.8 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03214/1.829, allocations: 15.83 MB / 1.529 GB, free: 16.48 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.009632/1.839, allocations: 1.211 MB / 1.53 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0247/1.864, allocations: 5 MB / 1.535 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.01119/1.875, allocations: 5.289 MB / 1.54 GB, free: 5.473 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.02459/1.899, allocations: 9.82 MB / 1.55 GB, free: 11.84 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.04459/1.944, allocations: 28.8 MB / 1.578 GB, free: 144 kB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/1.944, allocations: 0 / 1.578 GB, free: 144 kB / 0.9636 GB Notification: Performance of FrontEnd: time 4.318e-06/1.944, allocations: 0 / 1.578 GB, free: 144 kB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001071/1.945, allocations: 3.938 kB / 1.578 GB, free: 140 kB / 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.06843/2.014, allocations: 22.78 MB / 1.6 GB, free: 9.41 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.788e-05/2.014, allocations: 12.03 kB / 1.6 GB, free: 9.398 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0139/2.028, allocations: 2.339 MB / 1.602 GB, free: 7.035 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0391/2.067, allocations: 15.7 MB / 1.618 GB, free: 7.633 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009184/2.068, allocations: 0.7152 MB / 1.618 GB, free: 6.922 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005338/2.073, allocations: 0.994 MB / 1.619 GB, free: 5.934 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04107/2.114, allocations: 17.31 MB / 1.636 GB, free: 4.098 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002785/2.115, allocations: 23.52 kB / 1.636 GB, free: 4.078 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003207/2.118, allocations: 348 kB / 1.636 GB, free: 3.738 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001884/2.118, allocations: 212 kB / 1.637 GB, free: 3.531 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03951/2.157, allocations: 20.61 MB / 1.657 GB, free: 14.91 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.1439/2.301, allocations: 80.77 MB / 1.736 GB, free: 11.58 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01946/2.321, allocations: 12.63 MB / 1.748 GB, free: 15.13 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01401/2.335, allocations: 9.513 MB / 1.757 GB, free: 5.609 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.081/2.416, allocations: 34.24 MB / 1.791 GB, free: 3.074 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01937/2.435, allocations: 9.782 MB / 1.8 GB, free: 9.227 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02863/2.464, allocations: 8.632 MB / 1.809 GB, free: 0.7539 MB / 1.198 GB Notification: Performance of pre-optimization done (n=576): time 3.537e-05/2.464, allocations: 0 / 1.809 GB, free: 0.7539 MB / 1.198 GB Notification: Performance of matching and sorting (n=804): time 1.722/4.187, allocations: 196.1 MB / 2 GB, free: 416.4 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000605/4.187, allocations: 2.534 MB / 2.003 GB, free: 413.3 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02888/4.216, allocations: 15.56 MB / 2.018 GB, free: 397.9 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.004124/4.22, allocations: 252.2 kB / 2.018 GB, free: 397.7 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.008132/4.228, allocations: 7.792 MB / 2.026 GB, free: 390.3 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.005507/4.234, allocations: 2.799 MB / 2.029 GB, free: 387.5 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01103/4.245, allocations: 3.103 MB / 2.032 GB, free: 384.4 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 5.168e-05/4.245, allocations: 301.1 kB / 2.032 GB, free: 384.1 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01975/4.265, allocations: 11.93 MB / 2.043 GB, free: 372.2 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02446/4.289, allocations: 15.24 MB / 2.058 GB, free: 355.7 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05082/4.34, allocations: 25.92 MB / 2.084 GB, free: 329.1 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.912e-05/4.34, allocations: 16 kB / 2.084 GB, free: 329 MB / 1.198 GB Notification: Performance of matching and sorting (n=1416) (initialization): time 0.5569/4.897, allocations: 117.6 MB / 2.199 GB, free: 211.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/4.897, allocations: 53.7 kB / 2.199 GB, free: 211.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003008/4.898, allocations: 100.8 kB / 2.199 GB, free: 211.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.545/5.443, allocations: 119 MB / 2.315 GB, free: 92.27 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01387/5.457, allocations: 2.726 MB / 2.318 GB, free: 89.54 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032/6.489, allocations: 79.64 MB / 2.395 GB, free: 462.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02266/6.512, allocations: 1.388 MB / 2.397 GB, free: 462.9 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005252/6.517, allocations: 0.8719 MB / 2.398 GB, free: 462.9 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0377/6.555, allocations: 15.18 MB / 2.412 GB, free: 462.8 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02443/6.579, allocations: 14.78 MB / 2.427 GB, free: 455.2 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04481/6.624, allocations: 25 MB / 2.451 GB, free: 444.3 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001224/6.624, allocations: 13 kB / 2.451 GB, free: 444.3 MB / 1.198 GB Notification: Performance of matching and sorting (n=1416) (initialization_lambda0): time 0.5851/7.209, allocations: 116 MB / 2.564 GB, free: 418.3 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/7.209, allocations: 54.77 kB / 2.565 GB, free: 418.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002565/7.21, allocations: 105.4 kB / 2.565 GB, free: 418.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5422/7.752, allocations: 118.6 MB / 2.68 GB, free: 304.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0126/7.765, allocations: 2.682 MB / 2.683 GB, free: 301.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1626/7.927, allocations: 83.11 MB / 2.764 GB, free: 218.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02014/7.947, allocations: 1.462 MB / 2.766 GB, free: 217.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004244/7.952, allocations: 0.8271 MB / 2.766 GB, free: 216.4 MB / 1.198 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 (1054): * Single equations (assignments): 974 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * 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.007172/7.959, allocations: 0.8021 MB / 2.767 GB, free: 215.6 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007456/7.966, allocations: 1.545 MB / 2.769 GB, free: 214.9 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1964/8.163, allocations: 51.65 MB / 2.819 GB, free: 163.4 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001209/8.163, allocations: 100 kB / 2.819 GB, free: 163.3 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001604/8.163, allocations: 28 kB / 2.819 GB, free: 163.3 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1791/8.342, allocations: 45.61 MB / 2.864 GB, free: 117.7 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.2286/8.571, allocations: 69.7 MB / 2.932 GB, free: 48.29 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001025/8.571, allocations: 4 kB / 2.932 GB, free: 48.29 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009434/8.58, allocations: 1.791 MB / 2.934 GB, free: 46.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.705/9.285, allocations: 41.6 MB / 2.974 GB, free: 449.1 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00298/9.288, allocations: 338.6 kB / 2.975 GB, free: 449.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06847/9.357, allocations: 37.93 MB / 3.012 GB, free: 440 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-06/9.357, allocations: 2.766 kB / 3.012 GB, free: 440 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.