Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001611, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.219/2.219, allocations: 390.3 MB / 0.6653 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.0002949, allocations: 8 kB / 0.8146 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6101/0.6104, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 0.2851/0.8955, allocations: 297.6 MB / 1.244 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6905/1.586, allocations: 63.28 MB / 1.306 GB, free: 62.21 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0189/1.605, allocations: 348.6 kB / 1.306 GB, free: 62.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.02748/1.633, allocations: 4.351 MB / 1.311 GB, free: 62.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.05172/1.684, allocations: 13.31 MB / 1.324 GB, free: 62.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.03269/1.717, allocations: 8.499 MB / 1.332 GB, free: 61.81 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04447/1.761, allocations: 20.27 MB / 1.352 GB, free: 61.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02517/1.787, allocations: 14.97 MB / 1.366 GB, free: 56.7 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03277/1.82, allocations: 12.07 MB / 1.378 GB, free: 55.13 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02651/1.846, allocations: 10.99 MB / 1.389 GB, free: 52.42 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.007831/1.854, allocations: 1 MB / 1.39 GB, free: 52.42 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02287/1.877, allocations: 4.05 MB / 1.394 GB, free: 49.3 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.009451/1.886, allocations: 4.129 MB / 1.398 GB, free: 46.61 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01011/1.897, allocations: 2.999 MB / 1.401 GB, free: 44.62 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02963/1.926, allocations: 19.7 MB / 1.42 GB, free: 27.95 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.926, allocations: 0 / 1.42 GB, free: 27.95 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.005e-06/1.926, allocations: 4 kB / 1.42 GB, free: 27.95 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0009449/1.927, allocations: 0 / 1.42 GB, free: 27.95 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1803 * Number of variables: 1803 Notification: Performance of Generate backend data structure: time 0.04621/1.973, allocations: 18.57 MB / 1.438 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/1.973, allocations: 8.031 kB / 1.438 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004819/1.978, allocations: 0.9208 MB / 1.439 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01457/1.993, allocations: 2.696 MB / 1.442 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04089/2.034, allocations: 17.91 MB / 1.459 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001465/2.035, allocations: 0.7336 MB / 1.46 GB, free: 10.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004606/2.04, allocations: 0.8108 MB / 1.461 GB, free: 9.676 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0416/2.082, allocations: 14.92 MB / 1.475 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003867/2.082, allocations: 15.94 kB / 1.475 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003924/2.086, allocations: 288 kB / 1.475 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003096/2.086, allocations: 272.2 kB / 1.476 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04085/2.127, allocations: 19.51 MB / 1.495 GB, free: 7.32 MB / 1.045 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.1487/2.276, allocations: 78.85 MB / 1.572 GB, free: 5.871 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01874/2.295, allocations: 10.8 MB / 1.582 GB, free: 11.3 MB / 1.139 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.06273/2.357, allocations: 30.03 MB / 1.612 GB, free: 12.94 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01439/2.372, allocations: 8.828 MB / 1.62 GB, free: 4.082 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02918/2.401, allocations: 9.696 MB / 1.63 GB, free: 10.52 MB / 1.186 GB Notification: Performance of pre-optimization done (n=435): time 2.374e-05/2.401, allocations: 0 / 1.63 GB, free: 10.52 MB / 1.186 GB Notification: Performance of matching and sorting (n=630): time 1.718/4.119, allocations: 198.4 MB / 1.824 GB, free: 437.5 MB / 1.264 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! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2135:10-2135:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2052:9-2052:79:writable] Error: Internal error function createJacobian failed [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/Actuators/BaseClasses/ValveParameters.mo:26:3-31:109:writable] Warning: Parameter valNorth.res3.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-9:76:writable] Warning: Parameter valNorth.res3.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/Actuators/BaseClasses/ValveParameters.mo:26:3-31:109:writable] Warning: Parameter valNorth.res1.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-9:76:writable] Warning: Parameter valNorth.res1.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/Actuators/BaseClasses/ValveParameters.mo:26:3-31:109:writable] Warning: Parameter valSouth.res3.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-9:76:writable] Warning: Parameter valSouth.res3.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/Actuators/BaseClasses/ValveParameters.mo:26:3-31:109:writable] Warning: Parameter valSouth.res1.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-9:76:writable] Warning: Parameter valSouth.res1.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$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 (794): * Single equations (assignments): 778 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {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 {8 80,10 78} 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. 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! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2135:10-2135:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2052:9-2052:79:writable] Error: Internal error function createJacobian failed Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 16 ($STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],valSouth.res1.filter.s[1],valSouth.res3.filter.s[1],valSouth.vol.dynBal.U,valNorth.res1.filter.s[1],valNorth.res3.filter.s[1],valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,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 (545): * Single equations (assignments): 523 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 3 {12 76,12 93,1 1} [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4497:9-4497: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]