Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified6",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.001204/0.001204, allocations: 100.2 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.001356/0.001356, 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.325/1.325, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.286/2.286, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003194, allocations: 8 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7424/0.7428, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 0.2799/1.023, allocations: 297.7 MB / 1.244 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7432/1.766, allocations: 63.28 MB / 1.306 GB, free: 62.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.017/1.783, allocations: 346.3 kB / 1.306 GB, free: 62.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.02048/1.804, allocations: 4.355 MB / 1.311 GB, free: 62.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.04947/1.853, allocations: 13.31 MB / 1.324 GB, free: 61.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02608/1.879, allocations: 8.501 MB / 1.332 GB, free: 61.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03409/1.913, allocations: 17.53 MB / 1.349 GB, free: 61.71 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02142/1.935, allocations: 13.06 MB / 1.362 GB, free: 57.64 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02868/1.963, allocations: 9.529 MB / 1.371 GB, free: 56.45 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02128/1.985, allocations: 6.92 MB / 1.378 GB, free: 55.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.005866/1.991, allocations: 0.4992 MB / 1.378 GB, free: 55.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01879/2.01, allocations: 3.072 MB / 1.381 GB, free: 54.7 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.008325/2.018, allocations: 2.783 MB / 1.384 GB, free: 53.55 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01032/2.028, allocations: 2.69 MB / 1.387 GB, free: 53.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02353/2.052, allocations: 14.85 MB / 1.401 GB, free: 41.7 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/2.052, allocations: 4 kB / 1.401 GB, free: 41.69 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.705e-06/2.052, allocations: 0 / 1.401 GB, free: 41.69 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0009618/2.053, allocations: 0 / 1.401 GB, free: 41.69 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: 1549 * Number of variables: 1549 Notification: Performance of Generate backend data structure: time 0.03808/2.091, allocations: 14.2 MB / 1.415 GB, free: 28.55 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/2.091, allocations: 8.031 kB / 1.415 GB, free: 28.54 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003102/2.094, allocations: 0.8023 MB / 1.416 GB, free: 28.11 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01306/2.107, allocations: 2.617 MB / 1.418 GB, free: 25.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03251/2.14, allocations: 15.66 MB / 1.434 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001674/2.141, allocations: 0.7948 MB / 1.435 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002874/2.144, allocations: 0.7048 MB / 1.435 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0246/2.169, allocations: 8.99 MB / 1.444 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004538/2.169, allocations: 19.78 kB / 1.444 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002997/2.172, allocations: 264.5 kB / 1.444 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002804/2.173, allocations: 222.4 kB / 1.444 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0216/2.194, allocations: 7.569 MB / 1.452 GB, free: 1.031 MB / 0.9981 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.09414/2.289, allocations: 50.83 MB / 1.502 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/2.301, allocations: 5.722 MB / 1.507 GB, free: 6.699 MB / 1.061 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.04162/2.343, allocations: 13.25 MB / 1.52 GB, free: 9.305 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00849/2.351, allocations: 3.719 MB / 1.524 GB, free: 5.551 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01015/2.362, allocations: 1.921 MB / 1.526 GB, free: 3.629 MB / 1.076 GB Notification: Performance of pre-optimization done (n=335): time 2.096e-05/2.362, allocations: 0 / 1.526 GB, free: 3.629 MB / 1.076 GB Notification: Performance of matching and sorting (n=530): time 0.2065/2.568, allocations: 55.12 MB / 1.579 GB, free: 11.61 MB / 1.139 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: 269 * 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 (772): * Single equations (assignments): 757 * 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: 2 * 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: 0 * Non-linear torn systems: 2 {8 80,8 80} 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: 11 ($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,heater.outCon.T) * 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 (446): * Single equations (assignments): 425 * 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: 3 * 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: 0 * 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]