Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.Testing.Reboiler.Reboiler_StartUp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo", uses=false) Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermalSeparation.Examples.Testing.Reboiler.Reboiler_StartUp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Reboiler.Reboiler_StartUp") translateModel(ThermalSeparation.Examples.Testing.Reboiler.Reboiler_StartUp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Reboiler.Reboiler_StartUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001038, allocations: 170.9 kB / 16.76 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007558/0.0007557, allocations: 90.39 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.4858/0.4858, allocations: 64.94 MB / 384.5 MB, free: 36.26 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003669, allocations: 12 kB / 457.2 MB, free: 11.42 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3379, allocations: 62.04 MB / 0.5071 GB, free: 34.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.051/1.389, allocations: 415.6 MB / 0.9129 GB, free: 188 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/1.389, allocations: 70.55 kB / 0.913 GB, free: 187.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3046/1.694, allocations: 143.7 MB / 1.053 GB, free: 45.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.534e-06/1.694, allocations: 3.938 kB / 1.053 GB, free: 45.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001368/1.694, allocations: 44 kB / 1.053 GB, free: 45.15 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 575 * Number of variables: 575 Notification: Performance of Generate backend data structure: time 0.006894/1.701, allocations: 2.212 MB / 1.056 GB, free: 42.87 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/1.701, allocations: 8.031 kB / 1.056 GB, free: 42.86 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/1.702, allocations: 234.3 kB / 1.056 GB, free: 42.63 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/1.705, allocations: 0.9703 MB / 1.057 GB, free: 41.61 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/1.705, allocations: 182.4 kB / 1.057 GB, free: 41.43 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001183/1.706, allocations: 264.5 kB / 1.057 GB, free: 41.17 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006456/1.713, allocations: 2.916 MB / 1.06 GB, free: 38.07 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.473e-05/1.713, allocations: 3.938 kB / 1.06 GB, free: 38.07 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004111/1.713, allocations: 87.98 kB / 1.06 GB, free: 37.98 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001629/1.713, allocations: 151.7 kB / 1.06 GB, free: 37.84 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005371/1.719, allocations: 2.486 MB / 1.063 GB, free: 35.35 MB / 0.5417 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.01612/1.735, allocations: 10.34 MB / 1.073 GB, free: 24.67 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/1.737, allocations: 1.592 MB / 1.074 GB, free: 22.99 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/1.738, allocations: 0.8861 MB / 1.075 GB, free: 22.09 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008519/1.739, allocations: 0.5436 MB / 1.076 GB, free: 21.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001535/1.741, allocations: 1.024 MB / 1.077 GB, free: 20.39 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=153): time 5.089e-06/1.741, allocations: 0 / 1.077 GB, free: 20.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=206): time 0.0584/1.799, allocations: 16.9 MB / 1.093 GB, free: 3.293 MB / 0.5417 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! Notification: Performance of inlineWhenForInitialization (initialization): time 0.004509/1.804, allocations: 1.827 MB / 1.095 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/1.806, allocations: 1.242 MB / 1.096 GB, free: 116 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004599/1.806, allocations: 69.62 kB / 1.096 GB, free: 40 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.3073/2.114, allocations: 0.9833 MB / 1.097 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001422/2.115, allocations: 0.7039 MB / 1.098 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/2.115, allocations: 55.66 kB / 1.098 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003413/2.116, allocations: 473.7 kB / 1.098 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003286/2.119, allocations: 1.377 MB / 1.1 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003225/2.122, allocations: 2.295 MB / 1.102 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05141/2.174, allocations: 12.27 MB / 1.114 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.362e-05/2.174, allocations: 10.44 kB / 1.114 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=362) (initialization): time 0.01957/2.193, allocations: 6.565 MB / 1.12 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.763e-05/2.193, allocations: 52.36 kB / 1.12 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.213e-05/2.194, allocations: 29.41 kB / 1.121 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/2.204, allocations: 2.166 MB / 1.123 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/2.207, allocations: 0.5691 MB / 1.123 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02696/2.234, allocations: 12.88 MB / 1.136 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00331/2.237, allocations: 273.2 kB / 1.136 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003546/2.238, allocations: 144.7 kB / 1.136 GB, free: 104.7 MB / 0.5417 GB Warning: Assuming fixed start value for the following 1 variables: sumpV1.startupCalc:DISCRETE(start = true fixed = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.Q_Reboiler.nextTimeEvent,$PRE.sumpV1.startupCalc,$whenCondition1,Q_Reboiler.nextTimeEvent,$PRE.Q_Reboiler.nextTimeEventScaled,Q_Reboiler.nextTimeEventScaled,sumpV1.startupCalc,sumpV1.mediumLiquidIn.state.phase,sumpV1.mediumLiquid.state.phase,sourceLiquid.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (292): * Single equations (assignments): 285 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 42} * Non-linear torn systems: 3 {1 6,3 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001434/2.239, allocations: 0.6797 MB / 1.137 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/2.24, allocations: 166.2 kB / 1.137 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01692/2.256, allocations: 5.67 MB / 1.143 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01633/2.273, allocations: 5.093 MB / 1.148 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-05/2.273, allocations: 3.844 kB / 1.148 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-05/2.273, allocations: 14.03 kB / 1.148 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02403/2.297, allocations: 9.811 MB / 1.157 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.26e-05/2.297, allocations: 3.25 kB / 1.157 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002048/2.299, allocations: 311.2 kB / 1.157 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01093/2.31, allocations: 2.828 MB / 1.16 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004351/2.311, allocations: 57.48 kB / 1.16 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006233/2.317, allocations: 4.28 MB / 1.164 GB, free: 99.21 MB / 0.5417 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! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00339/2.32, allocations: 1.544 MB / 1.166 GB, free: 98.55 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02094/2.341, allocations: 7.908 MB / 1.174 GB, free: 95.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/2.343, allocations: 0.4947 MB / 1.174 GB, free: 95.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004485/2.343, allocations: 47.16 kB / 1.174 GB, free: 95.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/2.345, allocations: 183.2 kB / 1.174 GB, free: 95.54 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003702/2.346, allocations: 147.3 kB / 1.174 GB, free: 95.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002023/2.346, allocations: 72.75 kB / 1.175 GB, free: 95.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001343/2.347, allocations: 0.8049 MB / 1.175 GB, free: 95.18 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.31e-07/2.347, allocations: 4 kB / 1.175 GB, free: 95.17 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003158/2.35, allocations: 0.8201 MB / 1.176 GB, free: 95.06 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],sumpV1.V_vap) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,Q_Reboiler.nextTimeEvent,Q_Reboiler.nextTimeEventScaled,sumpV1.startupCalc) * Number of discrete states: 4 (Q_Reboiler.nextTimeEvent,sumpV1.startupCalc,$whenCondition1,Q_Reboiler.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {12 34,1 3,9 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002281/2.353, allocations: 1.168 MB / 1.177 GB, free: 94.75 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008647/2.361, allocations: 4.181 MB / 1.181 GB, free: 93.24 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/2.361, allocations: 0 / 1.181 GB, free: 93.24 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004917/2.366, allocations: 2.159 MB / 1.183 GB, free: 92.54 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/2.369, allocations: 408 kB / 1.184 GB, free: 92.4 MB / 0.5417 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4558:9-4558:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:762:5-762:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]