Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Basic.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Basic") translateModel(IBPSA.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009318/0.0009318, allocations: 170.4 kB / 16.76 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4471/0.4471, allocations: 86.27 MB / 103.8 MB, free: 14.57 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 348.4 MB, free: 4.895 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000847/0.000847, allocations: 106.3 kB / 420.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003984, allocations: 16 kB / 0.4901 GB, free: 8.008 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3442, allocations: 71.02 MB / 0.5594 GB, free: 43.71 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.96/1.304, allocations: 412.7 MB / 0.9625 GB, free: 219.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/1.305, allocations: 96.83 kB / 0.9626 GB, free: 219.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 25.31/26.61, allocations: 6.439 GB / 7.402 GB, free: 46.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.975e-06/26.61, allocations: 0 / 7.402 GB, free: 46.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.004407/26.62, allocations: 437.8 kB / 7.402 GB, free: 46.1 MB / 0.8698 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.08484/26.7, allocations: 20.42 MB / 7.422 GB, free: 38.37 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/26.7, allocations: 10.12 kB / 7.422 GB, free: 38.37 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01665/26.72, allocations: 2.194 MB / 7.424 GB, free: 37.39 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07874/26.8, allocations: 21.95 MB / 7.446 GB, free: 33.98 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001338/26.8, allocations: 0.6877 MB / 7.446 GB, free: 33.96 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006567/26.81, allocations: 0.9688 MB / 7.447 GB, free: 33.95 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04779/26.86, allocations: 15.99 MB / 7.463 GB, free: 33.11 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007071/26.86, allocations: 21.75 kB / 7.463 GB, free: 33.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005066/26.86, allocations: 331.6 kB / 7.463 GB, free: 33.09 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005339/26.86, allocations: 367.6 kB / 7.463 GB, free: 33.07 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04456/26.91, allocations: 20.14 MB / 7.483 GB, free: 21.19 MB / 0.8698 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.097/28, allocations: 78.49 MB / 7.56 GB, free: 31.01 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02463/28.03, allocations: 12.81 MB / 7.572 GB, free: 30.53 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01775/28.05, allocations: 9.81 MB / 7.582 GB, free: 30.41 MB / 0.8698 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.09939/28.15, allocations: 34.35 MB / 7.615 GB, free: 22.11 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02295/28.17, allocations: 9.691 MB / 7.625 GB, free: 21.94 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04899/28.22, allocations: 15.06 MB / 7.64 GB, free: 21.94 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=638): time 7.825e-05/28.22, allocations: 0 / 7.64 GB, free: 21.94 MB / 0.8698 GB Notification: Performance of matching and sorting (n=956): time 1.997/30.21, allocations: 271.7 MB / 7.905 GB, free: 79.11 MB / 0.9011 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.02636/30.24, allocations: 7.113 MB / 7.912 GB, free: 78.6 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04516/30.29, allocations: 15.75 MB / 7.927 GB, free: 77.85 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.006095/30.29, allocations: 256.6 kB / 7.927 GB, free: 77.82 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.01448/30.31, allocations: 7.197 MB / 7.934 GB, free: 77.54 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0127/30.32, allocations: 3.381 MB / 7.938 GB, free: 77.28 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00674/30.33, allocations: 218.5 kB / 7.938 GB, free: 77.28 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.001413/30.33, allocations: 0.7523 MB / 7.939 GB, free: 76.96 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03835/30.37, allocations: 18.71 MB / 7.957 GB, free: 76.93 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04591/30.41, allocations: 21.82 MB / 7.978 GB, free: 73.76 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08533/30.5, allocations: 35.57 MB / 8.013 GB, free: 71.84 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003938/30.5, allocations: 11.66 kB / 8.013 GB, free: 71.84 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.5933/31.09, allocations: 149.6 MB / 8.159 GB, free: 17.49 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001271/31.09, allocations: 1.574 MB / 8.161 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002023/31.09, allocations: 44 kB / 8.161 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589/32.68, allocations: 154.2 MB / 8.311 GB, free: 85.64 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02001/32.7, allocations: 3.556 MB / 8.315 GB, free: 85.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1243/32.83, allocations: 57.99 MB / 8.371 GB, free: 78.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09016/32.92, allocations: 6.693 MB / 8.378 GB, free: 77.15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009403/32.93, allocations: 1.393 MB / 8.379 GB, free: 77.15 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/32.93, allocations: 4.906 kB / 8.379 GB, free: 77.15 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.608/34.53, allocations: 147.6 MB / 8.524 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002808/34.53, allocations: 44.56 kB / 8.524 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5961/35.13, allocations: 153.8 MB / 8.674 GB, free: 101.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01828/35.15, allocations: 3.511 MB / 8.677 GB, free: 101.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1333/35.28, allocations: 64.68 MB / 8.74 GB, free: 96.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09361/35.38, allocations: 6.68 MB / 8.747 GB, free: 95.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008406/35.38, allocations: 1.345 MB / 8.748 GB, free: 95.86 MB / 0.948 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.02082/35.41, allocations: 4.028 MB / 8.752 GB, free: 95.67 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01016/35.42, allocations: 1.494 MB / 8.754 GB, free: 95.67 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2262/35.64, allocations: 64.8 MB / 8.817 GB, free: 52.49 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221/36.86, allocations: 71.74 MB / 8.887 GB, free: 99.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003062/36.86, allocations: 29.88 kB / 8.887 GB, free: 99.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2279/37.09, allocations: 70.97 MB / 8.956 GB, free: 99.17 MB / 0.948 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.3408/37.43, allocations: 149.6 MB / 9.102 GB, free: 92.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001599/37.43, allocations: 0 / 9.102 GB, free: 92.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0117/37.44, allocations: 1.955 MB / 9.104 GB, free: 92.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3159/37.76, allocations: 93.84 MB / 9.196 GB, free: 42.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005008/37.77, allocations: 0.6363 MB / 9.196 GB, free: 41.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1/38.87, allocations: 69.06 MB / 9.264 GB, free: 114 MB / 0.948 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.02017/38.89, allocations: 6.16 MB / 9.27 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2782/39.16, allocations: 101.7 MB / 9.369 GB, free: 112.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02573/39.19, allocations: 6.564 MB / 9.376 GB, free: 112.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.011/39.2, allocations: 235.1 kB / 9.376 GB, free: 112.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05493/39.26, allocations: 3.637 MB / 9.379 GB, free: 112.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006777/39.26, allocations: 0.9634 MB / 9.38 GB, free: 112.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004876/39.27, allocations: 0.7101 MB / 9.381 GB, free: 112.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0327/39.3, allocations: 10.79 MB / 9.392 GB, free: 111.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.001e-06/39.3, allocations: 0 / 9.392 GB, free: 111.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.1175/39.42, allocations: 43.56 MB / 9.434 GB, free: 100.6 MB / 0.948 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.01423/39.43, allocations: 5.435 MB / 9.439 GB, free: 96.54 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.1597/39.59, allocations: 78.36 MB / 9.516 GB, free: 48.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.78e-05/39.59, allocations: 4 kB / 9.516 GB, free: 48.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.09439/39.69, allocations: 46.46 MB / 9.561 GB, free: 14.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.9673/40.65, allocations: 7.534 MB / 9.569 GB, free: 118 MB / 0.948 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]