Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified2") translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009473/0.0009473, allocations: 173.2 kB / 16.76 MB, free: 4.945 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4568/0.4568, 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.374/1.374, allocations: 223.2 MB / 348.4 MB, free: 5.02 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.0007934/0.0007934, allocations: 96.38 kB / 420.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004048, allocations: 12 kB / 0.4901 GB, free: 8 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2915, allocations: 71.01 MB / 0.5594 GB, free: 43.81 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8859/1.177, allocations: 413 MB / 0.9628 GB, free: 219.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/1.178, allocations: 93.52 kB / 0.9629 GB, free: 219.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 35.86/37.04, allocations: 8.713 GB / 9.676 GB, free: 47.06 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.168e-06/37.04, allocations: 4 kB / 9.676 GB, free: 47.06 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.005163/37.04, allocations: 418.7 kB / 9.676 GB, free: 46.97 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.08881/37.13, allocations: 20.41 MB / 9.696 GB, free: 39.24 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/37.13, allocations: 21.77 kB / 9.696 GB, free: 39.23 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01557/37.15, allocations: 2.184 MB / 9.698 GB, free: 38.26 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07483/37.22, allocations: 21.89 MB / 9.72 GB, free: 31.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0012/37.22, allocations: 0.6836 MB / 9.72 GB, free: 31.25 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007057/37.23, allocations: 0.9528 MB / 9.721 GB, free: 30.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04922/37.28, allocations: 15.85 MB / 9.737 GB, free: 18.13 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006696/37.28, allocations: 23.72 kB / 9.737 GB, free: 18.11 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005111/37.28, allocations: 332 kB / 9.737 GB, free: 17.78 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004283/37.28, allocations: 359.7 kB / 9.737 GB, free: 17.45 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9836/38.27, allocations: 20.06 MB / 9.757 GB, free: 56.09 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.1855/38.45, allocations: 79.32 MB / 9.834 GB, free: 23.91 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02304/38.48, allocations: 12.22 MB / 9.846 GB, free: 23.45 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01827/38.5, allocations: 9.324 MB / 9.855 GB, free: 23.38 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.08817/38.58, allocations: 33.78 MB / 9.888 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01881/38.6, allocations: 9.469 MB / 9.898 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04366/38.65, allocations: 15.06 MB / 9.912 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=614): time 5.963e-05/38.65, allocations: 0 / 9.912 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of matching and sorting (n=908): time 1.952/40.6, allocations: 261.8 MB / 10.17 GB, free: 82.92 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.02446/40.62, allocations: 6.997 MB / 10.17 GB, free: 82.43 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04231/40.67, allocations: 15.81 MB / 10.19 GB, free: 81.68 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.005667/40.67, allocations: 243.9 kB / 10.19 GB, free: 81.65 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.01256/40.68, allocations: 7.2 MB / 10.2 GB, free: 81.41 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.01148/40.7, allocations: 3.22 MB / 10.2 GB, free: 81.07 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006383/40.7, allocations: 208.6 kB / 10.2 GB, free: 81.07 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.00145/40.7, allocations: 0.7435 MB / 10.2 GB, free: 80.75 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03733/40.74, allocations: 18.5 MB / 10.22 GB, free: 80.73 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03969/40.78, allocations: 21.55 MB / 10.24 GB, free: 77.55 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07437/40.85, allocations: 35.22 MB / 10.28 GB, free: 75.44 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002481/40.86, allocations: 15.5 kB / 10.28 GB, free: 75.44 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 0.6068/41.46, allocations: 147.7 MB / 10.42 GB, free: 8.734 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001928/41.46, allocations: 1.714 MB / 10.42 GB, free: 6.477 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001226/41.46, allocations: 53.31 kB / 10.42 GB, free: 6.426 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523/42.99, allocations: 148.4 MB / 10.57 GB, free: 85.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02037/43.01, allocations: 3.742 MB / 10.57 GB, free: 85.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1109/43.12, allocations: 55.01 MB / 10.62 GB, free: 78.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09293/43.21, allocations: 6.748 MB / 10.63 GB, free: 76.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008099/43.22, allocations: 1.39 MB / 10.63 GB, free: 76.95 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/43.22, allocations: 3.875 kB / 10.63 GB, free: 76.95 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.457/44.68, allocations: 146 MB / 10.77 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002677/44.68, allocations: 52.81 kB / 10.77 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5979/45.27, allocations: 148.3 MB / 10.92 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01821/45.29, allocations: 3.704 MB / 10.92 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1185/45.41, allocations: 58.86 MB / 10.98 GB, free: 96.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08846/45.5, allocations: 6.71 MB / 10.99 GB, free: 95.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008042/45.51, allocations: 1.347 MB / 10.99 GB, free: 95.59 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 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.02462/45.53, allocations: 4.011 MB / 10.99 GB, free: 95.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01352/45.55, allocations: 1.486 MB / 10.99 GB, free: 95.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.269/45.82, allocations: 62.82 MB / 11.05 GB, free: 65.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034/46.85, allocations: 69.9 MB / 11.12 GB, free: 99.28 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002644/46.85, allocations: 37.34 kB / 11.12 GB, free: 99.27 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2188/47.07, allocations: 69.14 MB / 11.19 GB, free: 98.5 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.3303/47.4, allocations: 146.6 MB / 11.33 GB, free: 92.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000141/47.4, allocations: 3.25 kB / 11.33 GB, free: 92.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01155/47.41, allocations: 2.042 MB / 11.34 GB, free: 92.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.318/47.73, allocations: 90.91 MB / 11.42 GB, free: 56.19 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004147/47.73, allocations: 0.6196 MB / 11.42 GB, free: 55.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03/48.76, allocations: 66.4 MB / 11.49 GB, free: 113.6 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.02408/48.79, allocations: 6.311 MB / 11.5 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2813/49.07, allocations: 101.8 MB / 11.6 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02484/49.09, allocations: 6.45 MB / 11.6 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00965/49.1, allocations: 228.8 kB / 11.6 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05621/49.16, allocations: 3.66 MB / 11.61 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005955/49.17, allocations: 0.935 MB / 11.61 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004619/49.17, allocations: 0.6912 MB / 11.61 GB, free: 111.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0292/49.2, allocations: 10.81 MB / 11.62 GB, free: 111.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.61e-07/49.2, allocations: 0 / 11.62 GB, free: 111.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.1159/49.32, allocations: 43.52 MB / 11.66 GB, free: 105.1 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 {14 103,1 1,44 212} Notification: Performance of Backend phase and start with SimCode phase: time 0.01386/49.33, allocations: 5.429 MB / 11.67 GB, free: 101 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.1441/49.47, allocations: 76.31 MB / 11.74 GB, free: 55.49 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/49.47, allocations: 1.219 kB / 11.74 GB, free: 55.49 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.08867/49.56, allocations: 45.56 MB / 11.78 GB, free: 22.69 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08207/49.64, allocations: 7.448 MB / 11.79 GB, free: 17.4 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]