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.000909/0.000909, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001284/0.002193, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001161/0.001161, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002489/0.00365, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 1.093/1.093, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1029/1.196, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.1177/0.1177, allocations: 17.44 MB / 261.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02937/0.147, allocations: 6.981 MB / 268.6 MB, free: 6.293 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.733e-06/1.733e-06, allocations: 0 / 269.8 MB, free: 5.012 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.803e-05, allocations: 2.312 kB / 269.8 MB, free: 5.008 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.1592/0.1592, allocations: 8.492 MB / 278.3 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02088/0.1801, allocations: 9.878 MB / 288.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002468/0.1826, allocations: 53.72 kB / 288.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003473/0.1861, allocations: 0.9167 MB / 289.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00371/0.1898, allocations: 1.006 MB / 290.2 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0035/0.1933, allocations: 1.115 MB / 291.3 MB, free: 9.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003789/0.1971, allocations: 2.101 MB / 293.4 MB, free: 8.648 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005006/0.1976, allocations: 249.1 kB / 293.7 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002322/0.1999, allocations: 1.059 MB / 294.7 MB, free: 7.844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.2018, allocations: 0.766 MB / 295.5 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.2021, allocations: 140.7 kB / 295.6 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003868/0.2059, allocations: 1.253 MB / 296.9 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004488/0.2064, allocations: 418.9 kB / 297.3 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008584/0.2072, allocations: 492.8 kB / 297.8 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00441/0.2117, allocations: 2.39 MB / 300.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.541e-05/0.2117, allocations: 0 / 300.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.2117, allocations: 4 kB / 300.2 MB, free: 4.039 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.382e-05/0.2118, allocations: 0 / 300.2 MB, free: 4.039 MB / 282.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.003128/0.2149, allocations: 2.529 MB / 302.7 MB, free: 1.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2149, allocations: 8.031 kB / 302.7 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.216, allocations: 0.8658 MB / 303.6 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.2171, allocations: 0.7894 MB / 304.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.2172, allocations: 234.3 kB / 304.6 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.2174, allocations: 152.3 kB / 304.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.2192, allocations: 1.786 MB / 306.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.2192, allocations: 192 / 306.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-05/0.2193, allocations: 64.11 kB / 306.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001749/0.2194, allocations: 243.6 kB / 306.8 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.2214, allocations: 2.578 MB / 309.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006867/0.2283, allocations: 5.951 MB / 315.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006553/0.2289, allocations: 0.4961 MB / 315.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.2292, allocations: 255.7 kB / 316.1 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00377/0.2329, allocations: 2.854 MB / 318.9 MB, free: 1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.233, allocations: 35.22 kB / 319 MB, free: 0.957 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.605e-06/0.233, allocations: 4 kB / 319 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of matching and sorting (n=86): time 0.01465/0.2476, allocations: 5.623 MB / 324.6 MB, free: 11.3 MB / 314.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.001023/0.2486, allocations: 0.8396 MB / 325.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000792/0.2494, allocations: 0.9441 MB / 326.4 MB, free: 9.469 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-05/0.2495, allocations: 45.69 kB / 326.4 MB, free: 9.418 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004257/0.2499, allocations: 0.9099 MB / 327.3 MB, free: 8.492 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.2502, allocations: 325.3 kB / 327.7 MB, free: 8.172 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004461/0.2506, allocations: 347.2 kB / 328 MB, free: 7.828 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.947e-05/0.2507, allocations: 305.1 kB / 328.3 MB, free: 7.527 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006849/0.2514, allocations: 302.7 kB / 328.6 MB, free: 7.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009621/0.2523, allocations: 1.016 MB / 329.6 MB, free: 5.871 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.2541, allocations: 1.57 MB / 331.2 MB, free: 3.953 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/0.2541, allocations: 8 kB / 331.2 MB, free: 3.945 MB / 314.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.004259/0.2584, allocations: 1.948 MB / 333.1 MB, free: 1.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.2584, allocations: 16 kB / 333.1 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/0.2584, allocations: 24 kB / 333.2 MB, free: 1.941 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004021/0.2625, allocations: 1.344 MB / 334.5 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/0.2643, allocations: 0.7723 MB / 335.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006173/0.2705, allocations: 4.76 MB / 340 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009162/0.2714, allocations: 67.98 kB / 340.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.2716, allocations: 168 kB / 340.3 MB, free: 10.63 MB / 330.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 (173): * Single equations (assignments): 170 * 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.0005648/0.2721, allocations: 236 kB / 340.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.2724, allocations: 123.9 kB / 340.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0043/0.2767, allocations: 1.907 MB / 342.5 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.2767, allocations: 8 kB / 342.5 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2767, allocations: 7.938 kB / 342.5 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.2767, allocations: 3.984 kB / 342.6 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005575/0.2823, allocations: 2.823 MB / 345.4 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.2823, allocations: 4 kB / 345.4 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.2836, allocations: 0.519 MB / 345.9 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.2838, allocations: 123 kB / 346 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004654/0.2885, allocations: 1.79 MB / 347.8 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.2886, allocations: 35.97 kB / 347.8 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006398/0.295, allocations: 4.797 MB / 352.6 MB, free: 13.93 MB / 346.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.0008883/0.2959, allocations: 0.7427 MB / 353.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004346/0.3002, allocations: 1.806 MB / 355.2 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002705/0.3005, allocations: 24 kB / 355.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.3009, allocations: 31.98 kB / 355.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.3011, allocations: 100.7 kB / 355.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.573e-05/0.3012, allocations: 71.97 kB / 355.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004985/0.3017, allocations: 447.5 kB / 355.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3017, allocations: 0 / 355.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00164/0.3033, allocations: 0.4996 MB / 356.4 MB, free: 10.14 MB / 346.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 (63): * Single equations (assignments): 60 * 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.0005746/0.3039, allocations: 340.7 kB / 356.7 MB, free: 9.805 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002702/0.3066, allocations: 1.396 MB / 358.1 MB, free: 8.395 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.586e-05/0.3066, allocations: 25.81 kB / 358.1 MB, free: 8.371 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.308, allocations: 0.8623 MB / 359 MB, free: 7.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.3097, allocations: 2.17 MB / 361.1 MB, free: 4.961 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4633:9-4633:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:793:5-793: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.9946919428184628]