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.001364/0.001364, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.001849/0.001849, allocations: 213.3 kB / 22.24 MB, free: 5.258 MB / 14.72 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 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.1518/0.1518, allocations: 23.92 MB / 336.3 MB, free: 10.92 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 67.91 kB / 471.7 MB, free: 6.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4188, allocations: 59.89 MB / 0.5191 GB, free: 9.754 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1350:7-1350: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:1350:7-1350: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.0813/0.5001, allocations: 27.92 MB / 0.5464 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01685/0.5169, allocations: 7.843 MB / 0.554 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003388/0.5203, allocations: 39.75 kB / 0.5541 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003384/0.5237, allocations: 0.7696 MB / 0.5548 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003791/0.5275, allocations: 0.8096 MB / 0.5556 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003434/0.5309, allocations: 0.9055 MB / 0.5565 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003947/0.5349, allocations: 1.893 MB / 0.5583 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005264/0.5354, allocations: 226 kB / 0.5585 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.5366, allocations: 0.6272 MB / 0.5592 GB, free: 172 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/0.5382, allocations: 0.8762 MB / 0.56 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002195/0.5384, allocations: 131.9 kB / 0.5601 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003134/0.5415, allocations: 0.9565 MB / 0.5611 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004894/0.542, allocations: 431.2 kB / 0.5615 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007674/0.5428, allocations: 0.6555 MB / 0.5621 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006047/0.5488, allocations: 3.036 MB / 0.5651 GB, free: 10.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.5488, allocations: 0 / 0.5651 GB, free: 10.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5488, allocations: 4 kB / 0.5651 GB, free: 10.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.23e-05/0.5489, allocations: 0 / 0.5651 GB, free: 10.65 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.004077/0.5529, allocations: 2.095 MB / 0.5671 GB, free: 8.516 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.553, allocations: 12.03 kB / 0.5671 GB, free: 8.504 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009281/0.5539, allocations: 355.3 kB / 0.5675 GB, free: 8.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.5552, allocations: 0.7379 MB / 0.5682 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002553/0.5554, allocations: 234.2 kB / 0.5684 GB, free: 7.137 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.5557, allocations: 152.3 kB / 0.5686 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007065/0.5627, allocations: 5.95 MB / 0.5744 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.534e-05/0.5628, allocations: 0 / 0.5744 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.5629, allocations: 59.98 kB / 0.5744 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002966/0.5632, allocations: 247.5 kB / 0.5747 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/0.5776, allocations: 11.61 MB / 0.586 GB, free: 5.102 MB / 430.1 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.0155/0.5931, allocations: 8.459 MB / 0.5943 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.5947, allocations: 0.8365 MB / 0.5951 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008487/0.5956, allocations: 0.5309 MB / 0.5956 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007285/0.6029, allocations: 3.396 MB / 0.5989 GB, free: 7.754 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.6029, allocations: 39.22 kB / 0.599 GB, free: 7.703 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 3.486e-06/0.6029, allocations: 3.938 kB / 0.599 GB, free: 7.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.03279/0.6357, allocations: 7.556 MB / 0.6064 GB, free: 32 kB / 446.1 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.006647/0.6424, allocations: 1.781 MB / 0.6081 GB, free: 14.21 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.6443, allocations: 1.173 MB / 0.6092 GB, free: 13.02 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002665/0.6445, allocations: 41.7 kB / 0.6093 GB, free: 12.98 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009563/0.6455, allocations: 1.049 MB / 0.6103 GB, free: 11.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006002/0.6461, allocations: 361 kB / 0.6106 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008878/0.647, allocations: 439.3 kB / 0.6111 GB, free: 11.12 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6471, allocations: 301.1 kB / 0.6114 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.6483, allocations: 0.6169 MB / 0.612 GB, free: 10.21 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.6502, allocations: 1.345 MB / 0.6133 GB, free: 8.516 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003772/0.654, allocations: 2.163 MB / 0.6154 GB, free: 6.004 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-05/0.654, allocations: 8 kB / 0.6154 GB, free: 5.996 MB / 462.1 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.01141/0.6654, allocations: 3.037 MB / 0.6184 GB, free: 2.941 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/0.6655, allocations: 16 kB / 0.6184 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.374e-05/0.6655, allocations: 24 kB / 0.6184 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006722/0.6723, allocations: 1.204 MB / 0.6196 GB, free: 1.688 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002808/0.6751, allocations: 0.5304 MB / 0.6201 GB, free: 1.156 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006916/0.682, allocations: 3.655 MB / 0.6237 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.6837, allocations: 64.03 kB / 0.6237 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005719/0.6843, allocations: 264 kB / 0.624 GB, free: 13.03 MB / 478.1 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 (184): * Single equations (assignments): 181 * 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.001552/0.6858, allocations: 0.5323 MB / 0.6245 GB, free: 12.49 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005525/0.6864, allocations: 143 kB / 0.6246 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/0.6971, allocations: 2.828 MB / 0.6274 GB, free: 9.504 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.6971, allocations: 11.94 kB / 0.6274 GB, free: 9.492 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.6971, allocations: 8 kB / 0.6274 GB, free: 9.484 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-05/0.6971, allocations: 3.984 kB / 0.6274 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00372/0.7009, allocations: 1.409 MB / 0.6288 GB, free: 8.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/0.7009, allocations: 4 kB / 0.6288 GB, free: 8.016 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/0.7027, allocations: 267.8 kB / 0.629 GB, free: 7.754 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009601/0.7123, allocations: 1.778 MB / 0.6308 GB, free: 5.973 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002847/0.7126, allocations: 55.91 kB / 0.6308 GB, free: 5.918 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.7232, allocations: 4.588 MB / 0.6353 GB, free: 1.211 MB / 478.1 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.006384/0.7296, allocations: 1.686 MB / 0.637 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009954/0.7396, allocations: 2.839 MB / 0.6397 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005277/0.7401, allocations: 119.1 kB / 0.6398 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004097/0.7405, allocations: 23.94 kB / 0.6399 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009916/0.7415, allocations: 32.03 kB / 0.6399 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003249/0.7418, allocations: 100.8 kB / 0.64 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001739/0.742, allocations: 87.91 kB / 0.6401 GB, free: 12.26 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0018/0.7438, allocations: 0.778 MB / 0.6408 GB, free: 11.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7438, allocations: 0 / 0.6408 GB, free: 11.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002682/0.7465, allocations: 459.7 kB / 0.6413 GB, free: 11.03 MB / 494.1 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 (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(5,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009425/0.7474, allocations: 362.6 kB / 0.6416 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005129/0.7525, allocations: 1.786 MB / 0.6434 GB, free: 8.871 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.7525, allocations: 4 kB / 0.6434 GB, free: 8.867 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003169/0.7557, allocations: 0.905 MB / 0.6443 GB, free: 7.953 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/0.7577, allocations: 277 kB / 0.6445 GB, free: 7.688 MB / 494.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.522141308989376] Failed to read output from testmodel.py, exit status != 0: 0.7693465608172119 0.7878695219999999 0.235287886 Calling exit ...