Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.194/2.194, allocations: 391.2 MB / 407 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 192.2 kB / 499.1 MB, free: 4.672 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 107.6 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 54.42 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2263, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 0.7985/1.025, allocations: 353.2 MB / 1.563 GB, free: 21.41 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.09555/1.12, allocations: 73.11 MB / 1.634 GB, free: 424 kB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01914/1.14, allocations: 401.5 kB / 1.635 GB, free: 20 kB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.01468/1.154, allocations: 3.865 MB / 1.639 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.03262/1.187, allocations: 10.3 MB / 1.649 GB, free: 1.805 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.01899/1.206, allocations: 7.149 MB / 1.656 GB, free: 10.72 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.04401/1.25, allocations: 38.5 MB / 1.693 GB, free: 4.102 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02484/1.275, allocations: 14.32 MB / 1.707 GB, free: 5.645 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02622/1.301, allocations: 11.11 MB / 1.718 GB, free: 10.49 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01732/1.319, allocations: 9.852 MB / 1.728 GB, free: 0.5938 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.004593/1.323, allocations: 0.6133 MB / 1.728 GB, free: 15.98 MB / 1.073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01374/1.337, allocations: 3.755 MB / 1.732 GB, free: 12.22 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.006079/1.343, allocations: 3.163 MB / 1.735 GB, free: 9.043 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.01825/1.361, allocations: 6.907 MB / 1.742 GB, free: 2.098 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.03173/1.393, allocations: 18.81 MB / 1.76 GB, free: 15.23 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/1.393, allocations: 4 kB / 1.76 GB, free: 15.23 MB / 1.104 GB Notification: Performance of FrontEnd: time 1.834e-06/1.393, allocations: 0 / 1.76 GB, free: 15.23 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.0008157/1.394, allocations: 0 / 1.76 GB, free: 15.23 MB / 1.104 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.04119/1.435, allocations: 15.74 MB / 1.776 GB, free: 15.34 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.435, allocations: 15.98 kB / 1.776 GB, free: 15.33 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/1.447, allocations: 2.469 MB / 1.778 GB, free: 12.84 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02708/1.474, allocations: 11.78 MB / 1.789 GB, free: 0.9766 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001722/1.476, allocations: 0.7403 MB / 1.79 GB, free: 240 kB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002504/1.479, allocations: 0.6836 MB / 1.791 GB, free: 15.55 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01993/1.499, allocations: 9.071 MB / 1.8 GB, free: 6.152 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/1.499, allocations: 15.88 kB / 1.8 GB, free: 6.137 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001053/1.5, allocations: 252 kB / 1.8 GB, free: 5.891 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/1.5, allocations: 152 kB / 1.8 GB, free: 5.742 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01734/1.517, allocations: 7.584 MB / 1.807 GB, free: 14.15 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 removeSimpleEquations (simulation): time 0.07672/1.594, allocations: 50.38 MB / 1.857 GB, free: 8.031 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/1.605, allocations: 5.673 MB / 1.862 GB, free: 2.57 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007189/1.612, allocations: 3.996 MB / 1.866 GB, free: 14.56 MB / 1.214 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.03178/1.644, allocations: 13.32 MB / 1.879 GB, free: 0.8047 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4981/2.142, allocations: 3.801 MB / 1.883 GB, free: 472.7 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008025/2.15, allocations: 1.652 MB / 1.884 GB, free: 472.6 MB / 1.214 GB Notification: Performance of pre-optimization done (n=320): time 1.558e-05/2.15, allocations: 0 / 1.884 GB, free: 472.6 MB / 1.214 GB Notification: Performance of matching and sorting (n=506): time 0.1625/2.313, allocations: 53.86 MB / 1.937 GB, free: 451.7 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/2.313, allocations: 111.8 kB / 1.937 GB, free: 451.7 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01731/2.33, allocations: 12.79 MB / 1.95 GB, free: 440.1 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.00134/2.332, allocations: 165.7 kB / 1.95 GB, free: 439.9 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.003938/2.336, allocations: 6.164 MB / 1.956 GB, free: 434.1 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.001605/2.337, allocations: 1.71 MB / 1.957 GB, free: 432.4 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002364/2.34, allocations: 1.684 MB / 1.959 GB, free: 430.7 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 5.954e-05/2.34, allocations: 309.1 kB / 1.959 GB, free: 430.4 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01036/2.35, allocations: 5.946 MB / 1.965 GB, free: 424.4 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01193/2.362, allocations: 8.488 MB / 1.974 GB, free: 414.8 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02163/2.384, allocations: 13.73 MB / 1.987 GB, free: 400.2 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.924e-05/2.384, allocations: 16 kB / 1.987 GB, free: 400.2 MB / 1.214 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.03863/2.422, allocations: 18.83 MB / 2.005 GB, free: 381.3 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 6.854e-05/2.422, allocations: 53.7 kB / 2.005 GB, free: 381.2 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.166e-05/2.423, allocations: 60 kB / 2.005 GB, free: 381.2 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01383/2.436, allocations: 4.787 MB / 2.01 GB, free: 376.4 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/2.447, allocations: 2.051 MB / 2.012 GB, free: 374.3 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009592/2.456, allocations: 10.91 MB / 2.023 GB, free: 363.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01226/2.469, allocations: 1.222 MB / 2.024 GB, free: 362 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/2.47, allocations: 467.6 kB / 2.024 GB, free: 361.5 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01342/2.483, allocations: 8.196 MB / 2.032 GB, free: 353.3 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01092/2.494, allocations: 8.051 MB / 2.04 GB, free: 344.2 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02017/2.514, allocations: 12.84 MB / 2.053 GB, free: 330.5 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.874e-05/2.514, allocations: 23.94 kB / 2.053 GB, free: 330.4 MB / 1.214 GB Notification: Performance of matching and sorting (n=953) (initialization_lambda0): time 0.03401/2.548, allocations: 17.38 MB / 2.07 GB, free: 313 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 5.742e-05/2.548, allocations: 62.94 kB / 2.07 GB, free: 312.9 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.465e-05/2.549, allocations: 64.45 kB / 2.07 GB, free: 312.8 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01044/2.559, allocations: 4.357 MB / 2.074 GB, free: 308.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008842/2.568, allocations: 2.028 MB / 2.076 GB, free: 306.4 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01811/2.586, allocations: 15.35 MB / 2.091 GB, free: 290.8 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01236/2.598, allocations: 1.242 MB / 2.092 GB, free: 289.5 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001501/2.6, allocations: 439.7 kB / 2.093 GB, free: 289.1 MB / 1.214 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.001867/2.602, allocations: 0.6105 MB / 2.093 GB, free: 288.5 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003156/2.605, allocations: 1.211 MB / 2.095 GB, free: 287.2 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03154/2.636, allocations: 15.1 MB / 2.109 GB, free: 272.1 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.553e-05/2.637, allocations: 67.98 kB / 2.109 GB, free: 272 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/2.637, allocations: 0 / 2.109 GB, free: 272 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02458/2.661, allocations: 12.41 MB / 2.122 GB, free: 259.5 MB / 1.214 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.04628/2.707, allocations: 26.49 MB / 2.147 GB, free: 232.8 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-05/2.708, allocations: 4 kB / 2.147 GB, free: 232.7 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006019/2.714, allocations: 1.256 MB / 2.149 GB, free: 231.5 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008894/2.722, allocations: 3.279 MB / 2.152 GB, free: 228.2 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008773/2.723, allocations: 163.9 kB / 2.152 GB, free: 228.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007295/2.731, allocations: 9.585 MB / 2.161 GB, free: 218.3 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/2.731, allocations: 15.97 kB / 2.161 GB, free: 218.2 MB / 1.214 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.