Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.HeatingOfAlcohol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 177 kB / 23.35 MB, free: 1.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9993/0.9993, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1008/0.1008, allocations: 17.47 MB / 277.7 MB, free: 11.44 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.HeatingOfAlcohol") translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.HeatingOfAlcohol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 3.938 kB / 300.8 MB, free: 1.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058e-05/1.17e-05, allocations: 8.422 kB / 300.8 MB, free: 1.504 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.03369/0.0337, allocations: 37.9 MB / 338.7 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.04573, allocations: 9.77 MB / 348.4 MB, free: 4.496 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.04677, allocations: 59.5 kB / 348.5 MB, free: 4.438 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002129/0.0489, allocations: 0.9125 MB / 349.4 MB, free: 3.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.05077, allocations: 1.008 MB / 350.4 MB, free: 2.504 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.05305, allocations: 1.127 MB / 351.5 MB, free: 1.371 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002253/0.0553, allocations: 2.112 MB / 353.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003715/0.05567, allocations: 242.2 kB / 353.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.05676, allocations: 0.9977 MB / 354.9 MB, free: 13.97 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009494/0.05771, allocations: 0.7675 MB / 355.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.05789, allocations: 136 kB / 355.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.06063, allocations: 1.255 MB / 357 MB, free: 11.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.0609, allocations: 494.2 kB / 357.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004372/0.06134, allocations: 0.5531 MB / 358.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002701/0.06404, allocations: 2.609 MB / 360.7 MB, free: 8.156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.06405, allocations: 0 / 360.7 MB, free: 8.156 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.06405, allocations: 0 / 360.7 MB, free: 8.156 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.785e-05/0.06408, allocations: 0 / 360.7 MB, free: 8.156 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.002105/0.06618, allocations: 2.155 MB / 362.8 MB, free: 5.965 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.06622, allocations: 12.03 kB / 362.9 MB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.06744, allocations: 0.7822 MB / 363.6 MB, free: 5.172 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008927/0.06833, allocations: 0.7893 MB / 364.4 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.06846, allocations: 238.2 kB / 364.7 MB, free: 4.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.06858, allocations: 148.3 kB / 364.8 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.07, allocations: 1.789 MB / 366.6 MB, free: 2.137 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.07003, allocations: 4.188 kB / 366.6 MB, free: 2.133 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.243e-05/0.07009, allocations: 64.11 kB / 366.7 MB, free: 2.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001693/0.07026, allocations: 255.6 kB / 366.9 MB, free: 1.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.07217, allocations: 2.567 MB / 369.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006076/0.07824, allocations: 5.937 MB / 375.4 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005723/0.07882, allocations: 0.4922 MB / 375.9 MB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.07907, allocations: 251.7 kB / 376.1 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003368/0.08244, allocations: 2.854 MB / 379 MB, free: 5.609 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.08247, allocations: 43.16 kB / 379 MB, free: 5.555 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 2.064e-06/0.08247, allocations: 0 / 379 MB, free: 5.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=99): time 0.03431/0.1168, allocations: 6.352 MB / 385.4 MB, free: 15.08 MB / 362.7 MB 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.001187/0.118, allocations: 0.8051 MB / 386.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003897/0.1219, allocations: 0.948 MB / 387.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.627e-05/0.122, allocations: 41.7 kB / 387.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004879/0.1225, allocations: 0.91 MB / 388.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000298/0.1227, allocations: 372.8 kB / 388.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004744/0.1232, allocations: 379.2 kB / 388.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.317e-05/0.1233, allocations: 305.1 kB / 389.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000642/0.1239, allocations: 342.6 kB / 389.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003987/0.1279, allocations: 1.051 MB / 390.5 MB, free: 9.535 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/0.13, allocations: 1.66 MB / 392.2 MB, free: 7.527 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.13, allocations: 4 kB / 392.2 MB, free: 7.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.009096/0.1391, allocations: 2.073 MB / 394.3 MB, free: 5.434 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.1391, allocations: 16 kB / 394.3 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.1392, allocations: 24 kB / 394.3 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003865/0.143, allocations: 1.355 MB / 395.6 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/0.1449, allocations: 0.7879 MB / 396.4 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006417/0.1513, allocations: 5.014 MB / 401.5 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006791/0.152, allocations: 64 kB / 401.5 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.1521, allocations: 207.9 kB / 401.7 MB, free: 13.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 4 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase,Ethanol.substanceDefinitionVar.SelfClustering,Ethanol.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,14,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004563/0.1526, allocations: 231.9 kB / 401.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.1528, allocations: 131.9 kB / 402.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004697/0.1575, allocations: 2.126 MB / 404.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.1575, allocations: 11.94 kB / 404.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1575, allocations: 4 kB / 404.2 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.1575, allocations: 3.984 kB / 404.2 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005646/0.1632, allocations: 2.975 MB / 407.2 MB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.1632, allocations: 0 / 407.2 MB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/0.1647, allocations: 0.5269 MB / 407.7 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004339/0.169, allocations: 1.542 MB / 409.3 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.757e-05/0.1691, allocations: 39.97 kB / 409.3 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005924/0.175, allocations: 4.785 MB / 414.1 MB, free: 1.02 MB / 378.7 MB 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.0008451/0.1759, allocations: 0.7381 MB / 414.8 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00423/0.1801, allocations: 1.907 MB / 416.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.1802, allocations: 119 kB / 416.8 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.1803, allocations: 31.88 kB / 416.9 MB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.1807, allocations: 31.98 kB / 416.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.1809, allocations: 108.7 kB / 417 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-05/0.181, allocations: 71.97 kB / 417.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003318/0.1813, allocations: 447.9 kB / 417.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1813, allocations: 4 kB / 417.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001379/0.1827, allocations: 0.5191 MB / 418 MB, free: 12.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 ($STATESET1.x,Ethanol.logm,liquidWater.logm) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,14,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000491/0.1832, allocations: 393.2 kB / 418.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002048/0.1852, allocations: 1.473 MB / 419.9 MB, free: 11.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.04e-05/0.1852, allocations: 17.81 kB / 419.9 MB, free: 11.08 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.1867, allocations: 0.8486 MB / 420.8 MB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000726/0.1875, allocations: 343.4 kB / 421.1 MB, free: 9.867 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4069:9-4069:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:791:5-791:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.9086618749424815]