Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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: "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01936/0.01936, allocations: 171.2 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.38/1.38, allocations: 135.2 MB / 151.1 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.888/2.888, allocations: 223.2 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 90.11 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004899/0.00049, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9139/0.9144, allocations: 82.3 MB / 0.6495 GB, free: 35.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.736/3.65, allocations: 423.9 MB / 1.064 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004065/3.651, allocations: 95 kB / 1.064 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 49.41/53.06, allocations: 6.488 GB / 7.552 GB, free: 44.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.855e-06/53.06, allocations: 0 / 7.552 GB, free: 44.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.004633/53.06, allocations: 447.9 kB / 7.553 GB, free: 44.89 MB / 0.948 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.09431/53.16, allocations: 20.67 MB / 7.573 GB, free: 37.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/53.16, allocations: 9.062 kB / 7.573 GB, free: 37.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007395/53.16, allocations: 1.04 MB / 7.574 GB, free: 37.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01754/53.18, allocations: 2.199 MB / 7.576 GB, free: 36.14 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08703/53.27, allocations: 21.89 MB / 7.597 GB, free: 33.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001595/53.27, allocations: 0.6947 MB / 7.598 GB, free: 33.37 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007081/53.28, allocations: 0.9649 MB / 7.599 GB, free: 33.36 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05322/53.33, allocations: 15.94 MB / 7.614 GB, free: 32.51 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00079/53.33, allocations: 19.31 kB / 7.614 GB, free: 32.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005666/53.34, allocations: 329.8 kB / 7.615 GB, free: 32.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006573/53.34, allocations: 365.7 kB / 7.615 GB, free: 32.48 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04756/53.39, allocations: 20.14 MB / 7.635 GB, free: 32.35 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 preOpt removeSimpleEquations (simulation): time 1.247/54.63, allocations: 78.73 MB / 7.712 GB, free: 70.29 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03114/54.66, allocations: 12.81 MB / 7.724 GB, free: 69.9 MB / 0.9636 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.0922/54.76, allocations: 34.27 MB / 7.758 GB, free: 61.88 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02214/54.78, allocations: 9.677 MB / 7.767 GB, free: 61.71 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0472/54.83, allocations: 14.85 MB / 7.782 GB, free: 61.71 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=637): time 8.576e-05/54.83, allocations: 0 / 7.782 GB, free: 61.71 MB / 0.9636 GB Notification: Performance of matching and sorting (n=955): time 2.188/57.01, allocations: 319 MB / 8.093 GB, free: 105 MB / 1.01 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.02009/57.03, allocations: 6.365 MB / 8.099 GB, free: 104.5 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04084/57.07, allocations: 14.37 MB / 8.113 GB, free: 103.8 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.005677/57.08, allocations: 256.1 kB / 8.114 GB, free: 103.8 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.01358/57.09, allocations: 7.242 MB / 8.121 GB, free: 103.5 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.01259/57.11, allocations: 3.374 MB / 8.124 GB, free: 103.1 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006196/57.11, allocations: 215.2 kB / 8.124 GB, free: 103.1 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.001261/57.11, allocations: 0.7535 MB / 8.125 GB, free: 102.8 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03647/57.15, allocations: 18.53 MB / 8.143 GB, free: 102.7 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04034/57.19, allocations: 21.59 MB / 8.164 GB, free: 99.56 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03841/57.23, allocations: 19.91 MB / 8.184 GB, free: 99.34 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001706/57.23, allocations: 13.09 kB / 8.184 GB, free: 99.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.6436/57.87, allocations: 147.8 MB / 8.328 GB, free: 96.86 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.00762/57.88, allocations: 32.04 MB / 8.359 GB, free: 63.29 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002793/57.88, allocations: 46.34 kB / 8.359 GB, free: 63.29 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655/59.54, allocations: 153 MB / 8.509 GB, free: 98.53 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02033/59.56, allocations: 3.448 MB / 8.512 GB, free: 98.53 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1781/59.73, allocations: 79.01 MB / 8.589 GB, free: 91.46 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09719/59.83, allocations: 6.688 MB / 8.596 GB, free: 91.29 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01016/59.84, allocations: 1.388 MB / 8.597 GB, free: 91.29 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/59.84, allocations: 2.906 kB / 8.597 GB, free: 91.29 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6045/60.45, allocations: 146.4 MB / 8.74 GB, free: 67.24 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002825/60.45, allocations: 52.25 kB / 8.74 GB, free: 67.19 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678/62.12, allocations: 152.8 MB / 8.889 GB, free: 110.4 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01971/62.14, allocations: 3.419 MB / 8.893 GB, free: 110.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2757/62.42, allocations: 86.41 MB / 8.977 GB, free: 106.4 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1454/62.57, allocations: 6.671 MB / 8.984 GB, free: 106.3 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01117/62.58, allocations: 1.332 MB / 8.985 GB, free: 106.3 MB / 1.026 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 (991): * Single equations (assignments): 973 * 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.03038/62.61, allocations: 4.039 MB / 8.989 GB, free: 106.1 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01727/62.62, allocations: 1.502 MB / 8.99 GB, free: 106.1 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3299/62.95, allocations: 63.11 MB / 9.052 GB, free: 104.7 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3283/63.28, allocations: 70.2 MB / 9.12 GB, free: 79.66 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002373/63.28, allocations: 28 kB / 9.12 GB, free: 79.63 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2104/63.49, allocations: 69.43 MB / 9.188 GB, free: 26.99 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.562/65.06, allocations: 164.2 MB / 9.349 GB, free: 99.2 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001614/65.06, allocations: 2.781 kB / 9.349 GB, free: 99.2 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01213/65.07, allocations: 1.962 MB / 9.351 GB, free: 99.2 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3519/65.42, allocations: 91.7 MB / 9.44 GB, free: 98.1 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005755/65.43, allocations: 0.6259 MB / 9.441 GB, free: 98.1 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1439/65.57, allocations: 74.08 MB / 9.513 GB, free: 63.58 MB / 1.026 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.01941/65.59, allocations: 6.157 MB / 9.519 GB, free: 58.54 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.482/67.07, allocations: 100.2 MB / 9.617 GB, free: 107.2 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02856/67.1, allocations: 6.548 MB / 9.623 GB, free: 107.1 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01107/67.11, allocations: 231 kB / 9.623 GB, free: 107.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05716/67.17, allocations: 3.639 MB / 9.627 GB, free: 107.1 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006467/67.17, allocations: 0.9591 MB / 9.628 GB, free: 107 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005115/67.18, allocations: 0.697 MB / 9.629 GB, free: 107 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.03123/67.21, allocations: 11.05 MB / 9.639 GB, free: 106.6 MB / 1.026 GB Notification: Performance of sort global known variables: time 9.32e-07/67.21, allocations: 2.312 kB / 9.639 GB, free: 106.6 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.1494/67.36, allocations: 43.5 MB / 9.682 GB, free: 106.6 MB / 1.026 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 (635): * Single equations (assignments): 612 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {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 118,62 219} Notification: Performance of Backend phase and start with SimCode phase: time 0.3031/67.66, allocations: 105.4 MB / 9.785 GB, free: 102.9 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.1568/67.82, allocations: 77.72 MB / 9.861 GB, free: 61.97 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/67.82, allocations: 0 / 9.861 GB, free: 61.97 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.08853/67.91, allocations: 46.17 MB / 9.906 GB, free: 28.77 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.056/67.97, allocations: 7.415 MB / 9.913 GB, free: 23.53 MB / 1.026 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4493:9-4493:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:748:5-748:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]