Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.Simplified2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified2",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.01801/0.01801, allocations: 169.5 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 1.387/1.387, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.013/3.013, allocations: 223.2 MB / 406.8 MB, free: 3.207 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.001427/0.001427, allocations: 100.8 kB / 489.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007127/0.0007124, allocations: 8 kB / 0.5691 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9087/0.9095, allocations: 82.3 MB / 0.6495 GB, free: 36.07 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.608/3.518, allocations: 424.2 MB / 1.064 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003976/3.518, allocations: 95.02 kB / 1.064 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 59.83/63.34, allocations: 8.779 GB / 9.843 GB, free: 53.83 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.576e-06/63.34, allocations: 0 / 9.843 GB, free: 53.83 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.006032/63.35, allocations: 431.6 kB / 9.844 GB, free: 53.41 MB / 0.9636 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.1091/63.46, allocations: 20.65 MB / 9.864 GB, free: 32.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/63.46, allocations: 8.031 kB / 9.864 GB, free: 32.59 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006568/63.47, allocations: 1.049 MB / 9.865 GB, free: 31.54 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01585/63.48, allocations: 2.191 MB / 9.867 GB, free: 29.32 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07248/63.55, allocations: 21.82 MB / 9.888 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001022/63.56, allocations: 0.6793 MB / 9.889 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005938/63.56, allocations: 0.9645 MB / 9.89 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.216/64.78, allocations: 15.8 MB / 9.905 GB, free: 60.55 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000991/64.78, allocations: 15.5 kB / 9.905 GB, free: 60.55 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006755/64.79, allocations: 327.1 kB / 9.906 GB, free: 60.55 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008524/64.79, allocations: 373.2 kB / 9.906 GB, free: 60.53 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04584/64.83, allocations: 20.05 MB / 9.926 GB, free: 60.47 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 removeSimpleEquations (simulation): time 0.171/65, allocations: 79.55 MB / 10 GB, free: 28.32 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02367/65.03, allocations: 12.22 MB / 10.02 GB, free: 27.86 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/65.12, allocations: 33.68 MB / 10.05 GB, free: 19.59 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02138/65.14, allocations: 9.444 MB / 10.06 GB, free: 19.42 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04938/65.19, allocations: 14.85 MB / 10.07 GB, free: 19.27 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=613): time 8.427e-05/65.19, allocations: 0 / 10.07 GB, free: 19.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=907): time 2.133/67.32, allocations: 252.6 MB / 10.32 GB, free: 87.88 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.02339/67.34, allocations: 6.451 MB / 10.32 GB, free: 87.37 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04812/67.39, allocations: 14.4 MB / 10.34 GB, free: 86.71 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.006058/67.4, allocations: 242.9 kB / 10.34 GB, free: 86.68 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0135/67.41, allocations: 7.235 MB / 10.35 GB, free: 86.44 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.01294/67.42, allocations: 3.22 MB / 10.35 GB, free: 85.61 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006902/67.43, allocations: 210.6 kB / 10.35 GB, free: 85.61 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.001245/67.43, allocations: 0.7454 MB / 10.35 GB, free: 85.28 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03663/67.47, allocations: 18.38 MB / 10.37 GB, free: 85.26 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04458/67.51, allocations: 21.39 MB / 10.39 GB, free: 82.09 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04343/67.56, allocations: 19.73 MB / 10.41 GB, free: 81.86 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002222/67.56, allocations: 17.69 kB / 10.41 GB, free: 81.86 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1423) (initialization): time 0.637/68.19, allocations: 146.4 MB / 10.55 GB, free: 73.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0111/68.21, allocations: 35.43 MB / 10.59 GB, free: 52.24 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003163/68.21, allocations: 48 kB / 10.59 GB, free: 52.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824/70.03, allocations: 147.1 MB / 10.73 GB, free: 97.21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02251/70.05, allocations: 3.632 MB / 10.73 GB, free: 97.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1661/70.22, allocations: 76.35 MB / 10.81 GB, free: 90.16 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0964/70.32, allocations: 6.736 MB / 10.81 GB, free: 89.74 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008902/70.32, allocations: 1.386 MB / 10.82 GB, free: 89.73 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/70.32, allocations: 6.094 kB / 10.82 GB, free: 89.73 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6099/70.93, allocations: 145.1 MB / 10.96 GB, free: 41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000291/70.93, allocations: 52.97 kB / 10.96 GB, free: 40.95 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759/72.69, allocations: 147.4 MB / 11.1 GB, free: 105.9 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01968/72.71, allocations: 3.608 MB / 11.1 GB, free: 105.9 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.175/72.89, allocations: 80.66 MB / 11.18 GB, free: 101.3 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0945/72.98, allocations: 6.715 MB / 11.19 GB, free: 101.1 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008437/72.99, allocations: 1.338 MB / 11.19 GB, free: 101.1 MB / 1.026 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 (1063): * Single equations (assignments): 1045 * 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.02155/73.01, allocations: 4.022 MB / 11.2 GB, free: 100.9 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01077/73.02, allocations: 1.493 MB / 11.2 GB, free: 100.9 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2149/73.24, allocations: 61.78 MB / 11.26 GB, free: 99.5 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2124/73.45, allocations: 69 MB / 11.32 GB, free: 70.44 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001143/73.45, allocations: 28 kB / 11.32 GB, free: 70.41 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126/74.58, allocations: 68.24 MB / 11.39 GB, free: 91.19 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.331/74.91, allocations: 145 MB / 11.53 GB, free: 85.09 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001561/74.91, allocations: 2.188 kB / 11.53 GB, free: 85.09 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01244/74.92, allocations: 2.053 MB / 11.53 GB, free: 85.09 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3263/75.25, allocations: 89.71 MB / 11.62 GB, free: 84.79 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003851/75.25, allocations: 0.6173 MB / 11.62 GB, free: 84.79 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1202/75.37, allocations: 72.04 MB / 11.69 GB, free: 68.01 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.01946/75.39, allocations: 6.307 MB / 11.7 GB, free: 65.72 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.106/76.5, allocations: 98.32 MB / 11.8 GB, free: 100.4 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0258/76.52, allocations: 6.46 MB / 11.8 GB, free: 100.3 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01171/76.53, allocations: 223.6 kB / 11.8 GB, free: 100.3 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05857/76.59, allocations: 3.665 MB / 11.81 GB, free: 100.3 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005609/76.6, allocations: 0.9436 MB / 11.81 GB, free: 100.3 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004577/76.6, allocations: 0.6868 MB / 11.81 GB, free: 100.3 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.02726/76.63, allocations: 11.07 MB / 11.82 GB, free: 99.88 MB / 1.026 GB Notification: Performance of sort global known variables: time 6.82e-07/76.63, allocations: 0 / 11.82 GB, free: 99.88 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.1361/76.77, allocations: 43.49 MB / 11.86 GB, free: 99.88 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 (659): * Single equations (assignments): 636 * 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 {14 89,44 213} Notification: Performance of Backend phase and start with SimCode phase: time 0.2839/77.05, allocations: 103.8 MB / 11.96 GB, free: 95.98 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.148/77.2, allocations: 75.92 MB / 12.04 GB, free: 72.89 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/77.2, allocations: 0 / 12.04 GB, free: 72.89 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.08304/77.28, allocations: 45.38 MB / 12.08 GB, free: 41.94 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05121/77.33, allocations: 7.385 MB / 12.09 GB, free: 36.7 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]