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.001534/0.001534, allocations: 88.72 kB / 19.44 MB, free: 356 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.00166/0.00166, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.487/1.487, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.1385/0.1385, allocations: 17.46 MB / 277 MB, free: 11.57 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.412e-06/1.412e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.383e-05, allocations: 8.922 kB / 352.8 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.04255/0.04258, allocations: 28.85 MB / 381.7 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.016/0.05858, allocations: 8.809 MB / 390.5 MB, free: 4.645 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.05989, allocations: 55.56 kB / 390.5 MB, free: 4.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00319/0.06308, allocations: 0.8892 MB / 391.4 MB, free: 3.695 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.06606, allocations: 1.012 MB / 392.4 MB, free: 2.676 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003081/0.06914, allocations: 1.115 MB / 393.5 MB, free: 1.555 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003567/0.07271, allocations: 2.116 MB / 395.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005191/0.07323, allocations: 216.3 kB / 395.9 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.07479, allocations: 1.001 MB / 396.9 MB, free: 14.19 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.07621, allocations: 0.7714 MB / 397.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000476/0.07669, allocations: 136 kB / 397.8 MB, free: 13.28 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/0.08005, allocations: 1.243 MB / 399 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005158/0.08057, allocations: 494.2 kB / 399.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008388/0.08141, allocations: 0.5609 MB / 400.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005528/0.08694, allocations: 3.232 MB / 403.3 MB, free: 7.746 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.08694, allocations: 0 / 403.3 MB, free: 7.746 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.08694, allocations: 0 / 403.3 MB, free: 7.746 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.324e-05/0.08698, allocations: 3.984 kB / 403.3 MB, free: 7.742 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.004583/0.09156, allocations: 2.157 MB / 405.4 MB, free: 5.543 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.09161, allocations: 12.03 kB / 405.5 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.09325, allocations: 0.8662 MB / 406.3 MB, free: 4.664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/0.09521, allocations: 1.156 MB / 407.5 MB, free: 3.473 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002844/0.09549, allocations: 238.3 kB / 407.7 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002434/0.09574, allocations: 152.3 kB / 407.9 MB, free: 3.066 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.133/0.2287, allocations: 6.206 MB / 414.1 MB, free: 61.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.499e-05/0.2287, allocations: 192 / 414.1 MB, free: 61.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.2289, allocations: 68.91 kB / 414.1 MB, free: 61.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003112/0.2292, allocations: 253.9 kB / 414.4 MB, free: 61.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01124/0.2404, allocations: 12.36 MB / 426.7 MB, free: 55.44 MB / 330.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.01134/0.2517, allocations: 8.898 MB / 435.6 MB, free: 47.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.2529, allocations: 0.8603 MB / 436.5 MB, free: 46.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006487/0.2536, allocations: 0.5661 MB / 437.1 MB, free: 45.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005571/0.2592, allocations: 3.655 MB / 440.7 MB, free: 42.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.2592, allocations: 43.16 kB / 440.8 MB, free: 42.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 2.164e-06/0.2592, allocations: 0 / 440.8 MB, free: 42.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.03032/0.2895, allocations: 7.334 MB / 448.1 MB, free: 35.04 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.002049/0.2915, allocations: 0.808 MB / 448.9 MB, free: 34.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.2929, allocations: 1.177 MB / 450.1 MB, free: 33.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001878/0.2931, allocations: 41.7 kB / 450.1 MB, free: 33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005478/0.2937, allocations: 1.044 MB / 451.2 MB, free: 32.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004144/0.2941, allocations: 368.5 kB / 451.5 MB, free: 31.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006793/0.2948, allocations: 431.3 kB / 451.9 MB, free: 31.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.544e-05/0.2948, allocations: 303.8 kB / 452.2 MB, free: 30.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009527/0.2958, allocations: 0.6247 MB / 452.9 MB, free: 30.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.297, allocations: 1.352 MB / 454.2 MB, free: 28.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/0.2995, allocations: 2.192 MB / 456.4 MB, free: 26.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/0.2995, allocations: 4 kB / 456.4 MB, free: 26.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.008261/0.3077, allocations: 2.86 MB / 459.3 MB, free: 23.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.3078, allocations: 21.81 kB / 459.3 MB, free: 23.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.558e-05/0.3078, allocations: 27.94 kB / 459.3 MB, free: 23.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007091/0.3149, allocations: 1.251 MB / 460.6 MB, free: 22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/0.3181, allocations: 0.7307 MB / 461.3 MB, free: 21.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005247/0.3233, allocations: 3.634 MB / 464.9 MB, free: 17.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.3251, allocations: 86.62 kB / 465 MB, free: 17.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003651/0.3255, allocations: 243.9 kB / 465.3 MB, free: 17.21 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): 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.001037/0.3265, allocations: 0.5348 MB / 465.8 MB, free: 16.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005309/0.327, allocations: 195 kB / 466 MB, free: 16.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/0.3391, allocations: 2.974 MB / 469 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.3391, allocations: 11.94 kB / 469 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.3392, allocations: 7.938 kB / 469 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.3392, allocations: 7.969 kB / 469 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/0.3529, allocations: 4.274 MB / 473.3 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.353, allocations: 4 kB / 473.3 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002562/0.3555, allocations: 498.1 kB / 473.8 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01067/0.3662, allocations: 1.632 MB / 475.4 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002033/0.3664, allocations: 51.97 kB / 475.4 MB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01347/0.3799, allocations: 7.006 MB / 482.4 MB, free: 44 kB / 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.002385/0.3822, allocations: 0.7239 MB / 483.2 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/0.3962, allocations: 3.201 MB / 486.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004019/0.3966, allocations: 123.1 kB / 486.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003353/0.397, allocations: 23.94 kB / 486.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.398, allocations: 39.98 kB / 486.5 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004154/0.3984, allocations: 116.8 kB / 486.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/0.3986, allocations: 102.6 kB / 486.8 MB, free: 11.69 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001498/0.4001, allocations: 0.7662 MB / 487.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4001, allocations: 3.938 kB / 487.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0023/0.4024, allocations: 0.5074 MB / 488 MB, free: 10.41 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.0008195/0.4033, allocations: 376.8 kB / 488.4 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005527/0.4088, allocations: 1.884 MB / 490.3 MB, free: 8.227 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4088, allocations: 0 / 490.3 MB, free: 8.227 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003705/0.4125, allocations: 1.118 MB / 491.4 MB, free: 7.094 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/0.4146, allocations: 369.3 kB / 491.8 MB, free: 6.766 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4696:9-4696:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:846:5-846: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.6831230940297246]