Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.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: translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008512/0.000851, 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.0009445/0.0009444, 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 1.22/1.22, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8439/0.8439, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002696/0.0002697, allocations: 9.469 kB / 0.5068 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 82.31 MB / 0.5872 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified5): time 0.7796/0.9166, allocations: 297.6 MB / 0.8778 GB, free: 49.94 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.08161/0.9983, allocations: 63.2 MB / 0.9395 GB, free: 49.32 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01423/1.013, allocations: 344.7 kB / 0.9398 GB, free: 49.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01688/1.029, allocations: 4.356 MB / 0.9441 GB, free: 49.31 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.04495/1.074, allocations: 13.28 MB / 0.957 GB, free: 49.12 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02503/1.099, allocations: 8.483 MB / 0.9653 GB, free: 48.41 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02968/1.129, allocations: 17.53 MB / 0.9824 GB, free: 46.38 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02046/1.15, allocations: 14.14 MB / 0.9963 GB, free: 41.24 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02386/1.174, allocations: 11.24 MB / 1.007 GB, free: 37.77 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02079/1.194, allocations: 10.4 MB / 1.017 GB, free: 27.98 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.005303/1.2, allocations: 0.9688 MB / 1.018 GB, free: 27.01 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01527/1.215, allocations: 3.551 MB / 1.022 GB, free: 23.59 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.007407/1.222, allocations: 3.91 MB / 1.026 GB, free: 19.96 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.007612/1.23, allocations: 2.686 MB / 1.028 GB, free: 17.26 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02114/1.251, allocations: 17.83 MB / 1.046 GB, free: 228 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/1.251, allocations: 4 kB / 1.046 GB, free: 224 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.162e-06/1.251, allocations: 0 / 1.046 GB, free: 224 kB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0007574/1.252, allocations: 0 / 1.046 GB, free: 224 kB / 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.04265/1.295, allocations: 17.48 MB / 1.063 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/1.295, allocations: 8.031 kB / 1.063 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/1.306, allocations: 2.421 MB / 1.065 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03295/1.339, allocations: 16.57 MB / 1.081 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00163/1.341, allocations: 0.7985 MB / 1.082 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003135/1.344, allocations: 0.7031 MB / 1.083 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03005/1.374, allocations: 13.96 MB / 1.096 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000132/1.374, allocations: 11.84 kB / 1.096 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00144/1.375, allocations: 253.8 kB / 1.097 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/1.376, allocations: 221.3 kB / 1.097 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03384/1.409, allocations: 18.97 MB / 1.115 GB, free: 8.875 MB / 0.7481 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.7947/2.204, allocations: 74.36 MB / 1.188 GB, free: 122.4 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01699/2.221, allocations: 10.61 MB / 1.198 GB, free: 122.3 MB / 0.795 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.05386/2.275, allocations: 28.97 MB / 1.227 GB, free: 115.1 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01212/2.287, allocations: 8.792 MB / 1.235 GB, free: 115 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02458/2.312, allocations: 9.899 MB / 1.245 GB, free: 112.9 MB / 0.795 GB Notification: Performance of pre-optimization done (n=402): time 3.277e-05/2.312, allocations: 0 / 1.245 GB, free: 112.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=597): time 0.8634/3.175, allocations: 214.5 MB / 1.454 GB, free: 5.699 MB / 0.8575 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2135:10-2135:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/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: 207 * 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 (707): * Single equations (assignments): 691 * 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 {(31,84.4%) 40} * 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2135:10-2135:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/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 (509): * Single equations (assignments): 487 * 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 {(31,84.4%) 40} * Non-linear torn systems: 3 {12 76,12 93,1 1} [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4497:9-4497:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/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]