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.001157/0.001157, allocations: 84.44 kB / 19.18 MB, free: 0.7383 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.001526/0.001526, allocations: 173.9 kB / 22.46 MB, free: 2.102 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.9629/0.9629, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.0861/0.0861, allocations: 17.45 MB / 276.6 MB, free: 11.76 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",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Examples_HeatingOfAlcohol",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 413.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.048e-05, allocations: 2.281 kB / 413.1 MB, free: 11.88 MB / 330.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.0373/0.03732, allocations: 37.6 MB / 450.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.04902, allocations: 8.822 MB / 459.6 MB, free: 9.566 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.05047, allocations: 55.56 kB / 459.6 MB, free: 9.512 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002189/0.05266, allocations: 0.8889 MB / 460.5 MB, free: 8.832 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002371/0.05503, allocations: 1.021 MB / 461.5 MB, free: 7.973 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.05755, allocations: 1.106 MB / 462.6 MB, free: 6.914 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002709/0.06026, allocations: 2.115 MB / 464.7 MB, free: 4.789 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004424/0.06071, allocations: 228.2 kB / 465 MB, free: 4.551 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.06196, allocations: 0.9937 MB / 466 MB, free: 3.555 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.06301, allocations: 0.7792 MB / 466.7 MB, free: 2.773 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002192/0.06323, allocations: 136 kB / 466.9 MB, free: 2.641 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.06603, allocations: 1.243 MB / 468.1 MB, free: 1.395 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003423/0.06637, allocations: 486.2 kB / 468.6 MB, free: 0.918 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006628/0.06704, allocations: 0.5609 MB / 469.1 MB, free: 364 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004446/0.07148, allocations: 3.233 MB / 472.4 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.07149, allocations: 0 / 472.4 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.07149, allocations: 0 / 472.4 MB, free: 13.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.199e-05/0.07156, allocations: 4 kB / 472.4 MB, free: 13.11 MB / 378.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.002955/0.07452, allocations: 2.163 MB / 474.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.07456, allocations: 8.031 kB / 474.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004749/0.07504, allocations: 254.2 kB / 474.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005725/0.07561, allocations: 379.3 kB / 475.2 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.07728, allocations: 1.117 MB / 476.3 MB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.07744, allocations: 238.3 kB / 476.5 MB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.07758, allocations: 148.4 kB / 476.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004404/0.08198, allocations: 6.217 MB / 482.9 MB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.08201, allocations: 192 / 482.9 MB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.746e-05/0.08209, allocations: 63.92 kB / 482.9 MB, free: 2.414 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001648/0.08225, allocations: 255.6 kB / 483.2 MB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007804/0.09005, allocations: 12.35 MB / 495.6 MB, free: 5.805 MB / 394.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.01008/0.1001, allocations: 9.109 MB / 0.4928 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009644/0.1011, allocations: 0.8436 MB / 0.4937 GB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005398/0.1016, allocations: 0.57 MB / 0.4942 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004084/0.1057, allocations: 3.583 MB / 0.4977 GB, free: 7.562 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1057, allocations: 43.22 kB / 0.4978 GB, free: 7.512 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 2.995e-06/0.1057, allocations: 0 / 0.4978 GB, free: 7.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=99): time 0.01729/0.123, allocations: 7.427 MB / 0.505 GB, free: 15.97 MB / 426.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.001179/0.1242, allocations: 0.8131 MB / 0.5058 GB, free: 15.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.1257, allocations: 1.182 MB / 0.507 GB, free: 13.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.1258, allocations: 37.7 kB / 0.507 GB, free: 13.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005123/0.1263, allocations: 1.053 MB / 0.508 GB, free: 12.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.1266, allocations: 368.9 kB / 0.5084 GB, free: 12.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004455/0.127, allocations: 455.2 kB / 0.5088 GB, free: 12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.756e-05/0.1271, allocations: 305.1 kB / 0.5091 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007854/0.1279, allocations: 0.6286 MB / 0.5097 GB, free: 11.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.1292, allocations: 1.357 MB / 0.511 GB, free: 9.367 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/0.1314, allocations: 2.202 MB / 0.5132 GB, free: 6.816 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.1314, allocations: 8 kB / 0.5132 GB, free: 6.809 MB / 426.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004785/0.1362, allocations: 2.807 MB / 0.5159 GB, free: 3.984 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.1363, allocations: 24.02 kB / 0.516 GB, free: 3.961 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.1363, allocations: 24 kB / 0.516 GB, free: 3.938 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003579/0.1399, allocations: 1.208 MB / 0.5172 GB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/0.1416, allocations: 0.7413 MB / 0.5179 GB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003856/0.1455, allocations: 3.672 MB / 0.5215 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009713/0.1464, allocations: 84.02 kB / 0.5215 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/0.1467, allocations: 263.9 kB / 0.5218 GB, free: 13.8 MB / 442.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.0008619/0.1475, allocations: 0.5398 MB / 0.5223 GB, free: 13.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.1478, allocations: 163 kB / 0.5225 GB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006408/0.1542, allocations: 3.067 MB / 0.5255 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.1542, allocations: 12 kB / 0.5255 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1542, allocations: 0 / 0.5255 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.1542, allocations: 7.984 kB / 0.5255 GB, free: 9.992 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008058/0.1622, allocations: 4.507 MB / 0.5299 GB, free: 5.379 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1623, allocations: 4 kB / 0.5299 GB, free: 5.375 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/0.1636, allocations: 499.7 kB / 0.5304 GB, free: 4.887 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003444/0.167, allocations: 1.177 MB / 0.5315 GB, free: 3.699 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.1672, allocations: 51.97 kB / 0.5316 GB, free: 3.648 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008965/0.1761, allocations: 7.028 MB / 0.5384 GB, free: 12.37 MB / 458.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.001037/0.1772, allocations: 0.7307 MB / 0.5392 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008293/0.1854, allocations: 3.149 MB / 0.5422 GB, free: 8.418 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.1858, allocations: 127 kB / 0.5424 GB, free: 8.293 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.186, allocations: 27.94 kB / 0.5424 GB, free: 8.266 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006169/0.1866, allocations: 40.02 kB / 0.5424 GB, free: 8.227 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002993/0.1869, allocations: 116.8 kB / 0.5425 GB, free: 8.113 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.187, allocations: 95.97 kB / 0.5426 GB, free: 8.02 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001002/0.188, allocations: 0.7862 MB / 0.5434 GB, free: 7.23 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.188, allocations: 0 / 0.5434 GB, free: 7.23 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001829/0.1898, allocations: 0.5035 MB / 0.5439 GB, free: 6.727 MB / 458.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.009042/0.1989, allocations: 3.971 MB / 0.5478 GB, free: 2.699 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003781/0.2027, allocations: 1.883 MB / 0.5496 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2027, allocations: 0 / 0.5496 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002255/0.2049, allocations: 1.112 MB / 0.5507 GB, free: 15.67 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.2062, allocations: 308 kB / 0.551 GB, free: 15.38 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4683:9-4683:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:843:5-843: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.203739257529378]