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.0007021/0.0007021, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 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.0007259/0.0007259, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.833/0.833, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.08493/0.08493, allocations: 17.45 MB / 276.6 MB, free: 11.75 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: "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 411.6 MB, free: 268 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.483e-05, allocations: 9.031 kB / 411.6 MB, free: 260 kB / 378.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.02419/0.02422, allocations: 28.63 MB / 440.2 MB, free: 3.691 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.16/0.1843, allocations: 8.794 MB / 449 MB, free: 59.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007493/0.185, allocations: 57.94 kB / 449.1 MB, free: 59.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.1866, allocations: 0.894 MB / 450 MB, free: 59.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.1879, allocations: 1.018 MB / 451 MB, free: 58.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.1893, allocations: 1.112 MB / 452.1 MB, free: 58.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.1905, allocations: 2.121 MB / 454.2 MB, free: 57.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002756/0.1908, allocations: 225.7 kB / 454.4 MB, free: 57.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006143/0.1914, allocations: 0.9973 MB / 455.4 MB, free: 56.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006028/0.192, allocations: 0.7795 MB / 456.2 MB, free: 56.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.1921, allocations: 133.8 kB / 456.3 MB, free: 56.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.1937, allocations: 1.241 MB / 457.6 MB, free: 56.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.1939, allocations: 496.9 kB / 458.1 MB, free: 56.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003156/0.1942, allocations: 0.5594 MB / 458.6 MB, free: 56.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.1962, allocations: 3.227 MB / 461.9 MB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1962, allocations: 3.188 kB / 461.9 MB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1962, allocations: 0 / 461.9 MB, free: 54.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.1962, allocations: 0 / 461.9 MB, free: 54.64 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.002085/0.1983, allocations: 2.158 MB / 464 MB, free: 53.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1983, allocations: 12.31 kB / 464 MB, free: 53.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.1985, allocations: 249.9 kB / 464.3 MB, free: 53.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004604/0.1989, allocations: 381.8 kB / 464.6 MB, free: 52.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009856/0.1999, allocations: 1.123 MB / 465.8 MB, free: 52.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.2, allocations: 230.7 kB / 466 MB, free: 52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.2002, allocations: 149.4 kB / 466.1 MB, free: 51.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003332/0.2035, allocations: 6.218 MB / 472.4 MB, free: 49.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.2035, allocations: 384 / 472.4 MB, free: 49.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/0.2036, allocations: 64.83 kB / 472.4 MB, free: 49.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001369/0.2037, allocations: 255.9 kB / 472.7 MB, free: 49.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0069/0.2106, allocations: 12.36 MB / 485 MB, free: 44.58 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.009304/0.2199, allocations: 9.098 MB / 494.1 MB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009987/0.2209, allocations: 0.8497 MB / 495 MB, free: 39.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005131/0.2214, allocations: 0.5603 MB / 495.5 MB, free: 39.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003869/0.2253, allocations: 3.582 MB / 499.1 MB, free: 37.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.2253, allocations: 46.12 kB / 499.2 MB, free: 37.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 2.955e-06/0.2253, allocations: 0 / 499.2 MB, free: 37.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=99): time 0.01496/0.2403, allocations: 7.429 MB / 0.4947 GB, free: 33.2 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.0009716/0.2413, allocations: 0.8057 MB / 0.4955 GB, free: 32.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009683/0.2422, allocations: 1.183 MB / 0.4967 GB, free: 31.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.467e-05/0.2423, allocations: 44.36 kB / 0.4967 GB, free: 31.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/0.2427, allocations: 1.055 MB / 0.4977 GB, free: 30.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/0.2429, allocations: 366.5 kB / 0.4981 GB, free: 30.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003974/0.2433, allocations: 450.8 kB / 0.4985 GB, free: 29.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 1.988e-05/0.2433, allocations: 305.1 kB / 0.4988 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006367/0.2439, allocations: 0.6278 MB / 0.4994 GB, free: 28.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007923/0.2447, allocations: 1.357 MB / 0.5008 GB, free: 27.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.2463, allocations: 2.208 MB / 0.5029 GB, free: 24.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.2464, allocations: 8 kB / 0.5029 GB, free: 24.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004212/0.2506, allocations: 2.802 MB / 0.5057 GB, free: 22.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.2506, allocations: 16 kB / 0.5057 GB, free: 22.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.2506, allocations: 24.7 kB / 0.5057 GB, free: 22.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003196/0.2538, allocations: 1.214 MB / 0.5069 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/0.2556, allocations: 0.7372 MB / 0.5076 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/0.2588, allocations: 3.675 MB / 0.5112 GB, free: 17.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.2598, allocations: 80.75 kB / 0.5113 GB, free: 17.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/0.26, allocations: 266.8 kB / 0.5115 GB, free: 16.88 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.0007502/0.2607, allocations: 0.5392 MB / 0.512 GB, free: 16.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.2609, allocations: 158.7 kB / 0.5122 GB, free: 16.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005785/0.2667, allocations: 3.068 MB / 0.5152 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.2667, allocations: 12 kB / 0.5152 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2667, allocations: 5.359 kB / 0.5152 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.2667, allocations: 3.938 kB / 0.5152 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0069/0.2736, allocations: 4.508 MB / 0.5196 GB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.2736, allocations: 2.625 kB / 0.5196 GB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/0.275, allocations: 0.4917 MB / 0.5201 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003193/0.2782, allocations: 1.163 MB / 0.5212 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/0.2783, allocations: 59.95 kB / 0.5213 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007246/0.2855, allocations: 7.038 MB / 0.5282 GB, free: 0.7266 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.0009028/0.2864, allocations: 0.721 MB / 0.5289 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00647/0.2929, allocations: 3.136 MB / 0.5319 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003561/0.2933, allocations: 137.6 kB / 0.5321 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.2934, allocations: 31.88 kB / 0.5321 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/0.2939, allocations: 35.98 kB / 0.5321 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/0.2941, allocations: 116.8 kB / 0.5322 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-05/0.2942, allocations: 98.66 kB / 0.5323 GB, free: 12.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008518/0.2951, allocations: 0.7862 MB / 0.5331 GB, free: 11.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2951, allocations: 0 / 0.5331 GB, free: 11.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001851/0.2969, allocations: 0.5035 MB / 0.5336 GB, free: 11.14 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.00666/0.3036, allocations: 3.964 MB / 0.5375 GB, free: 7.164 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003076/0.3067, allocations: 1.886 MB / 0.5393 GB, free: 5.281 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.3067, allocations: 3.938 kB / 0.5393 GB, free: 5.277 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001737/0.3084, allocations: 1.117 MB / 0.5404 GB, free: 4.145 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.3098, allocations: 302 kB / 0.5407 GB, free: 3.871 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.8798255510628223] Failed to read output from testmodel.py, exit status != 0: 0.31591750495135784 0.32409012000000004 0.126298457 Calling exit ...