Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified1") translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 171.5 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4626/0.4626, allocations: 86.27 MB / 103.8 MB, free: 14.56 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.366/1.366, allocations: 223.2 MB / 348.4 MB, free: 5.023 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.0008416/0.0008416, allocations: 98.62 kB / 420.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004039, allocations: 8 kB / 0.4901 GB, free: 8.016 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3388, allocations: 71.02 MB / 0.5594 GB, free: 43.74 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9488/1.288, allocations: 412.9 MB / 0.9626 GB, free: 219.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/1.288, allocations: 101.1 kB / 0.9627 GB, free: 219.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 35.8/37.08, allocations: 8.712 GB / 9.675 GB, free: 46.72 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.779e-06/37.08, allocations: 0 / 9.675 GB, free: 46.72 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.005035/37.09, allocations: 432 kB / 9.675 GB, free: 46.62 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.08696/37.18, allocations: 20.41 MB / 9.695 GB, free: 38.89 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/37.18, allocations: 6.875 kB / 9.695 GB, free: 38.89 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01653/37.19, allocations: 2.185 MB / 9.697 GB, free: 37.91 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07566/37.27, allocations: 21.88 MB / 9.719 GB, free: 32.48 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001237/37.27, allocations: 0.6797 MB / 9.719 GB, free: 31.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007452/37.28, allocations: 0.9568 MB / 9.72 GB, free: 30.85 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05194/37.33, allocations: 15.86 MB / 9.736 GB, free: 18.68 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009985/37.33, allocations: 19.16 kB / 9.736 GB, free: 18.66 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007183/37.34, allocations: 335.9 kB / 9.736 GB, free: 18.34 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004851/37.34, allocations: 373 kB / 9.736 GB, free: 18 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9831/38.32, allocations: 20.04 MB / 9.756 GB, free: 56.13 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 0.1782/38.5, allocations: 79.32 MB / 9.834 GB, free: 23.95 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02545/38.52, allocations: 12.21 MB / 9.845 GB, free: 23.49 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01714/38.54, allocations: 9.321 MB / 9.855 GB, free: 23.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.08996/38.63, allocations: 33.77 MB / 9.888 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02173/38.65, allocations: 9.468 MB / 9.897 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04998/38.7, allocations: 15.06 MB / 9.911 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=614): time 8.7e-05/38.7, allocations: 0 / 9.911 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=908): time 1.984/40.69, allocations: 262 MB / 10.17 GB, free: 83.07 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.02522/40.71, allocations: 7.022 MB / 10.17 GB, free: 82.56 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04389/40.76, allocations: 15.81 MB / 10.19 GB, free: 81.82 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.006131/40.76, allocations: 241.7 kB / 10.19 GB, free: 81.79 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.01253/40.78, allocations: 7.194 MB / 10.2 GB, free: 81.55 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.01108/40.79, allocations: 3.224 MB / 10.2 GB, free: 81.21 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007443/40.79, allocations: 207.3 kB / 10.2 GB, free: 81.21 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.001517/40.8, allocations: 0.7502 MB / 10.2 GB, free: 80.89 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03523/40.83, allocations: 18.49 MB / 10.22 GB, free: 80.86 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03826/40.87, allocations: 21.55 MB / 10.24 GB, free: 77.68 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0736/40.94, allocations: 35.22 MB / 10.27 GB, free: 75.57 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002071/40.94, allocations: 16 kB / 10.27 GB, free: 75.57 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 0.5893/41.53, allocations: 147.6 MB / 10.42 GB, free: 9.289 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001334/41.53, allocations: 1.717 MB / 10.42 GB, free: 7.031 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/41.53, allocations: 53.59 kB / 10.42 GB, free: 6.98 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548/43.08, allocations: 149.3 MB / 10.57 GB, free: 85.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02/43.1, allocations: 3.743 MB / 10.57 GB, free: 85.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.119/43.22, allocations: 55.63 MB / 10.62 GB, free: 78.24 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08992/43.31, allocations: 6.744 MB / 10.63 GB, free: 77.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0105/43.32, allocations: 1.39 MB / 10.63 GB, free: 77.18 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/43.32, allocations: 4.5 kB / 10.63 GB, free: 77.18 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.522/44.84, allocations: 146 MB / 10.77 GB, free: 101 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002605/44.84, allocations: 48.69 kB / 10.77 GB, free: 101 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5816/45.43, allocations: 148.5 MB / 10.92 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01932/45.45, allocations: 3.7 MB / 10.92 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1241/45.57, allocations: 59.43 MB / 10.98 GB, free: 96.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08781/45.66, allocations: 6.71 MB / 10.99 GB, free: 95.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007715/45.66, allocations: 1.353 MB / 10.99 GB, free: 95.21 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (1064): * Single equations (assignments): 1046 * 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 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.0214/45.69, allocations: 4.008 MB / 10.99 GB, free: 95.01 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0116/45.7, allocations: 1.484 MB / 10.99 GB, free: 95.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.216/45.91, allocations: 62.8 MB / 11.06 GB, free: 63.97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125/47.04, allocations: 69.84 MB / 11.12 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002238/47.04, allocations: 34.92 kB / 11.12 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2199/47.26, allocations: 69.09 MB / 11.19 GB, free: 99.28 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.3299/47.59, allocations: 146.4 MB / 11.33 GB, free: 93.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001286/47.59, allocations: 2.875 kB / 11.33 GB, free: 93.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01177/47.6, allocations: 2.043 MB / 11.34 GB, free: 93.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3163/47.92, allocations: 91.47 MB / 11.43 GB, free: 53.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004128/47.92, allocations: 0.6187 MB / 11.43 GB, free: 53.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9593/48.88, allocations: 66.82 MB / 11.49 GB, free: 114.4 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.02327/48.9, allocations: 6.351 MB / 11.5 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2707/49.17, allocations: 99.18 MB / 11.59 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02286/49.2, allocations: 6.453 MB / 11.6 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01085/49.21, allocations: 228.4 kB / 11.6 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05275/49.26, allocations: 3.658 MB / 11.6 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005864/49.27, allocations: 0.9336 MB / 11.61 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004732/49.27, allocations: 0.6878 MB / 11.61 GB, free: 112.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.02782/49.3, allocations: 10.81 MB / 11.62 GB, free: 112.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.62e-07/49.3, allocations: 1.031 kB / 11.62 GB, free: 112.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.1194/49.42, allocations: 43.52 MB / 11.66 GB, free: 104.7 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 (657): * Single equations (assignments): 634 * 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 {36 81,1 1,66 190} Notification: Performance of Backend phase and start with SimCode phase: time 0.01528/49.43, allocations: 5.433 MB / 11.66 GB, free: 100.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.1462/49.58, allocations: 77.9 MB / 11.74 GB, free: 53.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/49.58, allocations: 2.062 kB / 11.74 GB, free: 53.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.08717/49.67, allocations: 46.23 MB / 11.79 GB, free: 20.41 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08066/49.75, allocations: 8.061 MB / 11.79 GB, free: 16.5 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]