Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified2,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified2,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 169.1 kB / 498.1 MB, free: 5.734 MB / 394.7 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.1 MB / 0.7948 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009316/0.0009315, allocations: 106.4 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004792, allocations: 10.09 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2593, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9917/1.251, allocations: 462.4 MB / 1.675 GB, free: 14.67 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/1.251, allocations: 101.9 kB / 1.675 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 32.22/33.47, allocations: 8.792 GB / 10.47 GB, free: 97.46 MB / 1.417 GB Notification: Performance of FrontEnd: time 2.295e-06/33.47, allocations: 0 / 10.47 GB, free: 97.46 MB / 1.417 GB Notification: Performance of Transformations before backend: time 0.004545/33.47, allocations: 434.7 kB / 10.47 GB, free: 97.33 MB / 1.417 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.08387/33.56, allocations: 20.64 MB / 10.49 GB, free: 89.38 MB / 1.417 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/33.56, allocations: 14.66 kB / 10.49 GB, free: 89.37 MB / 1.417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006778/33.56, allocations: 1.04 MB / 10.49 GB, free: 89.28 MB / 1.417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01777/33.58, allocations: 2.548 MB / 10.49 GB, free: 88.28 MB / 1.417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07432/33.66, allocations: 21.95 MB / 10.51 GB, free: 82.99 MB / 1.417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001227/33.66, allocations: 0.6812 MB / 10.51 GB, free: 82.68 MB / 1.417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006097/33.66, allocations: 0.9594 MB / 10.51 GB, free: 82.37 MB / 1.417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04555/33.71, allocations: 15.9 MB / 10.53 GB, free: 75.21 MB / 1.417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005879/33.71, allocations: 15.78 kB / 10.53 GB, free: 75.2 MB / 1.417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004462/33.71, allocations: 324 kB / 10.53 GB, free: 74.88 MB / 1.417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004173/33.71, allocations: 370.2 kB / 10.53 GB, free: 74.55 MB / 1.417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03625/33.75, allocations: 20.24 MB / 10.55 GB, free: 56.97 MB / 1.417 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.234/34.98, allocations: 79.77 MB / 10.63 GB, free: 122.4 MB / 1.432 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0221/35.01, allocations: 12.38 MB / 10.64 GB, free: 122 MB / 1.432 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.07076/35.08, allocations: 33.76 MB / 10.67 GB, free: 114 MB / 1.432 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01748/35.09, allocations: 9.546 MB / 10.68 GB, free: 113.9 MB / 1.432 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0466/35.14, allocations: 14.84 MB / 10.7 GB, free: 113.9 MB / 1.432 GB Notification: Performance of pre-optimization done (n=613): time 5.322e-05/35.14, allocations: 2.953 kB / 10.7 GB, free: 113.9 MB / 1.432 GB Notification: Performance of matching and sorting (n=907): time 0.9599/36.1, allocations: 252.4 MB / 10.94 GB, free: 98.69 MB / 1.432 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.02346/36.13, allocations: 6.457 MB / 10.95 GB, free: 98.01 MB / 1.432 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04081/36.17, allocations: 14.41 MB / 10.96 GB, free: 97.28 MB / 1.432 GB Notification: Performance of collectPreVariables (initialization): time 0.005336/36.17, allocations: 246.1 kB / 10.96 GB, free: 97.25 MB / 1.432 GB Notification: Performance of collectInitialEqns (initialization): time 0.01196/36.18, allocations: 7.229 MB / 10.97 GB, free: 96.06 MB / 1.432 GB Notification: Performance of collectInitialBindings (initialization): time 0.01053/36.19, allocations: 3.213 MB / 10.97 GB, free: 94.46 MB / 1.432 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005776/36.2, allocations: 210 kB / 10.97 GB, free: 94.46 MB / 1.432 GB Notification: Performance of setup shared object (initialization): time 0.001188/36.2, allocations: 0.7479 MB / 10.97 GB, free: 94.14 MB / 1.432 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03228/36.23, allocations: 18.46 MB / 10.99 GB, free: 94.08 MB / 1.432 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04038/36.27, allocations: 21.48 MB / 11.01 GB, free: 90.16 MB / 1.432 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0369/36.31, allocations: 19.79 MB / 11.03 GB, free: 79.74 MB / 1.432 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000128/36.31, allocations: 20 kB / 11.03 GB, free: 79.72 MB / 1.432 GB Notification: Performance of matching and sorting (n=1423) (initialization): time 1.783/38.09, allocations: 146.6 MB / 11.18 GB, free: 123.6 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 0.007778/38.1, allocations: 35.43 MB / 11.21 GB, free: 86.65 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002124/38.1, allocations: 52.84 kB / 11.21 GB, free: 86.65 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6029/38.7, allocations: 147.1 MB / 11.35 GB, free: 86.57 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02072/38.73, allocations: 3.68 MB / 11.36 GB, free: 86.57 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1522/38.88, allocations: 76.34 MB / 11.43 GB, free: 79.21 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09698/38.97, allocations: 6.779 MB / 11.44 GB, free: 78.15 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008354/38.98, allocations: 1.388 MB / 11.44 GB, free: 78.15 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/38.98, allocations: 3.875 kB / 11.44 GB, free: 78.15 MB / 1.448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5898/39.57, allocations: 145.3 MB / 11.58 GB, free: 53.72 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000335/39.57, allocations: 52 kB / 11.58 GB, free: 53.67 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742/41.32, allocations: 147.4 MB / 11.73 GB, free: 183.1 MB / 1.51 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01891/41.33, allocations: 3.649 MB / 11.73 GB, free: 183.1 MB / 1.51 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1579/41.49, allocations: 80.68 MB / 11.81 GB, free: 178.6 MB / 1.51 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09651/41.59, allocations: 6.739 MB / 11.82 GB, free: 178.6 MB / 1.51 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008494/41.6, allocations: 1.347 MB / 11.82 GB, free: 178.6 MB / 1.51 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.0219/41.62, allocations: 4.012 MB / 11.82 GB, free: 178.4 MB / 1.51 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01015/41.63, allocations: 1.497 MB / 11.82 GB, free: 178.4 MB / 1.51 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2257/41.85, allocations: 61.95 MB / 11.88 GB, free: 177.5 MB / 1.51 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2233/42.08, allocations: 69.17 MB / 11.95 GB, free: 176.9 MB / 1.51 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002477/42.08, allocations: 28.31 kB / 11.95 GB, free: 176.9 MB / 1.51 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.223/42.3, allocations: 68.41 MB / 12.02 GB, free: 176.2 MB / 1.51 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3463/42.65, allocations: 145.2 MB / 12.16 GB, free: 127.1 MB / 1.51 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001452/42.65, allocations: 0 / 12.16 GB, free: 127.1 MB / 1.51 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01295/42.66, allocations: 2.093 MB / 12.16 GB, free: 125.8 MB / 1.51 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3342/43, allocations: 89.7 MB / 12.25 GB, free: 43.66 MB / 1.51 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004748/43, allocations: 0.6274 MB / 12.25 GB, free: 43.04 MB / 1.51 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422/44.42, allocations: 72.03 MB / 12.32 GB, free: 194.7 MB / 1.51 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.0236/44.45, allocations: 6.323 MB / 12.33 GB, free: 194.2 MB / 1.51 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2781/44.72, allocations: 98.57 MB / 12.42 GB, free: 192.6 MB / 1.51 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02544/44.75, allocations: 6.468 MB / 12.43 GB, free: 192.5 MB / 1.51 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01028/44.76, allocations: 226.1 kB / 12.43 GB, free: 192.5 MB / 1.51 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05786/44.82, allocations: 3.702 MB / 12.43 GB, free: 191.9 MB / 1.51 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006586/44.82, allocations: 0.935 MB / 12.43 GB, free: 191.9 MB / 1.51 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005769/44.83, allocations: 0.6936 MB / 12.43 GB, free: 191.9 MB / 1.51 GB Notification: Performance of sorting global known variables: time 0.03185/44.86, allocations: 11.07 MB / 12.44 GB, free: 191.5 MB / 1.51 GB Notification: Performance of sort global known variables: time 1.072e-06/44.86, allocations: 0 / 12.44 GB, free: 191.5 MB / 1.51 GB Notification: Performance of remove unused functions: time 0.1382/45, allocations: 43.49 MB / 12.49 GB, free: 191.5 MB / 1.51 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.2794/45.28, allocations: 104.1 MB / 12.59 GB, free: 179.9 MB / 1.51 GB Notification: Performance of simCode: created initialization part: time 0.1405/45.42, allocations: 76.18 MB / 12.66 GB, free: 137.8 MB / 1.51 GB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/45.42, allocations: 4.125 kB / 12.66 GB, free: 137.8 MB / 1.51 GB Notification: Performance of simCode: created simulation system equations: time 0.08264/45.5, allocations: 45.46 MB / 12.71 GB, free: 104.4 MB / 1.51 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05305/45.56, allocations: 7.388 MB / 12.71 GB, free: 99.16 MB / 1.51 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]