Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.63/1.63, allocations: 292.3 MB / 308.1 MB, free: 4.301 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.001292/0.001292, allocations: 184.5 kB / 376.9 MB, free: 1.801 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.332/1.332, 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.001015/0.001015, allocations: 99.52 kB / 0.748 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 55.92 kB / 0.8703 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2426, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 0.7859/1.029, allocations: 354.1 MB / 1.328 GB, free: 1.5 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.7155/1.744, allocations: 77.87 MB / 1.404 GB, free: 40.94 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02086/1.765, allocations: 404.1 kB / 1.404 GB, free: 40.94 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.01622/1.781, allocations: 4.356 MB / 1.409 GB, free: 40.93 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.03715/1.819, allocations: 12.06 MB / 1.42 GB, free: 40.54 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.02328/1.842, allocations: 8.501 MB / 1.429 GB, free: 40.27 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.06205/1.904, allocations: 44.88 MB / 1.473 GB, free: 39.95 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03429/1.938, allocations: 16.27 MB / 1.489 GB, free: 36.04 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03702/1.975, allocations: 13.73 MB / 1.502 GB, free: 31.54 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03068/2.006, allocations: 14.53 MB / 1.516 GB, free: 25.85 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.008723/2.015, allocations: 1.133 MB / 1.517 GB, free: 24.72 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02342/2.038, allocations: 4.994 MB / 1.522 GB, free: 20.82 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.01128/2.05, allocations: 4.543 MB / 1.527 GB, free: 17.81 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.02798/2.078, allocations: 8.674 MB / 1.535 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.04229/2.12, allocations: 25.25 MB / 1.56 GB, free: 2.141 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/2.12, allocations: 7.984 kB / 1.56 GB, free: 2.133 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.904e-06/2.12, allocations: 1.312 kB / 1.56 GB, free: 2.133 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009493/2.121, allocations: 0 / 1.56 GB, free: 2.133 MB / 0.948 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.06001/2.181, allocations: 19.7 MB / 1.579 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/2.181, allocations: 16.03 kB / 1.579 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/2.194, allocations: 2.221 MB / 1.581 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03735/2.232, allocations: 13.91 MB / 1.595 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001381/2.233, allocations: 0.7072 MB / 1.595 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004375/2.238, allocations: 0.7848 MB / 1.596 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04139/2.279, allocations: 14.93 MB / 1.611 GB, free: 13.93 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000429/2.279, allocations: 7.938 kB / 1.611 GB, free: 13.92 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004208/2.284, allocations: 294 kB / 1.611 GB, free: 13.64 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002277/2.284, allocations: 184 kB / 1.611 GB, free: 13.46 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04111/2.325, allocations: 19.36 MB / 1.63 GB, free: 10.08 MB / 1.026 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.1389/2.464, allocations: 75.96 MB / 1.704 GB, free: 11.41 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01746/2.481, allocations: 10.59 MB / 1.715 GB, free: 1.035 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01446/2.496, allocations: 9.044 MB / 1.723 GB, free: 7.988 MB / 1.12 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.06991/2.566, allocations: 31.46 MB / 1.754 GB, free: 8.191 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01525/2.581, allocations: 8.838 MB / 1.763 GB, free: 15.32 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02612/2.607, allocations: 8.472 MB / 1.771 GB, free: 7.004 MB / 1.167 GB Notification: Performance of pre-optimization done (n=421): time 3.54e-05/2.607, allocations: 4 kB / 1.771 GB, free: 7 MB / 1.167 GB Notification: Performance of matching and sorting (n=605): time 2.044/4.651, allocations: 183.1 MB / 1.95 GB, free: 235.4 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/4.651, allocations: 117.6 kB / 1.95 GB, free: 235.3 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01997/4.671, allocations: 13.12 MB / 1.963 GB, free: 225.8 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.003661/4.675, allocations: 176.5 kB / 1.963 GB, free: 225.7 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.007195/4.682, allocations: 6.533 MB / 1.969 GB, free: 223.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004136/4.686, allocations: 2.05 MB / 1.971 GB, free: 221.4 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004897/4.691, allocations: 2.463 MB / 1.974 GB, free: 219.5 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 4.76e-05/4.691, allocations: 301.1 kB / 1.974 GB, free: 219.2 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01635/4.708, allocations: 10.08 MB / 1.984 GB, free: 212.2 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01924/4.727, allocations: 12.49 MB / 1.996 GB, free: 198.7 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03744/4.764, allocations: 22.26 MB / 2.018 GB, free: 175.9 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.24e-05/4.764, allocations: 16 kB / 2.018 GB, free: 175.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 0.5651/5.329, allocations: 112.6 MB / 2.128 GB, free: 63.8 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 6.855e-05/5.33, allocations: 54.8 kB / 2.128 GB, free: 63.74 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.983e-05/5.33, allocations: 52 kB / 2.128 GB, free: 63.69 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6046/5.934, allocations: 117.9 MB / 2.243 GB, free: 9.906 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4983/6.433, allocations: 2.046 MB / 2.245 GB, free: 0.5332 GB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1546/6.587, allocations: 77.54 MB / 2.321 GB, free: 0.5134 GB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01869/6.606, allocations: 1.221 MB / 2.322 GB, free: 0.5133 GB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004426/6.61, allocations: 0.7805 MB / 2.323 GB, free: 0.5132 GB / 1.261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02947/6.64, allocations: 12.54 MB / 2.335 GB, free: 0.5087 GB / 1.261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02381/6.664, allocations: 12.03 MB / 2.347 GB, free: 0.5026 GB / 1.261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03925/6.703, allocations: 21.37 MB / 2.368 GB, free: 0.493 GB / 1.261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001148/6.703, allocations: 16.2 kB / 2.368 GB, free: 0.493 GB / 1.261 GB Notification: Performance of matching and sorting (n=1029) (initialization_lambda0): time 0.5571/7.26, allocations: 111.2 MB / 2.476 GB, free: 431.2 MB / 1.261 GB Notification: Performance of prepare postOptimizeDAE: time 8.032e-05/7.26, allocations: 61.72 kB / 2.476 GB, free: 431.2 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.394e-05/7.261, allocations: 55.94 kB / 2.476 GB, free: 431.1 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5752/7.836, allocations: 117.6 MB / 2.591 GB, free: 313.9 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01004/7.846, allocations: 2.025 MB / 2.593 GB, free: 311.8 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1503/7.996, allocations: 81.83 MB / 2.673 GB, free: 229.9 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02089/8.017, allocations: 1.247 MB / 2.674 GB, free: 228.6 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004452/8.022, allocations: 0.7501 MB / 2.675 GB, free: 227.9 MB / 1.261 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.00551/8.027, allocations: 0.6249 MB / 2.676 GB, free: 227.3 MB / 1.261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005768/8.033, allocations: 1.273 MB / 2.677 GB, free: 226.4 MB / 1.261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1975/8.23, allocations: 48.35 MB / 2.724 GB, free: 178.1 MB / 1.261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001184/8.231, allocations: 76 kB / 2.724 GB, free: 178.1 MB / 1.261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.806e-05/8.231, allocations: 29.45 kB / 2.724 GB, free: 178 MB / 1.261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1778/8.409, allocations: 42.73 MB / 2.766 GB, free: 135.3 MB / 1.261 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.2274/8.636, allocations: 63.24 MB / 2.828 GB, free: 72.14 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.715e-05/8.636, allocations: 11.94 kB / 2.828 GB, free: 72.12 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007365/8.643, allocations: 1.373 MB / 2.829 GB, free: 70.75 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1889/8.832, allocations: 40.89 MB / 2.869 GB, free: 30.05 MB / 1.261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00282/8.835, allocations: 203.9 kB / 2.869 GB, free: 29.85 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6628/9.498, allocations: 35.76 MB / 2.904 GB, free: 0.5296 GB / 1.261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.437e-05/9.498, allocations: 10.97 kB / 2.904 GB, free: 0.5296 GB / 1.261 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.