Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.175/2.175, allocations: 391.2 MB / 407 MB, free: 10.82 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.001527/0.001527, allocations: 194.7 kB / 499.1 MB, free: 4.617 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.397/1.397, allocations: 222.9 MB / 0.7948 GB, free: 15.74 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.001256/0.001256, allocations: 118.7 kB / 0.9329 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 54.28 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2503, allocations: 140.6 MB / 1.218 GB, free: 117.1 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 0.7949/1.045, allocations: 353.1 MB / 1.563 GB, free: 21.32 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.09706/1.142, allocations: 73.11 MB / 1.634 GB, free: 324 kB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02025/1.163, allocations: 397.5 kB / 1.635 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.01656/1.179, allocations: 4.355 MB / 1.639 GB, free: 11.55 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.04147/1.221, allocations: 12.14 MB / 1.651 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.02362/1.244, allocations: 8.564 MB / 1.659 GB, free: 6.883 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.05321/1.298, allocations: 45.2 MB / 1.703 GB, free: 9.559 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02872/1.326, allocations: 16.34 MB / 1.719 GB, free: 9.074 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03471/1.361, allocations: 13.84 MB / 1.733 GB, free: 11.18 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02831/1.39, allocations: 14.58 MB / 1.747 GB, free: 12.55 MB / 1.089 GB Notification: Performance of NFPackage.collectConstants: time 0.007505/1.397, allocations: 1.133 MB / 1.748 GB, free: 11.41 MB / 1.089 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01953/1.417, allocations: 4.999 MB / 1.753 GB, free: 6.406 MB / 1.089 GB Notification: Performance of NFScalarize.scalarize: time 0.009098/1.426, allocations: 4.57 MB / 1.757 GB, free: 1.82 MB / 1.089 GB Notification: Performance of NFVerifyModel.verify: time 0.0207/1.447, allocations: 8.738 MB / 1.766 GB, free: 9.035 MB / 1.104 GB Notification: Performance of NFConvertDAE.convert: time 0.03859/1.485, allocations: 25.38 MB / 1.791 GB, free: 15.58 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/1.485, allocations: 0 / 1.791 GB, free: 15.58 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.603e-06/1.485, allocations: 0 / 1.791 GB, free: 15.58 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0008435/1.486, allocations: 0 / 1.791 GB, free: 15.58 MB / 1.135 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.05607/1.542, allocations: 19.85 MB / 1.81 GB, free: 11.56 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.542, allocations: 11.98 kB / 1.81 GB, free: 11.55 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01393/1.556, allocations: 2.58 MB / 1.813 GB, free: 8.949 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03528/1.591, allocations: 14.18 MB / 1.827 GB, free: 10.64 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001453/1.593, allocations: 0.6994 MB / 1.827 GB, free: 9.938 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004638/1.598, allocations: 0.785 MB / 1.828 GB, free: 9.152 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03757/1.635, allocations: 15.03 MB / 1.843 GB, free: 9.887 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003933/1.636, allocations: 11.94 kB / 1.843 GB, free: 9.875 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005789/1.641, allocations: 292 kB / 1.843 GB, free: 9.59 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002842/1.642, allocations: 183.9 kB / 1.843 GB, free: 9.41 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03973/1.682, allocations: 19.54 MB / 1.862 GB, free: 5.844 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 preOpt removeSimpleEquations (simulation): time 1.027/2.708, allocations: 76.31 MB / 1.937 GB, free: 425.5 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01715/2.726, allocations: 10.77 MB / 1.947 GB, free: 419.4 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01351/2.739, allocations: 9.138 MB / 1.956 GB, free: 414.2 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.06764/2.807, allocations: 31.58 MB / 1.987 GB, free: 390.5 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01563/2.823, allocations: 8.94 MB / 1.996 GB, free: 381.5 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02684/2.849, allocations: 8.474 MB / 2.004 GB, free: 373.8 MB / 1.214 GB Notification: Performance of pre-optimization done (n=421): time 3.957e-05/2.85, allocations: 3.938 kB / 2.004 GB, free: 373.8 MB / 1.214 GB Notification: Performance of matching and sorting (n=605): time 0.8204/3.67, allocations: 183.5 MB / 2.183 GB, free: 190.3 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.755e-05/3.67, allocations: 116.2 kB / 2.183 GB, free: 190.2 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02507/3.695, allocations: 13.33 MB / 2.196 GB, free: 177 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.003766/3.699, allocations: 181.7 kB / 2.197 GB, free: 176.8 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.00758/3.707, allocations: 6.534 MB / 2.203 GB, free: 170.2 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.004816/3.711, allocations: 2.045 MB / 2.205 GB, free: 168.2 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01087/3.722, allocations: 2.474 MB / 2.207 GB, free: 165.7 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 4.269e-05/3.722, allocations: 305.1 kB / 2.208 GB, free: 165.4 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01743/3.74, allocations: 10.17 MB / 2.218 GB, free: 155.2 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02008/3.76, allocations: 12.57 MB / 2.23 GB, free: 141.6 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03933/3.799, allocations: 22.41 MB / 2.252 GB, free: 118.4 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.29e-05/3.799, allocations: 16 kB / 2.252 GB, free: 118.4 MB / 1.214 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 0.5609/4.36, allocations: 112.8 MB / 2.362 GB, free: 5.523 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/4.361, allocations: 57.69 kB / 2.362 GB, free: 5.461 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.578e-05/4.361, allocations: 55.94 kB / 2.362 GB, free: 5.406 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079/5.44, allocations: 117.9 MB / 2.477 GB, free: 378.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01092/5.451, allocations: 2.076 MB / 2.479 GB, free: 376.2 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.146/5.597, allocations: 77.54 MB / 2.555 GB, free: 298.6 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01754/5.615, allocations: 1.253 MB / 2.556 GB, free: 297.4 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003828/5.618, allocations: 0.7807 MB / 2.557 GB, free: 296.6 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02459/5.643, allocations: 12.64 MB / 2.569 GB, free: 283.9 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0187/5.662, allocations: 12.13 MB / 2.581 GB, free: 270.8 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0343/5.696, allocations: 21.52 MB / 2.602 GB, free: 248.5 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.061e-05/5.696, allocations: 16 kB / 2.602 GB, free: 248.4 MB / 1.214 GB Notification: Performance of matching and sorting (n=1029) (initialization_lambda0): time 0.545/6.241, allocations: 111.3 MB / 2.711 GB, free: 137.8 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/6.241, allocations: 57.64 kB / 2.711 GB, free: 137.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/6.242, allocations: 52 kB / 2.711 GB, free: 137.6 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075/7.317, allocations: 117.6 MB / 2.826 GB, free: 410.8 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01044/7.327, allocations: 2.064 MB / 2.828 GB, free: 410.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1617/7.489, allocations: 81.82 MB / 2.908 GB, free: 387.7 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01825/7.507, allocations: 1.277 MB / 2.909 GB, free: 387.6 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003828/7.511, allocations: 0.7559 MB / 2.91 GB, free: 387.3 MB / 1.214 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.006188/7.518, allocations: 0.6243 MB / 2.91 GB, free: 386.8 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007103/7.525, allocations: 1.295 MB / 2.912 GB, free: 386.8 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2115/7.736, allocations: 48.55 MB / 2.959 GB, free: 349.9 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001165/7.736, allocations: 75.94 kB / 2.959 GB, free: 349.8 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000214/7.737, allocations: 32 kB / 2.959 GB, free: 349.8 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.18/7.917, allocations: 42.91 MB / 3.001 GB, free: 307 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.2371/8.154, allocations: 63.54 MB / 3.063 GB, free: 243.5 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-05/8.154, allocations: 12 kB / 3.063 GB, free: 243.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007611/8.162, allocations: 1.413 MB / 3.065 GB, free: 242.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1817/8.343, allocations: 40.88 MB / 3.104 GB, free: 201.4 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002447/8.346, allocations: 203.9 kB / 3.105 GB, free: 201.2 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06494/8.411, allocations: 35.78 MB / 3.14 GB, free: 165.3 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/8.411, allocations: 8.031 kB / 3.14 GB, free: 165.3 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.