Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="IDEAS_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.01198/0.01198, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8148/0.8148, allocations: 135.2 MB / 151 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.839/1.839, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.001117/0.001117, allocations: 86.94 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004106, allocations: 11.98 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5019/0.5023, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.387/1.889, allocations: 424 MB / 1.064 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/1.89, allocations: 97.98 kB / 1.064 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 28.13/30.02, allocations: 6.488 GB / 7.552 GB, free: 47.27 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.146e-06/30.02, allocations: 3.938 kB / 7.552 GB, free: 47.27 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00381/30.02, allocations: 444.7 kB / 7.553 GB, free: 47.17 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.09057/30.11, allocations: 20.67 MB / 7.573 GB, free: 39.41 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/30.11, allocations: 10.34 kB / 7.573 GB, free: 39.41 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006807/30.12, allocations: 1.041 MB / 7.574 GB, free: 39.33 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01657/30.13, allocations: 2.202 MB / 7.576 GB, free: 38.35 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0761/30.21, allocations: 21.89 MB / 7.597 GB, free: 35.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001108/30.21, allocations: 0.6884 MB / 7.598 GB, free: 35.28 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006029/30.22, allocations: 0.9666 MB / 7.599 GB, free: 35.26 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04585/30.26, allocations: 15.94 MB / 7.614 GB, free: 34.39 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005545/30.26, allocations: 22.64 kB / 7.614 GB, free: 34.38 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004753/30.27, allocations: 320.4 kB / 7.615 GB, free: 34.38 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000386/30.27, allocations: 368.9 kB / 7.615 GB, free: 34.36 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04109/30.31, allocations: 20.14 MB / 7.635 GB, free: 30.66 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.139/31.45, allocations: 78.71 MB / 7.712 GB, free: 58.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02771/31.48, allocations: 12.81 MB / 7.724 GB, free: 57.73 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.08926/31.56, allocations: 34.26 MB / 7.758 GB, free: 49.55 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02274/31.59, allocations: 9.676 MB / 7.767 GB, free: 49.38 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04799/31.64, allocations: 14.85 MB / 7.782 GB, free: 49.38 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=637): time 8.403e-05/31.64, allocations: 2.75 kB / 7.782 GB, free: 49.38 MB / 0.9636 GB Notification: Performance of matching and sorting (n=955): time 2.125/33.76, allocations: 319 MB / 8.093 GB, free: 93.6 MB / 0.9948 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.01979/33.78, allocations: 6.359 MB / 8.099 GB, free: 93.08 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04193/33.82, allocations: 14.36 MB / 8.113 GB, free: 92.42 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.006116/33.83, allocations: 256.6 kB / 8.114 GB, free: 92.39 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01246/33.84, allocations: 7.233 MB / 8.121 GB, free: 92.11 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0124/33.85, allocations: 3.377 MB / 8.124 GB, free: 91.7 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006321/33.86, allocations: 215 kB / 8.124 GB, free: 91.7 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.001096/33.86, allocations: 0.7565 MB / 8.125 GB, free: 91.38 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03448/33.9, allocations: 18.53 MB / 8.143 GB, free: 91.35 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03812/33.93, allocations: 21.6 MB / 8.164 GB, free: 88.18 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03991/33.97, allocations: 19.9 MB / 8.183 GB, free: 87.96 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001667/33.97, allocations: 12.72 kB / 8.184 GB, free: 87.96 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.6057/34.58, allocations: 147.8 MB / 8.328 GB, free: 76.65 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.006342/34.59, allocations: 32.04 MB / 8.359 GB, free: 42.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002107/34.59, allocations: 44 kB / 8.359 GB, free: 42.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67/36.26, allocations: 153 MB / 8.509 GB, free: 102.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02685/36.28, allocations: 3.447 MB / 8.512 GB, free: 102.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1671/36.45, allocations: 79.01 MB / 8.589 GB, free: 95.36 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09538/36.55, allocations: 6.693 MB / 8.596 GB, free: 94.82 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008882/36.55, allocations: 1.381 MB / 8.597 GB, free: 94.82 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/36.55, allocations: 7.562 kB / 8.597 GB, free: 94.81 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6061/37.16, allocations: 146.4 MB / 8.74 GB, free: 47.61 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003/37.16, allocations: 48.03 kB / 8.74 GB, free: 47.56 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635/38.8, allocations: 152.8 MB / 8.889 GB, free: 111.4 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01957/38.82, allocations: 3.419 MB / 8.893 GB, free: 111.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2108/39.03, allocations: 86.4 MB / 8.977 GB, free: 107.4 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09839/39.12, allocations: 6.673 MB / 8.984 GB, free: 106.9 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009134/39.13, allocations: 1.333 MB / 8.985 GB, free: 106.9 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.02401/39.16, allocations: 4.034 MB / 8.989 GB, free: 106.7 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01212/39.17, allocations: 1.501 MB / 8.99 GB, free: 106.7 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2392/39.41, allocations: 63.12 MB / 9.052 GB, free: 105.3 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2282/39.64, allocations: 70.18 MB / 9.12 GB, free: 65.01 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002242/39.64, allocations: 28.69 kB / 9.12 GB, free: 64.98 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417/41.06, allocations: 69.44 MB / 9.188 GB, free: 102.8 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4389/41.49, allocations: 164.2 MB / 9.349 GB, free: 96.48 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001383/41.49, allocations: 2.406 kB / 9.349 GB, free: 96.48 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.012/41.51, allocations: 1.96 MB / 9.351 GB, free: 96.48 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3401/41.85, allocations: 91.71 MB / 9.44 GB, free: 87.78 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004665/41.85, allocations: 0.6217 MB / 9.441 GB, free: 87.41 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.136/41.99, allocations: 74.08 MB / 9.513 GB, free: 42.14 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.01907/42.01, allocations: 6.166 MB / 9.519 GB, free: 37.1 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.496/43.5, allocations: 100.2 MB / 9.617 GB, free: 114.3 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02985/43.53, allocations: 6.54 MB / 9.623 GB, free: 114.2 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01038/43.54, allocations: 235.6 kB / 9.623 GB, free: 114.2 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05818/43.6, allocations: 3.638 MB / 9.627 GB, free: 114.2 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00663/43.61, allocations: 0.9624 MB / 9.628 GB, free: 114.2 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004833/43.61, allocations: 0.697 MB / 9.629 GB, free: 114.2 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.03414/43.65, allocations: 11.04 MB / 9.639 GB, free: 113.8 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.132e-06/43.65, allocations: 3.25 kB / 9.639 GB, free: 113.8 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.1429/43.79, allocations: 43.49 MB / 9.682 GB, free: 113.8 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.2952/44.09, allocations: 105.4 MB / 9.785 GB, free: 95.12 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.1582/44.24, allocations: 77.72 MB / 9.861 GB, free: 44.49 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.022e-05/44.24, allocations: 6.156 kB / 9.861 GB, free: 44.48 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.08944/44.33, allocations: 46.17 MB / 9.906 GB, free: 11.2 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0639/44.4, allocations: 8.28 MB / 9.914 GB, free: 7.902 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]