Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified1",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.194/2.194, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001314/0.001314, allocations: 183.3 kB / 498.1 MB, free: 5.742 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.429/1.429, allocations: 223.2 MB / 0.7948 GB, free: 18.82 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.001069/0.00107, allocations: 92.33 kB / 0.9346 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 11.14 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2441, allocations: 142.4 MB / 1.223 GB, free: 89.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.307, allocations: 462.3 MB / 1.674 GB, free: 3.535 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/1.307, allocations: 99.89 kB / 1.674 GB, free: 3.484 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 32.22/33.53, allocations: 8.791 GB / 10.47 GB, free: 24.48 MB / 1.417 GB Notification: Performance of FrontEnd: time 3.246e-06/33.53, allocations: 0 / 10.47 GB, free: 24.48 MB / 1.417 GB Notification: Performance of Transformations before backend: time 0.003514/33.53, allocations: 427.6 kB / 10.47 GB, free: 24.06 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.07218/33.61, allocations: 20.65 MB / 10.49 GB, free: 3.254 MB / 1.417 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/33.61, allocations: 12.03 kB / 10.49 GB, free: 3.242 MB / 1.417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005664/33.61, allocations: 1.037 MB / 10.49 GB, free: 2.195 MB / 1.417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.9761/34.59, allocations: 2.543 MB / 10.49 GB, free: 105.3 MB / 1.417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07741/34.67, allocations: 21.95 MB / 10.51 GB, free: 104.6 MB / 1.417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001136/34.67, allocations: 0.6821 MB / 10.51 GB, free: 104.6 MB / 1.417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005029/34.67, allocations: 0.9508 MB / 10.51 GB, free: 104.6 MB / 1.417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04058/34.71, allocations: 15.9 MB / 10.53 GB, free: 103.8 MB / 1.417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005103/34.71, allocations: 16.72 kB / 10.53 GB, free: 103.8 MB / 1.417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003751/34.72, allocations: 325.5 kB / 10.53 GB, free: 103.8 MB / 1.417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004053/34.72, allocations: 370.5 kB / 10.53 GB, free: 103.8 MB / 1.417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03708/34.75, allocations: 20.23 MB / 10.55 GB, free: 103.7 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 0.1444/34.9, allocations: 79.79 MB / 10.63 GB, free: 70.64 MB / 1.417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01971/34.92, allocations: 12.38 MB / 10.64 GB, free: 70.18 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 evalFunc (simulation): time 0.07549/34.99, allocations: 33.74 MB / 10.67 GB, free: 61.8 MB / 1.417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01718/35.01, allocations: 9.552 MB / 10.68 GB, free: 61.62 MB / 1.417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04383/35.06, allocations: 14.85 MB / 10.7 GB, free: 61.46 MB / 1.417 GB Notification: Performance of pre-optimization done (n=613): time 4.756e-05/35.06, allocations: 0 / 10.7 GB, free: 61.46 MB / 1.417 GB Notification: Performance of matching and sorting (n=907): time 0.9415/36, allocations: 252.5 MB / 10.94 GB, free: 37.4 MB / 1.417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.152/36.15, allocations: 63 MB / 11 GB, free: 11.8 MB / 1.432 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04394/36.19, allocations: 14.41 MB / 11.02 GB, free: 13.48 MB / 1.448 GB Notification: Performance of collectPreVariables (initialization): time 0.007114/36.2, allocations: 241.7 kB / 11.02 GB, free: 13.24 MB / 1.448 GB Notification: Performance of collectInitialEqns (initialization): time 0.01518/36.22, allocations: 7.241 MB / 11.02 GB, free: 5.988 MB / 1.448 GB Notification: Performance of collectInitialBindings (initialization): time 0.01092/36.23, allocations: 3.208 MB / 11.03 GB, free: 2.805 MB / 1.448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004458/36.23, allocations: 213.4 kB / 11.03 GB, free: 2.598 MB / 1.448 GB Notification: Performance of setup shared object (initialization): time 0.0009339/36.23, allocations: 0.7455 MB / 11.03 GB, free: 1.848 MB / 1.448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.118/37.35, allocations: 18.46 MB / 11.05 GB, free: 126.2 MB / 1.448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03453/37.38, allocations: 21.46 MB / 11.07 GB, free: 123 MB / 1.448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03354/37.42, allocations: 19.8 MB / 11.09 GB, free: 122.9 MB / 1.448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/37.42, allocations: 15.41 kB / 11.09 GB, free: 122.9 MB / 1.448 GB Notification: Performance of matching and sorting (n=1423) (initialization): time 0.6086/38.03, allocations: 146.6 MB / 11.23 GB, free: 122.2 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 0.008849/38.04, allocations: 35.44 MB / 11.26 GB, free: 85.23 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003083/38.04, allocations: 52.28 kB / 11.26 GB, free: 85.23 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5993/38.64, allocations: 147.9 MB / 11.41 GB, free: 82.7 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02145/38.66, allocations: 3.674 MB / 11.41 GB, free: 82.66 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.146/38.8, allocations: 76.8 MB / 11.49 GB, free: 37.45 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09474/38.9, allocations: 6.769 MB / 11.49 GB, free: 30.92 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00769/38.91, allocations: 1.388 MB / 11.5 GB, free: 29.62 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/38.91, allocations: 4 kB / 11.5 GB, free: 29.61 MB / 1.448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.699/40.6, allocations: 145.3 MB / 11.64 GB, free: 150.3 MB / 1.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002471/40.61, allocations: 51.94 kB / 11.64 GB, free: 150.3 MB / 1.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5951/41.2, allocations: 147.7 MB / 11.78 GB, free: 150 MB / 1.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0186/41.22, allocations: 3.643 MB / 11.79 GB, free: 149.9 MB / 1.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.153/41.37, allocations: 81.06 MB / 11.86 GB, free: 144.9 MB / 1.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09496/41.47, allocations: 6.743 MB / 11.87 GB, free: 143.8 MB / 1.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007824/41.47, allocations: 1.343 MB / 11.87 GB, free: 143.8 MB / 1.495 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 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.01846/41.49, allocations: 4.008 MB / 11.88 GB, free: 143.7 MB / 1.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009235/41.5, allocations: 1.492 MB / 11.88 GB, free: 143.7 MB / 1.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2235/41.73, allocations: 61.97 MB / 11.94 GB, free: 142.3 MB / 1.495 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2313/41.96, allocations: 69.08 MB / 12.01 GB, free: 118.1 MB / 1.495 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000259/41.96, allocations: 32 kB / 12.01 GB, free: 118.1 MB / 1.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2183/42.18, allocations: 68.33 MB / 12.07 GB, free: 65.08 MB / 1.495 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.458/43.63, allocations: 145.2 MB / 12.21 GB, free: 151.5 MB / 1.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001266/43.63, allocations: 5.219 kB / 12.21 GB, free: 151.5 MB / 1.495 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0128/43.65, allocations: 2.09 MB / 12.22 GB, free: 151.5 MB / 1.495 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3459/43.99, allocations: 90.24 MB / 12.3 GB, free: 151.1 MB / 1.495 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004646/44, allocations: 0.6289 MB / 12.31 GB, free: 151.1 MB / 1.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1332/44.13, allocations: 72.3 MB / 12.38 GB, free: 142 MB / 1.495 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.02244/44.15, allocations: 6.35 MB / 12.38 GB, free: 141.4 MB / 1.495 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2587/44.41, allocations: 98.61 MB / 12.48 GB, free: 139.8 MB / 1.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02554/44.44, allocations: 6.469 MB / 12.48 GB, free: 139.7 MB / 1.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009721/44.45, allocations: 222.6 kB / 12.49 GB, free: 139.7 MB / 1.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05791/44.5, allocations: 3.705 MB / 12.49 GB, free: 139.1 MB / 1.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005408/44.51, allocations: 0.9405 MB / 12.49 GB, free: 139.1 MB / 1.495 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003033/44.51, allocations: 0.6871 MB / 12.49 GB, free: 139.1 MB / 1.495 GB Notification: Performance of sorting global known variables: time 0.02467/44.54, allocations: 11.07 MB / 12.5 GB, free: 138.6 MB / 1.495 GB Notification: Performance of sort global known variables: time 7.81e-07/44.54, allocations: 0 / 12.5 GB, free: 138.6 MB / 1.495 GB Notification: Performance of remove unused functions: time 0.1217/44.66, allocations: 43.5 MB / 12.54 GB, free: 105.4 MB / 1.495 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 {39 64,70 187} Notification: Performance of Backend phase and start with SimCode phase: time 0.2558/44.92, allocations: 104.2 MB / 12.65 GB, free: 47.86 MB / 1.495 GB Notification: Performance of simCode: created initialization part: time 1.225/46.14, allocations: 79.41 MB / 12.72 GB, free: 167.6 MB / 1.495 GB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/46.14, allocations: 2.594 kB / 12.72 GB, free: 167.6 MB / 1.495 GB Notification: Performance of simCode: created simulation system equations: time 0.09872/46.24, allocations: 45.97 MB / 12.77 GB, free: 166.3 MB / 1.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05214/46.29, allocations: 7.386 MB / 12.77 GB, free: 166 MB / 1.495 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]