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.0009057/0.0009057, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.002003/0.002003, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.078/1.078, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.08785/0.08785, allocations: 17.46 MB / 277.7 MB, free: 11.41 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.165e-06/2.165e-06, allocations: 0 / 354 MB, free: 9.594 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.864e-05, allocations: 13.56 kB / 354 MB, free: 9.582 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.03285/0.03288, allocations: 32.05 MB / 386 MB, free: 9.652 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.04431, allocations: 9.55 MB / 395.6 MB, free: 68 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.04573, allocations: 55.5 kB / 395.6 MB, free: 12 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.04819, allocations: 0.8971 MB / 396.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002455/0.05065, allocations: 1.012 MB / 397.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.05321, allocations: 1.115 MB / 398.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002892/0.0561, allocations: 2.13 MB / 400.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004557/0.05655, allocations: 228.3 kB / 401 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.058, allocations: 0.9937 MB / 402 MB, free: 9.582 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.05908, allocations: 0.7986 MB / 402.8 MB, free: 8.781 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002211/0.0593, allocations: 136 kB / 402.9 MB, free: 8.648 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.06214, allocations: 1.243 MB / 404.2 MB, free: 7.402 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003706/0.06251, allocations: 490.2 kB / 404.7 MB, free: 6.922 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005962/0.0631, allocations: 0.557 MB / 405.2 MB, free: 6.363 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003884/0.06699, allocations: 2.605 MB / 407.8 MB, free: 3.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.06699, allocations: 0 / 407.8 MB, free: 3.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.06699, allocations: 3.938 kB / 407.8 MB, free: 3.746 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.231e-05/0.06704, allocations: 0 / 407.8 MB, free: 3.746 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.002852/0.0699, allocations: 2.395 MB / 410.2 MB, free: 1.301 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.06994, allocations: 12.03 kB / 410.2 MB, free: 1.289 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.07096, allocations: 0.8584 MB / 411.1 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.183/0.2539, allocations: 1.143 MB / 412.2 MB, free: 47.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.2541, allocations: 237.6 kB / 412.5 MB, free: 47.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.2543, allocations: 148.8 kB / 412.6 MB, free: 47.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.2563, allocations: 1.692 MB / 414.3 MB, free: 47.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.2564, allocations: 3.625 kB / 414.3 MB, free: 47.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.92e-05/0.2564, allocations: 62.89 kB / 414.4 MB, free: 47.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002138/0.2567, allocations: 256.3 kB / 414.6 MB, free: 47.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002922/0.2596, allocations: 2.672 MB / 417.3 MB, free: 47.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008032/0.2676, allocations: 7.082 MB / 424.4 MB, free: 45.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/0.2683, allocations: 0.5959 MB / 425 MB, free: 45.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.2686, allocations: 326.8 kB / 425.3 MB, free: 45.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003682/0.2723, allocations: 3.458 MB / 428.8 MB, free: 43.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.2723, allocations: 42.92 kB / 428.8 MB, free: 43.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 1.963e-06/0.2723, allocations: 0 / 428.8 MB, free: 43.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.01527/0.2876, allocations: 6.643 MB / 435.4 MB, free: 38.88 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.0008987/0.2885, allocations: 1.002 MB / 436.4 MB, free: 37.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008263/0.2893, allocations: 1.231 MB / 437.7 MB, free: 36.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-05/0.2894, allocations: 45.7 kB / 437.7 MB, free: 36.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/0.2898, allocations: 1.181 MB / 438.9 MB, free: 35.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.29, allocations: 365.4 kB / 439.3 MB, free: 35.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003652/0.2904, allocations: 463.3 kB / 439.7 MB, free: 34.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.18e-05/0.2904, allocations: 476.8 kB / 440.2 MB, free: 34.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/0.2908, allocations: 375.7 kB / 440.5 MB, free: 34.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006729/0.2915, allocations: 1.429 MB / 442 MB, free: 32.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.2929, allocations: 2.026 MB / 444 MB, free: 29.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.2929, allocations: 8 kB / 444 MB, free: 29.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004953/0.2979, allocations: 2.655 MB / 446.7 MB, free: 27.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.2979, allocations: 16 kB / 446.7 MB, free: 27.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/0.298, allocations: 24 kB / 446.7 MB, free: 27.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004234/0.3022, allocations: 1.41 MB / 448.1 MB, free: 26.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.3037, allocations: 0.6403 MB / 448.7 MB, free: 25.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006252/0.3099, allocations: 6.803 MB / 455.5 MB, free: 18.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009387/0.3108, allocations: 68 kB / 455.6 MB, free: 18.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/0.311, allocations: 238.5 kB / 455.8 MB, free: 18.27 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 (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.0004929/0.3115, allocations: 275.2 kB / 456.1 MB, free: 18.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.3118, allocations: 189.1 kB / 456.3 MB, free: 17.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004994/0.3168, allocations: 2.447 MB / 458.7 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.3168, allocations: 8 kB / 458.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3168, allocations: 4 kB / 458.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.3168, allocations: 3.984 kB / 458.8 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006196/0.323, allocations: 3.886 MB / 462.6 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.323, allocations: 4 kB / 462.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.324, allocations: 407.5 kB / 463.1 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004571/0.3286, allocations: 1.483 MB / 464.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.3287, allocations: 51.97 kB / 464.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005901/0.3346, allocations: 6.426 MB / 471 MB, free: 3.488 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.0009509/0.3356, allocations: 0.9197 MB / 471.9 MB, free: 2.555 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00494/0.3405, allocations: 2.249 MB / 474.2 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.3408, allocations: 128.2 kB / 474.3 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.3409, allocations: 24 kB / 474.3 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.3413, allocations: 27.98 kB / 474.4 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/0.3415, allocations: 116.8 kB / 474.5 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/0.3416, allocations: 90.62 kB / 474.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006276/0.3423, allocations: 0.6244 MB / 475.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3423, allocations: 0 / 475.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001865/0.3441, allocations: 0.5231 MB / 475.7 MB, free: 14.86 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.0006918/0.3448, allocations: 404.8 kB / 476.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002735/0.3476, allocations: 1.763 MB / 477.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3476, allocations: 0 / 477.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001441/0.349, allocations: 1.047 MB / 478.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009607/0.35, allocations: 368.1 kB / 479.3 MB, free: 11.48 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4595:9-4595:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:827:5-827: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.187238920945674]