Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 292.3 MB / 308.1 MB, free: 4.285 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.001344/0.001344, allocations: 184.5 kB / 376.9 MB, free: 1.777 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.437/1.437, allocations: 205.1 MB / 0.6354 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.0009817/0.0009817, allocations: 99.64 kB / 0.748 GB, free: 61.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 51.92 kB / 0.8703 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2352, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 0.7128/0.948, allocations: 354.2 MB / 1.328 GB, free: 1.395 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.7086/1.657, allocations: 77.89 MB / 1.404 GB, free: 40.99 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02242/1.679, allocations: 403.4 kB / 1.405 GB, free: 40.99 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.01625/1.695, allocations: 3.882 MB / 1.408 GB, free: 40.98 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0335/1.729, allocations: 10.22 MB / 1.418 GB, free: 40.67 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.02181/1.751, allocations: 7.13 MB / 1.425 GB, free: 40.45 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.05378/1.805, allocations: 38.25 MB / 1.463 GB, free: 40.32 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03274/1.837, allocations: 14.24 MB / 1.477 GB, free: 38.24 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03231/1.87, allocations: 11.01 MB / 1.487 GB, free: 36.2 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02308/1.893, allocations: 9.79 MB / 1.497 GB, free: 32.44 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.006024/1.899, allocations: 0.6116 MB / 1.497 GB, free: 32.44 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01899/1.918, allocations: 3.748 MB / 1.501 GB, free: 31.52 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.007672/1.926, allocations: 3.151 MB / 1.504 GB, free: 30.13 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.02198/1.948, allocations: 6.853 MB / 1.511 GB, free: 27.42 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.03387/1.982, allocations: 18.7 MB / 1.529 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/1.982, allocations: 0 / 1.529 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.783e-06/1.982, allocations: 0 / 1.529 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0008725/1.983, allocations: 0 / 1.529 GB, free: 14.2 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.04589/2.028, allocations: 15.6 MB / 1.544 GB, free: 15.89 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/2.029, allocations: 12.03 kB / 1.544 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01189/2.04, allocations: 2.118 MB / 1.546 GB, free: 13.74 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03163/2.072, allocations: 11.56 MB / 1.558 GB, free: 2.422 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001904/2.074, allocations: 0.7478 MB / 1.558 GB, free: 1.676 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003334/2.077, allocations: 0.6813 MB / 1.559 GB, free: 0.9961 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02606/2.103, allocations: 8.957 MB / 1.568 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002779/2.104, allocations: 15.88 kB / 1.568 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002414/2.106, allocations: 252 kB / 1.568 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001752/2.106, allocations: 160 kB / 1.568 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02009/2.127, allocations: 7.4 MB / 1.576 GB, free: 15.89 MB / 0.9792 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.08709/2.214, allocations: 50.03 MB / 1.624 GB, free: 10.77 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/2.225, allocations: 5.479 MB / 1.63 GB, free: 5.527 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007071/2.232, allocations: 3.909 MB / 1.634 GB, free: 1.633 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 evalFunc (simulation): time 0.0308/2.263, allocations: 13.22 MB / 1.646 GB, free: 4.262 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006115/2.269, allocations: 3.705 MB / 1.65 GB, free: 0.5195 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008397/2.277, allocations: 1.657 MB / 1.652 GB, free: 14.87 MB / 1.057 GB Notification: Performance of pre-optimization done (n=320): time 1.241e-05/2.277, allocations: 4 kB / 1.652 GB, free: 14.87 MB / 1.057 GB Notification: Performance of matching and sorting (n=506): time 0.1805/2.458, allocations: 53.4 MB / 1.704 GB, free: 8.723 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/2.458, allocations: 107.4 kB / 1.704 GB, free: 8.605 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01992/2.478, allocations: 12.6 MB / 1.716 GB, free: 12.06 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.001613/2.479, allocations: 168.4 kB / 1.716 GB, free: 11.89 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.005803/2.485, allocations: 6.152 MB / 1.722 GB, free: 5.754 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.002143/2.487, allocations: 1.702 MB / 1.724 GB, free: 4.066 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002742/2.49, allocations: 1.679 MB / 1.726 GB, free: 2.383 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 8.858e-05/2.49, allocations: 301.1 kB / 1.726 GB, free: 2.086 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01165/2.502, allocations: 5.86 MB / 1.732 GB, free: 12.22 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01427/2.516, allocations: 8.421 MB / 1.74 GB, free: 2.703 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02629/2.542, allocations: 13.56 MB / 1.753 GB, free: 4.273 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.127e-05/2.543, allocations: 16 kB / 1.753 GB, free: 4.258 MB / 1.151 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.04291/2.585, allocations: 18.66 MB / 1.771 GB, free: 1.527 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.653e-05/2.586, allocations: 61.89 kB / 1.771 GB, free: 1.461 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.247e-05/2.586, allocations: 63.98 kB / 1.772 GB, free: 1.398 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01603/2.602, allocations: 4.789 MB / 1.776 GB, free: 12.64 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01139/2.613, allocations: 2.009 MB / 1.778 GB, free: 10.62 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/2.626, allocations: 10.92 MB / 1.789 GB, free: 15.56 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01382/2.64, allocations: 1.183 MB / 1.79 GB, free: 14.38 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00171/2.642, allocations: 463.8 kB / 1.79 GB, free: 13.93 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01851/2.66, allocations: 8.09 MB / 1.798 GB, free: 5.824 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.7463/3.407, allocations: 7.958 MB / 1.806 GB, free: 0.4929 GB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02467/3.431, allocations: 12.67 MB / 1.819 GB, free: 0.4907 GB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.959e-05/3.431, allocations: 16.34 kB / 1.819 GB, free: 0.4907 GB / 1.198 GB Notification: Performance of matching and sorting (n=953) (initialization_lambda0): time 0.04247/3.474, allocations: 17.2 MB / 1.835 GB, free: 0.4886 GB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/3.474, allocations: 63.14 kB / 1.835 GB, free: 0.4886 GB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001197/3.474, allocations: 60.69 kB / 1.835 GB, free: 0.4886 GB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0192/3.493, allocations: 4.362 MB / 1.84 GB, free: 499.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01503/3.508, allocations: 1.99 MB / 1.842 GB, free: 499.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03141/3.54, allocations: 15.35 MB / 1.857 GB, free: 491.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01605/3.556, allocations: 1.222 MB / 1.858 GB, free: 491.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001799/3.558, allocations: 430.9 kB / 1.858 GB, free: 491.6 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (748): * Single equations (assignments): 735 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.001788/3.56, allocations: 0.613 MB / 1.859 GB, free: 491.1 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003207/3.563, allocations: 1.19 MB / 1.86 GB, free: 491.1 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03394/3.597, allocations: 14.91 MB / 1.875 GB, free: 486.4 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.38e-05/3.597, allocations: 64.23 kB / 1.875 GB, free: 486.4 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/3.597, allocations: 2.516 kB / 1.875 GB, free: 486.4 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02801/3.625, allocations: 12.24 MB / 1.887 GB, free: 482.4 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.0606/3.686, allocations: 26.2 MB / 1.912 GB, free: 472.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.843e-05/3.686, allocations: 7.25 kB / 1.912 GB, free: 472.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007148/3.693, allocations: 1.214 MB / 1.913 GB, free: 472.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0112/3.704, allocations: 3.283 MB / 1.917 GB, free: 472 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001113/3.705, allocations: 162.5 kB / 1.917 GB, free: 471.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009043/3.714, allocations: 9.594 MB / 1.926 GB, free: 465.6 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/3.714, allocations: 12.78 kB / 1.926 GB, free: 465.6 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.