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.0007151/0.0007151, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009407/0.001656, allocations: 443.8 kB / 10.29 MB, free: 404 kB / 10.45 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.001119/0.001119, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001417/0.002536, allocations: 475.6 kB / 11.64 MB, free: 2.531 MB / 13.93 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.9361/0.9361, allocations: 177.1 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07845/1.015, allocations: 53.67 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.07897/0.07897, allocations: 17.45 MB / 261.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008718/0.08769, allocations: 6.963 MB / 268.3 MB, free: 6.395 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Examples_HeatingOfAlcohol",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Examples_HeatingOfAlcohol",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 0 / 269.6 MB, free: 5.172 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.291e-06/7.283e-06, allocations: 5.547 kB / 269.6 MB, free: 5.168 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.1122/0.1123, allocations: 8.412 MB / 278 MB, free: 1.359 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0145/0.1267, allocations: 9.795 MB / 287.8 MB, free: 11.58 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007539/0.1275, allocations: 62.38 kB / 287.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.1293, allocations: 0.9065 MB / 288.7 MB, free: 11.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.131, allocations: 1.011 MB / 289.7 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.133, allocations: 1.118 MB / 290.9 MB, free: 9.848 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001859/0.1349, allocations: 2.096 MB / 293 MB, free: 8.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003323/0.1352, allocations: 242 kB / 293.2 MB, free: 8.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.1365, allocations: 1.064 MB / 294.3 MB, free: 8.023 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.1376, allocations: 0.7668 MB / 295 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.1378, allocations: 134.4 kB / 295.2 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.14, allocations: 1.251 MB / 296.4 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003087/0.1403, allocations: 413.8 kB / 296.8 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005467/0.1408, allocations: 495.3 kB / 297.3 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002605/0.1434, allocations: 2.398 MB / 299.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.507e-05/0.1435, allocations: 0 / 299.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1435, allocations: 0 / 299.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.77e-05/0.1435, allocations: 0 / 299.7 MB, free: 4.379 MB / 282.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.002707/0.1462, allocations: 2.541 MB / 302.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1462, allocations: 8.031 kB / 302.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000215/0.1464, allocations: 265.9 kB / 302.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.1475, allocations: 0.8568 MB / 303.4 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.1486, allocations: 0.7971 MB / 304.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.1488, allocations: 234.3 kB / 304.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.1489, allocations: 148.3 kB / 304.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.1509, allocations: 1.794 MB / 306.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.1509, allocations: 4.188 kB / 306.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.479e-05/0.151, allocations: 63.92 kB / 306.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002362/0.1512, allocations: 251.6 kB / 306.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/0.1538, allocations: 2.574 MB / 309.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008093/0.1619, allocations: 6.175 MB / 315.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.1626, allocations: 0.4922 MB / 315.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.1629, allocations: 255.8 kB / 316.1 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00439/0.1673, allocations: 2.858 MB / 319 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1674, allocations: 39.22 kB / 319 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.064e-06/0.1674, allocations: 0 / 319 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.01958/0.1869, allocations: 6.008 MB / 325 MB, free: 10.74 MB / 314.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.001138/0.1881, allocations: 0.7985 MB / 325.8 MB, free: 9.898 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007638/0.1888, allocations: 0.9816 MB / 326.8 MB, free: 8.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.891e-05/0.1889, allocations: 41.7 kB / 326.9 MB, free: 8.863 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004503/0.1894, allocations: 0.9062 MB / 327.8 MB, free: 7.941 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/0.1896, allocations: 372.8 kB / 328.1 MB, free: 7.574 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004637/0.1901, allocations: 367.1 kB / 328.5 MB, free: 7.211 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.571e-05/0.1902, allocations: 301.1 kB / 328.8 MB, free: 6.914 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006107/0.1908, allocations: 338.7 kB / 329.1 MB, free: 6.582 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009451/0.1917, allocations: 1.04 MB / 330.1 MB, free: 5.195 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/0.1936, allocations: 1.57 MB / 331.7 MB, free: 3.281 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.1937, allocations: 11.94 kB / 331.7 MB, free: 3.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.005516/0.1992, allocations: 2.026 MB / 333.8 MB, free: 1.223 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.1992, allocations: 19.94 kB / 333.8 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/0.1992, allocations: 24 kB / 333.8 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004398/0.2036, allocations: 1.337 MB / 335.1 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.2055, allocations: 0.8231 MB / 336 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006163/0.2116, allocations: 4.807 MB / 340.8 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006366/0.2123, allocations: 71.98 kB / 340.8 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.2124, allocations: 183.9 kB / 341 MB, free: 9.734 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.0003629/0.2128, allocations: 235 kB / 341.2 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.213, allocations: 135.9 kB / 341.4 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004638/0.2176, allocations: 2.029 MB / 343.4 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.2177, allocations: 8 kB / 343.4 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2177, allocations: 4 kB / 343.4 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.2177, allocations: 11.97 kB / 343.4 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005873/0.2235, allocations: 3.147 MB / 346.6 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2235, allocations: 0 / 346.6 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/0.225, allocations: 0.5542 MB / 347.1 MB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.2251, allocations: 131 kB / 347.3 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004432/0.2296, allocations: 1.534 MB / 348.8 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.028e-05/0.2296, allocations: 43.97 kB / 348.8 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006166/0.2358, allocations: 4.847 MB / 353.7 MB, free: 12.69 MB / 346.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.0008554/0.2367, allocations: 0.7385 MB / 354.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004248/0.2409, allocations: 1.911 MB / 356.3 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.241, allocations: 24 kB / 356.4 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.2414, allocations: 27.98 kB / 356.4 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.2416, allocations: 112.7 kB / 356.5 MB, free: 9.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.166e-05/0.2416, allocations: 71.97 kB / 356.6 MB, free: 9.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003212/0.242, allocations: 457.1 kB / 357 MB, free: 9.277 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.242, allocations: 0 / 357 MB, free: 9.277 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001141/0.2431, allocations: 0.5076 MB / 357.5 MB, free: 8.77 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.004822/0.2479, allocations: 2.617 MB / 360.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001999/0.2499, allocations: 1.454 MB / 361.6 MB, free: 4.617 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.799e-05/0.25, allocations: 17.81 kB / 361.6 MB, free: 4.598 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.2511, allocations: 0.8564 MB / 362.5 MB, free: 3.711 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007747/0.2519, allocations: 481.6 kB / 362.9 MB, free: 3.262 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4091:9-4091:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:743:5-743: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.669788435101509]