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.001431/0.001431, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001201/0.001201, allocations: 173.3 kB / 23.49 MB, free: 1.062 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 1.14/1.14, allocations: 177.1 MB / 203.8 MB, free: 5.66 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.1102/0.1102, allocations: 17.45 MB / 277.7 MB, free: 11.64 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 2.505e-06/2.505e-06, allocations: 0 / 353.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.366e-05, allocations: 2.312 kB / 353.5 MB, free: 10.21 MB / 282.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.02801/0.02804, allocations: 32.07 MB / 385.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.03837, allocations: 9.628 MB / 395.2 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006279/0.039, allocations: 51.56 kB / 395.3 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.04074, allocations: 0.8892 MB / 396.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.04221, allocations: 1.024 MB / 397.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.04404, allocations: 1.108 MB / 398.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001552/0.04559, allocations: 2.114 MB / 400.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/0.04587, allocations: 224.3 kB / 400.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007442/0.04662, allocations: 0.9976 MB / 401.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008647/0.04748, allocations: 0.7909 MB / 402.4 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.04761, allocations: 136 kB / 402.6 MB, free: 9.207 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.04925, allocations: 1.243 MB / 403.8 MB, free: 7.961 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002738/0.04952, allocations: 498.2 kB / 404.3 MB, free: 7.473 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003854/0.04991, allocations: 0.5609 MB / 404.9 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002073/0.05198, allocations: 2.597 MB / 407.5 MB, free: 4.305 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.05198, allocations: 4 kB / 407.5 MB, free: 4.301 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.05199, allocations: 4 kB / 407.5 MB, free: 4.297 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.052, allocations: 0 / 407.5 MB, free: 4.297 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.002208/0.05421, allocations: 2.376 MB / 409.8 MB, free: 1.871 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.05424, allocations: 8.031 kB / 409.8 MB, free: 1.863 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008609/0.05511, allocations: 0.8584 MB / 410.7 MB, free: 1.004 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1779/0.233, allocations: 1.149 MB / 411.8 MB, free: 63.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.2332, allocations: 231.6 kB / 412.1 MB, free: 63.13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.2334, allocations: 153.6 kB / 412.2 MB, free: 63.13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002645/0.236, allocations: 2.093 MB / 414.3 MB, free: 62.99 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.236, allocations: 192 / 414.3 MB, free: 62.99 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.414e-05/0.2361, allocations: 65.91 kB / 414.4 MB, free: 62.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002213/0.2364, allocations: 254.3 kB / 414.6 MB, free: 62.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004291/0.2406, allocations: 3.377 MB / 418 MB, free: 62.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00735/0.248, allocations: 7.026 MB / 425 MB, free: 58.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007393/0.2487, allocations: 0.655 MB / 425.7 MB, free: 57.78 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.2491, allocations: 380 kB / 426.1 MB, free: 57.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003186/0.2523, allocations: 3.435 MB / 429.5 MB, free: 54.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.2523, allocations: 42.92 kB / 429.5 MB, free: 54.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 2.394e-06/0.2523, allocations: 3.469 kB / 429.5 MB, free: 54.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.01399/0.2663, allocations: 6.584 MB / 436.1 MB, free: 47.78 MB / 330.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.0009185/0.2672, allocations: 1.002 MB / 437.1 MB, free: 46.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008374/0.2681, allocations: 1.247 MB / 438.4 MB, free: 45.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.254e-05/0.2681, allocations: 44.36 kB / 438.4 MB, free: 45.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/0.2685, allocations: 1.168 MB / 439.6 MB, free: 44.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.2687, allocations: 368.4 kB / 439.9 MB, free: 44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003524/0.2691, allocations: 456.9 kB / 440.4 MB, free: 43.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.689e-05/0.2691, allocations: 476.8 kB / 440.9 MB, free: 43.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/0.2696, allocations: 407.8 kB / 441.3 MB, free: 42.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007184/0.2703, allocations: 1.462 MB / 442.7 MB, free: 40.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.2718, allocations: 2.103 MB / 444.8 MB, free: 38.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.2718, allocations: 4 kB / 444.8 MB, free: 38.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003817/0.2756, allocations: 2.371 MB / 447.2 MB, free: 35.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.2756, allocations: 16 kB / 447.2 MB, free: 35.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.2756, allocations: 30.59 kB / 447.2 MB, free: 35.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003047/0.2787, allocations: 1.106 MB / 448.3 MB, free: 34.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.28, allocations: 0.6488 MB / 449 MB, free: 34.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/0.2826, allocations: 4.042 MB / 453 MB, free: 29.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006389/0.2832, allocations: 79.97 kB / 453.1 MB, free: 29.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.2834, allocations: 247.9 kB / 453.4 MB, free: 29.56 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * 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 (187): * Single equations (assignments): 184 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,14), (1,6), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003797/0.2838, allocations: 277.2 kB / 453.6 MB, free: 29.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.284, allocations: 187 kB / 453.8 MB, free: 29.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005247/0.2893, allocations: 2.584 MB / 456.4 MB, free: 26.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.2893, allocations: 8 kB / 456.4 MB, free: 26.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2893, allocations: 6.688 kB / 456.4 MB, free: 26.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.2893, allocations: 3.984 kB / 456.4 MB, free: 26.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006494/0.2958, allocations: 3.983 MB / 460.4 MB, free: 22.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.2958, allocations: 2.625 kB / 460.4 MB, free: 22.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.2969, allocations: 406.2 kB / 460.8 MB, free: 22.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004593/0.3014, allocations: 1.498 MB / 462.3 MB, free: 20.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.528e-05/0.3015, allocations: 51.97 kB / 462.3 MB, free: 20.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006321/0.3079, allocations: 6.594 MB / 468.9 MB, free: 13.93 MB / 330.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.0008703/0.3087, allocations: 0.9314 MB / 469.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005098/0.3138, allocations: 2.454 MB / 472.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.314, allocations: 119.1 kB / 472.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.3141, allocations: 27.92 kB / 472.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.3145, allocations: 38.64 kB / 472.5 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/0.3147, allocations: 116.7 kB / 472.6 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.81e-05/0.3148, allocations: 95.97 kB / 472.7 MB, free: 10.1 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005462/0.3153, allocations: 0.6567 MB / 473.4 MB, free: 9.441 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3153, allocations: 0 / 473.4 MB, free: 9.441 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001438/0.3168, allocations: 0.4997 MB / 473.9 MB, free: 8.941 MB / 330.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.000484/0.3173, allocations: 389.1 kB / 474.2 MB, free: 8.625 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002241/0.3195, allocations: 1.603 MB / 475.9 MB, free: 7.023 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3195, allocations: 0 / 475.9 MB, free: 7.023 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.3209, allocations: 1.102 MB / 477 MB, free: 5.887 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008039/0.3217, allocations: 373.1 kB / 477.3 MB, free: 5.562 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4695:9-4695:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:856:5-856: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: 2.2493617800064385]