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.000985/0.000985, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001026/0.001026, allocations: 165 kB / 23.02 MB, free: 1.555 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.9645/0.9645, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.08696/0.08696, allocations: 17.46 MB / 277.4 MB, free: 11.55 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.031e-06/1.031e-06, allocations: 0 / 353.5 MB, free: 9.883 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.145e-05, allocations: 6.25 kB / 353.5 MB, free: 9.875 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.02328/0.02331, allocations: 32.17 MB / 385.7 MB, free: 9.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.03373, allocations: 9.679 MB / 395.4 MB, free: 108 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007044/0.03443, allocations: 51.56 kB / 395.4 MB, free: 56 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.03622, allocations: 0.8931 MB / 396.3 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.03753, allocations: 1.012 MB / 397.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.03901, allocations: 1.115 MB / 398.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001676/0.04068, allocations: 2.122 MB / 400.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000262/0.04094, allocations: 224.3 kB / 400.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006363/0.04158, allocations: 1.002 MB / 401.8 MB, free: 9.637 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007204/0.0423, allocations: 0.7909 MB / 402.6 MB, free: 8.844 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.04242, allocations: 136 kB / 402.7 MB, free: 8.711 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.04383, allocations: 1.243 MB / 404 MB, free: 7.465 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002756/0.0441, allocations: 494.1 kB / 404.4 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003838/0.04448, allocations: 0.5609 MB / 405 MB, free: 6.418 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.04673, allocations: 2.605 MB / 407.6 MB, free: 3.805 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.04673, allocations: 0 / 407.6 MB, free: 3.805 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.04673, allocations: 0 / 407.6 MB, free: 3.805 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.04674, allocations: 0 / 407.6 MB, free: 3.805 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.002025/0.04877, allocations: 2.38 MB / 410 MB, free: 1.375 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.0488, allocations: 12.03 kB / 410 MB, free: 1.363 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007979/0.0496, allocations: 0.8545 MB / 410.9 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1373/0.1869, allocations: 1.143 MB / 412 MB, free: 47.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.1871, allocations: 232.3 kB / 412.2 MB, free: 47.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.1873, allocations: 154.5 kB / 412.4 MB, free: 47.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/0.19, allocations: 2.1 MB / 414.5 MB, free: 47.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.19, allocations: 192 / 414.5 MB, free: 47.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/0.1901, allocations: 64.12 kB / 414.5 MB, free: 47.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002182/0.1903, allocations: 253 kB / 414.8 MB, free: 47.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004068/0.1944, allocations: 3.376 MB / 418.2 MB, free: 47.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007021/0.2014, allocations: 7.022 MB / 425.2 MB, free: 45.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008057/0.2022, allocations: 0.6671 MB / 425.8 MB, free: 44.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004058/0.2026, allocations: 381.3 kB / 426.2 MB, free: 44.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003304/0.2059, allocations: 3.426 MB / 429.6 MB, free: 43.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.2059, allocations: 44.45 kB / 429.7 MB, free: 43.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 2.174e-06/0.2059, allocations: 0 / 429.7 MB, free: 43.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.01305/0.219, allocations: 6.594 MB / 436.3 MB, free: 37.66 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.0008977/0.2199, allocations: 1.009 MB / 437.3 MB, free: 36.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008108/0.2207, allocations: 1.245 MB / 438.5 MB, free: 35.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.839e-05/0.2208, allocations: 47.56 kB / 438.6 MB, free: 35.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/0.2211, allocations: 1.163 MB / 439.7 MB, free: 34.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.2213, allocations: 359.9 kB / 440.1 MB, free: 33.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003553/0.2217, allocations: 460.9 kB / 440.5 MB, free: 33.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.613e-05/0.2217, allocations: 483.4 kB / 441 MB, free: 32.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/0.2222, allocations: 407.7 kB / 441.4 MB, free: 32.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007001/0.2229, allocations: 1.465 MB / 442.9 MB, free: 30.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.2243, allocations: 2.097 MB / 445 MB, free: 28.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.2244, allocations: 8 kB / 445 MB, free: 28.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003805/0.2282, allocations: 2.354 MB / 447.3 MB, free: 25.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.2282, allocations: 16 kB / 447.4 MB, free: 25.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.2282, allocations: 28 kB / 447.4 MB, free: 25.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/0.2312, allocations: 1.115 MB / 448.5 MB, free: 24.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.2326, allocations: 0.6438 MB / 449.1 MB, free: 24.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/0.2352, allocations: 4.051 MB / 453.2 MB, free: 20.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006139/0.2358, allocations: 82.17 kB / 453.3 MB, free: 19.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.236, allocations: 243.9 kB / 453.5 MB, free: 19.75 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.0003858/0.2364, allocations: 278.7 kB / 453.8 MB, free: 19.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004755/0.2368, allocations: 194 kB / 454 MB, free: 19.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006825/0.2437, allocations: 2.576 MB / 456.6 MB, free: 16.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.2437, allocations: 8 kB / 456.6 MB, free: 16.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.2437, allocations: 4 kB / 456.6 MB, free: 16.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.2437, allocations: 7.969 kB / 456.6 MB, free: 16.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009036/0.2527, allocations: 3.975 MB / 460.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.2527, allocations: 8.656 kB / 460.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/0.2542, allocations: 411.7 kB / 461 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006072/0.2603, allocations: 1.483 MB / 462.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/0.2604, allocations: 55.91 kB / 462.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008354/0.2688, allocations: 6.592 MB / 469.1 MB, free: 4.254 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.001183/0.27, allocations: 0.9361 MB / 470 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006832/0.2768, allocations: 2.444 MB / 472.5 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.277, allocations: 125.6 kB / 472.6 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.2772, allocations: 25.97 kB / 472.6 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005205/0.2777, allocations: 35.98 kB / 472.7 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002519/0.278, allocations: 120 kB / 472.8 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.2781, allocations: 95.97 kB / 472.9 MB, free: 468 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007398/0.2788, allocations: 0.6529 MB / 473.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2788, allocations: 2.656 kB / 473.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001738/0.2806, allocations: 0.5113 MB / 474 MB, free: 15.29 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 (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.0006002/0.2812, allocations: 376.4 kB / 474.4 MB, free: 14.99 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003245/0.2844, allocations: 1.612 MB / 476 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2844, allocations: 0 / 476 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002004/0.2864, allocations: 1.105 MB / 477.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.2875, allocations: 362.6 kB / 477.5 MB, free: 12.02 MB / 346.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.0285531990230083]