Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="IDEAS_dev_IDEAS_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.001373/0.001374, allocations: 100.1 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.001642/0.001642, 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 2.803/2.803, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.672/1.672, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006245/0.0006252, allocations: 10.12 kB / 0.5069 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3116, allocations: 82.31 MB / 0.5873 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified4): time 2.219/2.531, allocations: 297.5 MB / 0.8778 GB, free: 50.27 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.1808/2.712, allocations: 63.2 MB / 0.9396 GB, free: 49.66 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03433/2.746, allocations: 343.9 kB / 0.9399 GB, free: 49.66 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.03227/2.779, allocations: 4.358 MB / 0.9441 GB, free: 49.64 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.1035/2.882, allocations: 13.26 MB / 0.9571 GB, free: 49.46 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.04607/2.928, allocations: 8.477 MB / 0.9654 GB, free: 48.82 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.06915/2.997, allocations: 20.26 MB / 0.9852 GB, free: 46.43 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.045/3.042, allocations: 14.97 MB / 0.9998 GB, free: 41.04 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05695/3.099, allocations: 12.08 MB / 1.012 GB, free: 33.98 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04411/3.144, allocations: 10.98 MB / 1.022 GB, free: 23.62 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.01679/3.161, allocations: 1 MB / 1.023 GB, free: 22.62 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06395/3.225, allocations: 4.058 MB / 1.027 GB, free: 18.73 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.02377/3.248, allocations: 4.115 MB / 1.031 GB, free: 14.9 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.02798/3.277, allocations: 3.005 MB / 1.034 GB, free: 11.88 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.06031/3.337, allocations: 19.69 MB / 1.053 GB, free: 9.047 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/3.337, allocations: 0 / 1.053 GB, free: 9.047 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.539e-06/3.337, allocations: 4 kB / 1.053 GB, free: 9.043 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.00111/3.338, allocations: 0 / 1.053 GB, free: 9.043 MB / 0.6856 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.1074/3.446, allocations: 18.58 MB / 1.072 GB, free: 6.523 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 9.348e-05/3.446, allocations: 15.91 kB / 1.072 GB, free: 6.508 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009229/3.455, allocations: 0.9223 MB / 1.072 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02499/3.48, allocations: 2.346 MB / 1.075 GB, free: 3.211 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07829/3.558, allocations: 17.78 MB / 1.092 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002637/3.561, allocations: 0.7396 MB / 1.093 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009492/3.571, allocations: 0.8039 MB / 1.094 GB, free: 144 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08128/3.652, allocations: 14.82 MB / 1.108 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007254/3.653, allocations: 15.78 kB / 1.108 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007766/3.661, allocations: 299.1 kB / 1.108 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004954/3.661, allocations: 261.6 kB / 1.109 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06813/3.729, allocations: 19.33 MB / 1.128 GB, free: 13.2 MB / 0.7637 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.682/5.411, allocations: 78.58 MB / 1.204 GB, free: 263.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03849/5.45, allocations: 10.61 MB / 1.215 GB, free: 258.4 MB / 0.7794 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.1189/5.569, allocations: 29.92 MB / 1.244 GB, free: 240.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0334/5.602, allocations: 8.725 MB / 1.252 GB, free: 235.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05416/5.657, allocations: 9.709 MB / 1.262 GB, free: 231.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=435): time 6.124e-05/5.657, allocations: 7.531 kB / 1.262 GB, free: 231.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=630): time 1.465/7.122, allocations: 198 MB / 1.455 GB, free: 40.6 MB / 0.7794 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/IDEAS 3.0.0-master/Fluid/Actuators/BaseClasses/ValveParameters.mo:26:3-31:105: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/IDEAS 3.0.0-master/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/IDEAS 3.0.0-master/Fluid/Actuators/BaseClasses/ValveParameters.mo:26:3-31:105: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/IDEAS 3.0.0-master/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/IDEAS 3.0.0-master/Fluid/Actuators/BaseClasses/ValveParameters.mo:26:3-31:105: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/IDEAS 3.0.0-master/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/IDEAS 3.0.0-master/Fluid/Actuators/BaseClasses/ValveParameters.mo:26:3-31:105: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/IDEAS 3.0.0-master/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]