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.0007481/0.0007481, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007876/0.0007876, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8486/0.8486, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.08013/0.08013, allocations: 17.45 MB / 277.4 MB, free: 11.78 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.653e-06/1.653e-06, allocations: 0 / 412.8 MB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.003e-05, allocations: 6.219 kB / 412.8 MB, free: 15.76 MB / 394.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.02731/0.02734, allocations: 28.64 MB / 441.5 MB, free: 3.191 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1683/0.1957, allocations: 8.805 MB / 450.3 MB, free: 59.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.1969, allocations: 51.91 kB / 450.3 MB, free: 59.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.1987, allocations: 0.8928 MB / 451.2 MB, free: 59.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.2006, allocations: 1.014 MB / 452.3 MB, free: 59.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.2026, allocations: 1.109 MB / 453.4 MB, free: 58.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001611/0.2042, allocations: 2.117 MB / 455.5 MB, free: 57.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000288/0.2045, allocations: 218.3 kB / 455.7 MB, free: 57.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007264/0.2052, allocations: 0.9972 MB / 456.7 MB, free: 57.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006921/0.2059, allocations: 0.7773 MB / 457.5 MB, free: 56.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.206, allocations: 134.9 kB / 457.6 MB, free: 56.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.2082, allocations: 1.242 MB / 458.8 MB, free: 56.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.2084, allocations: 494 kB / 459.3 MB, free: 56.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003373/0.2088, allocations: 0.5555 MB / 459.9 MB, free: 56.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002805/0.2116, allocations: 3.23 MB / 463.1 MB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2116, allocations: 0 / 463.1 MB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2116, allocations: 2.719 kB / 463.1 MB, free: 54.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.115e-05/0.2116, allocations: 0 / 463.1 MB, free: 54.68 MB / 410.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.001926/0.2135, allocations: 2.165 MB / 465.3 MB, free: 53.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2136, allocations: 12.25 kB / 465.3 MB, free: 53.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004407/0.214, allocations: 382.9 kB / 465.7 MB, free: 53.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009165/0.2149, allocations: 1.117 MB / 466.8 MB, free: 52.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.215, allocations: 228.7 kB / 467 MB, free: 52.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.2152, allocations: 157.1 kB / 467.2 MB, free: 52.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00335/0.2185, allocations: 6.219 MB / 473.4 MB, free: 49.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.2185, allocations: 2.844 kB / 473.4 MB, free: 49.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.172e-05/0.2186, allocations: 59.36 kB / 473.4 MB, free: 49.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/0.2188, allocations: 260.2 kB / 473.7 MB, free: 49.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007432/0.2262, allocations: 12.36 MB / 486 MB, free: 44.78 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008868/0.2351, allocations: 8.815 MB / 494.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009316/0.236, allocations: 0.8527 MB / 495.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/0.2365, allocations: 0.5591 MB / 496.3 MB, free: 39.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003751/0.2403, allocations: 3.591 MB / 499.9 MB, free: 38.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.2403, allocations: 45.09 kB / 499.9 MB, free: 38.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 2.565e-06/0.2403, allocations: 0 / 499.9 MB, free: 38.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=99): time 0.01481/0.2551, allocations: 7.423 MB / 0.4954 GB, free: 33.46 MB / 410.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.0009776/0.2561, allocations: 0.8169 MB / 0.4962 GB, free: 32.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.2571, allocations: 1.171 MB / 0.4974 GB, free: 31.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.801e-05/0.2572, allocations: 41.7 kB / 0.4974 GB, free: 31.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.2576, allocations: 1.06 MB / 0.4985 GB, free: 30.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.2578, allocations: 361.8 kB / 0.4988 GB, free: 30.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003861/0.2582, allocations: 451 kB / 0.4992 GB, free: 29.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.858e-05/0.2582, allocations: 301.1 kB / 0.4995 GB, free: 29.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006444/0.2588, allocations: 0.6346 MB / 0.5001 GB, free: 29.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008222/0.2597, allocations: 1.357 MB / 0.5015 GB, free: 27.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.2613, allocations: 2.2 MB / 0.5036 GB, free: 25.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.2613, allocations: 8 kB / 0.5036 GB, free: 25.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004197/0.2655, allocations: 2.81 MB / 0.5064 GB, free: 22.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.2655, allocations: 19.41 kB / 0.5064 GB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.2655, allocations: 29.53 kB / 0.5064 GB, free: 22.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003106/0.2686, allocations: 1.208 MB / 0.5076 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/0.2703, allocations: 0.7449 MB / 0.5083 GB, free: 21.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003019/0.2733, allocations: 3.652 MB / 0.5119 GB, free: 17.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.2743, allocations: 77.08 kB / 0.512 GB, free: 17.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/0.2745, allocations: 273.4 kB / 0.5122 GB, free: 17.18 MB / 410.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.0007768/0.2753, allocations: 0.5423 MB / 0.5127 GB, free: 16.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.2755, allocations: 147.1 kB / 0.5129 GB, free: 16.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00562/0.2811, allocations: 3.063 MB / 0.5159 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.2811, allocations: 15.94 kB / 0.5159 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2811, allocations: 4 kB / 0.5159 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.2811, allocations: 10.08 kB / 0.5159 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00681/0.2879, allocations: 4.229 MB / 0.52 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.2879, allocations: 0 / 0.52 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.2892, allocations: 491.5 kB / 0.5205 GB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003071/0.2923, allocations: 1.176 MB / 0.5217 GB, free: 8.629 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.2924, allocations: 58.61 kB / 0.5217 GB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007357/0.2997, allocations: 6.979 MB / 0.5285 GB, free: 1.383 MB / 410.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.0009577/0.3007, allocations: 0.7253 MB / 0.5292 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006614/0.3073, allocations: 3.15 MB / 0.5323 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004452/0.3077, allocations: 119 kB / 0.5324 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.3079, allocations: 27.95 kB / 0.5324 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004282/0.3083, allocations: 43.98 kB / 0.5325 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/0.3086, allocations: 119.4 kB / 0.5326 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.37e-05/0.3086, allocations: 91.97 kB / 0.5327 GB, free: 13.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007716/0.3094, allocations: 0.786 MB / 0.5335 GB, free: 12.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3094, allocations: 0 / 0.5335 GB, free: 12.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001591/0.311, allocations: 0.4996 MB / 0.5339 GB, free: 11.8 MB / 426.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.0005411/0.3115, allocations: 389.3 kB / 0.5343 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003001/0.3145, allocations: 1.887 MB / 0.5362 GB, free: 9.543 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3146, allocations: 2.656 kB / 0.5362 GB, free: 9.543 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001687/0.3162, allocations: 1.109 MB / 0.5372 GB, free: 8.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009478/0.3172, allocations: 302.7 kB / 0.5375 GB, free: 8.141 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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.9221660438925028] Failed to read output from testmodel.py, exit status != 0: 0.32315875869244337 0.330785508 0.11755116300000001 Calling exit ...