Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.881/1.881, allocations: 297.8 MB / 313.7 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009962/0.0009965, allocations: 180.3 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.2 MB / 0.6626 GB, free: 4.348 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007934/0.0007932, allocations: 94.33 kB / 0.7808 GB, free: 43.63 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000574/0.0005743, allocations: 12 kB / 0.9088 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7001/0.7007, allocations: 120.3 MB / 1.026 GB, free: 56.48 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/1.702, allocations: 453.9 MB / 1.47 GB, free: 121 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/1.702, allocations: 99.11 kB / 1.47 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 27.38/29.08, allocations: 6.439 GB / 7.909 GB, free: 86.55 MB / 1.245 GB Notification: Performance of FrontEnd: time 2.745e-06/29.08, allocations: 0 / 7.909 GB, free: 86.55 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.004125/29.09, allocations: 436 kB / 7.909 GB, free: 86.55 MB / 1.245 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.08489/29.17, allocations: 20.42 MB / 7.929 GB, free: 82.54 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/29.17, allocations: 11.75 kB / 7.929 GB, free: 82.54 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01679/29.19, allocations: 2.193 MB / 7.931 GB, free: 81.57 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07342/29.26, allocations: 21.94 MB / 7.953 GB, free: 78.51 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001252/29.26, allocations: 0.6879 MB / 7.953 GB, free: 78.49 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005793/29.27, allocations: 0.9747 MB / 7.954 GB, free: 78.48 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04639/29.32, allocations: 15.99 MB / 7.97 GB, free: 77.69 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000602/29.32, allocations: 11.28 kB / 7.97 GB, free: 77.68 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005174/29.32, allocations: 330.4 kB / 7.97 GB, free: 77.68 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007172/29.32, allocations: 368.6 kB / 7.971 GB, free: 77.67 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05631/29.38, allocations: 20.14 MB / 7.99 GB, free: 77.61 MB / 1.245 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.1644/29.54, allocations: 78.5 MB / 8.067 GB, free: 45.79 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02703/29.57, allocations: 12.81 MB / 8.079 GB, free: 45.31 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01895/29.59, allocations: 9.809 MB / 8.089 GB, free: 45.2 MB / 1.245 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.09437/29.68, allocations: 34.36 MB / 8.122 GB, free: 36.57 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02126/29.71, allocations: 9.691 MB / 8.132 GB, free: 36.4 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04667/29.75, allocations: 15.07 MB / 8.147 GB, free: 36.14 MB / 1.245 GB Notification: Performance of pre-optimization done (n=638): time 8.948e-05/29.75, allocations: 0 / 8.147 GB, free: 36.14 MB / 1.245 GB Notification: Performance of matching and sorting (n=956): time 2.122/31.87, allocations: 271.6 MB / 8.412 GB, free: 92.61 MB / 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! Notification: Performance of inlineWhenForInitialization (initialization): time 0.02889/31.9, allocations: 7.124 MB / 8.419 GB, free: 92.1 MB / 1.261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04382/31.95, allocations: 15.75 MB / 8.434 GB, free: 91.36 MB / 1.261 GB Notification: Performance of collectPreVariables (initialization): time 0.005978/31.95, allocations: 258.5 kB / 8.434 GB, free: 91.32 MB / 1.261 GB Notification: Performance of collectInitialEqns (initialization): time 0.01419/31.97, allocations: 7.194 MB / 8.442 GB, free: 91.05 MB / 1.261 GB Notification: Performance of collectInitialBindings (initialization): time 0.01284/31.98, allocations: 3.379 MB / 8.445 GB, free: 91.05 MB / 1.261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00561/31.99, allocations: 212.8 kB / 8.445 GB, free: 91.05 MB / 1.261 GB Notification: Performance of setup shared object (initialization): time 0.001535/31.99, allocations: 0.758 MB / 8.446 GB, free: 90.73 MB / 1.261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03368/32.02, allocations: 18.71 MB / 8.464 GB, free: 90.71 MB / 1.261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03758/32.06, allocations: 21.82 MB / 8.485 GB, free: 87.53 MB / 1.261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07323/32.13, allocations: 35.57 MB / 8.52 GB, free: 85.61 MB / 1.261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002314/32.13, allocations: 13.31 kB / 8.52 GB, free: 85.61 MB / 1.261 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.5972/32.73, allocations: 149.7 MB / 8.666 GB, free: 83.3 MB / 1.261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001235/32.73, allocations: 1.57 MB / 8.668 GB, free: 81.34 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.643e-05/32.73, allocations: 45.03 kB / 8.668 GB, free: 81.34 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5688/33.3, allocations: 154.2 MB / 8.818 GB, free: 6.18 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02078/33.32, allocations: 3.563 MB / 8.822 GB, free: 2.797 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395/34.72, allocations: 57.98 MB / 8.878 GB, free: 131.4 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09407/34.81, allocations: 6.699 MB / 8.885 GB, free: 131.4 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008899/34.82, allocations: 1.393 MB / 8.886 GB, free: 131.4 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/34.82, allocations: 5.469 kB / 8.886 GB, free: 131.4 MB / 1.307 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6002/35.42, allocations: 147.6 MB / 9.031 GB, free: 129.8 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002792/35.42, allocations: 47.41 kB / 9.031 GB, free: 129.8 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.574/35.99, allocations: 153.8 MB / 9.181 GB, free: 115.2 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01771/36.01, allocations: 3.51 MB / 9.184 GB, free: 111.9 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1199/36.13, allocations: 64.69 MB / 9.247 GB, free: 64.41 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0901/36.22, allocations: 6.68 MB / 9.254 GB, free: 57.98 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008852/36.23, allocations: 1.344 MB / 9.255 GB, free: 56.72 MB / 1.307 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (992): * Single equations (assignments): 974 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {33 119,33 119} Notification: Performance of prepare postOptimizeDAE: time 0.02626/36.26, allocations: 4.03 MB / 9.259 GB, free: 54.28 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01058/36.27, allocations: 1.496 MB / 9.261 GB, free: 53.58 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2243/36.49, allocations: 64.81 MB / 9.324 GB, free: 1.422 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572/38.06, allocations: 71.73 MB / 9.394 GB, free: 129.1 MB / 1.323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003754/38.06, allocations: 30.05 kB / 9.394 GB, free: 129.1 MB / 1.323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2207/38.28, allocations: 70.98 MB / 9.463 GB, free: 128.3 MB / 1.323 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.3445/38.63, allocations: 149.6 MB / 9.609 GB, free: 122.1 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000149/38.63, allocations: 3.375 kB / 9.609 GB, free: 122.1 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01135/38.64, allocations: 1.954 MB / 9.611 GB, free: 122.1 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.325/38.97, allocations: 93.86 MB / 9.703 GB, free: 118.5 MB / 1.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005535/38.97, allocations: 0.6312 MB / 9.704 GB, free: 118.4 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1151/39.09, allocations: 69.05 MB / 9.771 GB, free: 67.61 MB / 1.323 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! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01762/39.1, allocations: 6.177 MB / 9.777 GB, free: 62.56 MB / 1.323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.565/40.67, allocations: 101.7 MB / 9.876 GB, free: 134.7 MB / 1.323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02842/40.7, allocations: 6.567 MB / 9.883 GB, free: 134.6 MB / 1.323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01364/40.71, allocations: 238.4 kB / 9.883 GB, free: 134.6 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05602/40.77, allocations: 3.636 MB / 9.887 GB, free: 134.6 MB / 1.323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007795/40.78, allocations: 0.9659 MB / 9.887 GB, free: 134.6 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00676/40.78, allocations: 0.7072 MB / 9.888 GB, free: 134.6 MB / 1.323 GB Notification: Performance of sorting global known variables: time 0.0365/40.82, allocations: 10.79 MB / 9.899 GB, free: 134.2 MB / 1.323 GB Notification: Performance of sort global known variables: time 9.92e-07/40.82, allocations: 2.656 kB / 9.899 GB, free: 134.2 MB / 1.323 GB Notification: Performance of remove unused functions: time 0.1235/40.94, allocations: 43.55 MB / 9.941 GB, free: 134.2 MB / 1.323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[32],$STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (633): * Single equations (assignments): 610 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 3 {33 156,1 1,62 218} Notification: Performance of Backend phase and start with SimCode phase: time 0.01698/40.96, allocations: 5.438 MB / 9.947 GB, free: 132.3 MB / 1.323 GB Notification: Performance of simCode: created initialization part: time 0.1625/41.12, allocations: 78.36 MB / 10.02 GB, free: 131 MB / 1.323 GB Notification: Performance of simCode: created event and clocks part: time 1.831e-05/41.12, allocations: 2.781 kB / 10.02 GB, free: 131 MB / 1.323 GB Notification: Performance of simCode: created simulation system equations: time 0.09501/41.22, allocations: 46.47 MB / 10.07 GB, free: 128.1 MB / 1.323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08324/41.3, allocations: 7.477 MB / 10.08 GB, free: 127.7 MB / 1.323 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4558:9-4558:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:762:5-762:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]