Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.Simplified6,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="IDEAS_dev_IDEAS_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.001585/0.001585, allocations: 98.53 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.001633/0.001633, allocations: 177.3 kB / 15.94 MB, free: 228 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.784/2.784, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.847/1.847, allocations: 135.2 MB / 426.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005359/0.000536, allocations: 8.5 kB / 0.5069 GB, free: 5.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2651, allocations: 82.32 MB / 0.5873 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified6): time 1.93/2.195, allocations: 297.6 MB / 0.8779 GB, free: 50 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.1815/2.376, allocations: 63.2 MB / 0.9396 GB, free: 49.39 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03301/2.41, allocations: 344.1 kB / 0.94 GB, free: 49.39 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.03084/2.44, allocations: 4.35 MB / 0.9442 GB, free: 49.38 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.1051/2.546, allocations: 13.27 MB / 0.9572 GB, free: 49.2 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.05447/2.6, allocations: 8.482 MB / 0.9655 GB, free: 48.54 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.1007/2.701, allocations: 17.5 MB / 0.9826 GB, free: 46.5 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0832/2.784, allocations: 13.07 MB / 0.9953 GB, free: 41.74 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04331/2.827, allocations: 9.54 MB / 1.005 GB, free: 39.51 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02676/2.854, allocations: 6.907 MB / 1.011 GB, free: 33.62 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.007202/2.862, allocations: 0.5038 MB / 1.012 GB, free: 33.12 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02432/2.886, allocations: 3.076 MB / 1.015 GB, free: 30.18 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.008984/2.895, allocations: 2.78 MB / 1.018 GB, free: 27.55 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01234/2.907, allocations: 2.69 MB / 1.02 GB, free: 24.84 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03537/2.943, allocations: 14.85 MB / 1.035 GB, free: 10.67 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/2.943, allocations: 0 / 1.035 GB, free: 10.67 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.288e-06/2.943, allocations: 0 / 1.035 GB, free: 10.67 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.001054/2.944, allocations: 0 / 1.035 GB, free: 10.67 MB / 0.67 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.06531/3.009, allocations: 14.21 MB / 1.049 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 8.667e-05/3.009, allocations: 12.03 kB / 1.049 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005555/3.015, allocations: 0.7987 MB / 1.049 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01843/3.033, allocations: 2.26 MB / 1.052 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0679/3.101, allocations: 15.54 MB / 1.067 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003067/3.105, allocations: 0.7875 MB / 1.068 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004573/3.109, allocations: 0.7091 MB / 1.068 GB, free: 8.594 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04416/3.153, allocations: 8.883 MB / 1.077 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002516/3.154, allocations: 11.88 kB / 1.077 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002798/3.156, allocations: 260 kB / 1.077 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003854/3.157, allocations: 227.2 kB / 1.077 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03225/3.189, allocations: 7.39 MB / 1.085 GB, free: 7.461 MB / 0.7169 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.1631/3.352, allocations: 50.56 MB / 1.134 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02824/3.381, allocations: 5.528 MB / 1.139 GB, free: 12.71 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.06966/3.45, allocations: 13.16 MB / 1.152 GB, free: 15.41 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01122/3.462, allocations: 3.629 MB / 1.156 GB, free: 11.75 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01654/3.478, allocations: 1.925 MB / 1.158 GB, free: 9.824 MB / 0.795 GB Notification: Performance of pre-optimization done (n=335): time 3.856e-05/3.478, allocations: 0 / 1.158 GB, free: 9.824 MB / 0.795 GB Notification: Performance of matching and sorting (n=530): time 1.63/5.108, allocations: 54.66 MB / 1.211 GB, free: 301.6 MB / 0.795 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: 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]