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.001462/0.001462, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001666/0.001666, allocations: 216.9 kB / 22.25 MB, free: 5.105 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.358/1.358, allocations: 230.6 MB / 256 MB, free: 7.824 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.1287/0.1287, allocations: 23.92 MB / 336.4 MB, free: 10.94 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: "" <> 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: 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.001961/0.001961, allocations: 75.84 kB / 471.2 MB, free: 7.484 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2979, allocations: 59.88 MB / 0.5186 GB, free: 9.484 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.06759/0.3655, allocations: 27.9 MB / 0.5458 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01244/0.378, allocations: 7.838 MB / 0.5535 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.379, allocations: 31.81 kB / 0.5535 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002168/0.3812, allocations: 0.7777 MB / 0.5543 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.383, allocations: 0.8093 MB / 0.5551 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.3851, allocations: 0.902 MB / 0.556 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002438/0.3876, allocations: 1.889 MB / 0.5578 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003742/0.3879, allocations: 230.7 kB / 0.558 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006584/0.3886, allocations: 0.6221 MB / 0.5586 GB, free: 216 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.3898, allocations: 0.8735 MB / 0.5595 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.39, allocations: 132 kB / 0.5596 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002192/0.3922, allocations: 0.9639 MB / 0.5605 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004174/0.3926, allocations: 431.6 kB / 0.561 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006774/0.3933, allocations: 0.6546 MB / 0.5616 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004373/0.3977, allocations: 3.031 MB / 0.5646 GB, free: 10.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3977, allocations: 0 / 0.5646 GB, free: 10.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3977, allocations: 0 / 0.5646 GB, free: 10.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.069e-05/0.3977, allocations: 0 / 0.5646 GB, free: 10.79 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.003617/0.4013, allocations: 2.099 MB / 0.5666 GB, free: 8.648 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.4014, allocations: 8.031 kB / 0.5666 GB, free: 8.641 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002683/0.4016, allocations: 245.8 kB / 0.5669 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007692/0.4024, allocations: 359.3 kB / 0.5672 GB, free: 8.039 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.4036, allocations: 0.7417 MB / 0.5679 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.4038, allocations: 234.1 kB / 0.5681 GB, free: 7.016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/0.404, allocations: 148.3 kB / 0.5683 GB, free: 6.871 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006311/0.4103, allocations: 5.958 MB / 0.5741 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.4103, allocations: 0 / 0.5741 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.4104, allocations: 56 kB / 0.5742 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002712/0.4107, allocations: 255.5 kB / 0.5744 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/0.4222, allocations: 11.61 MB / 0.5857 GB, free: 4.977 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.01336/0.4356, allocations: 8.737 MB / 0.5943 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.4371, allocations: 0.8326 MB / 0.5951 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007971/0.4379, allocations: 0.5308 MB / 0.5956 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006647/0.4446, allocations: 3.411 MB / 0.5989 GB, free: 7.324 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.4446, allocations: 39.22 kB / 0.599 GB, free: 7.273 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 2.545e-06/0.4446, allocations: 0 / 0.599 GB, free: 7.273 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.0354/0.48, allocations: 7.541 MB / 0.6063 GB, free: 15.62 MB / 462.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.006762/0.4868, allocations: 1.791 MB / 0.6081 GB, free: 13.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.4882, allocations: 1.174 MB / 0.6092 GB, free: 12.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000154/0.4884, allocations: 41.7 kB / 0.6093 GB, free: 12.56 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007737/0.4892, allocations: 1.037 MB / 0.6103 GB, free: 11.51 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003798/0.4895, allocations: 361 kB / 0.6106 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006618/0.4902, allocations: 439.3 kB / 0.611 GB, free: 10.72 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4903, allocations: 309.1 kB / 0.6113 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.4914, allocations: 0.609 MB / 0.6119 GB, free: 9.805 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.4931, allocations: 1.345 MB / 0.6132 GB, free: 8.113 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003081/0.4961, allocations: 2.167 MB / 0.6154 GB, free: 5.598 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/0.4962, allocations: 8 kB / 0.6154 GB, free: 5.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.01148/0.5076, allocations: 3.045 MB / 0.6183 GB, free: 2.527 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.5077, allocations: 24.19 kB / 0.6184 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.008e-05/0.5077, allocations: 28 kB / 0.6184 GB, free: 2.477 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006956/0.5146, allocations: 1.193 MB / 0.6196 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/0.517, allocations: 0.5304 MB / 0.6201 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005978/0.523, allocations: 3.672 MB / 0.6237 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.5243, allocations: 68.03 kB / 0.6237 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003324/0.5247, allocations: 259.9 kB / 0.624 GB, free: 12.58 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.000914/0.5256, allocations: 0.5395 MB / 0.6245 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/0.5259, allocations: 143.1 kB / 0.6246 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/0.5367, allocations: 2.824 MB / 0.6274 GB, free: 9.055 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.5367, allocations: 8 kB / 0.6274 GB, free: 9.047 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5367, allocations: 4 kB / 0.6274 GB, free: 9.043 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.5367, allocations: 3.984 kB / 0.6274 GB, free: 9.039 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.5393, allocations: 1.695 MB / 0.6291 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.5393, allocations: 0 / 0.6291 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/0.5409, allocations: 271.8 kB / 0.6293 GB, free: 7.016 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01042/0.5514, allocations: 1.772 MB / 0.6311 GB, free: 5.238 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.5515, allocations: 51.97 kB / 0.6311 GB, free: 5.188 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009972/0.5615, allocations: 4.614 MB / 0.6356 GB, free: 452 kB / 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.006455/0.5679, allocations: 1.692 MB / 0.6373 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/0.5779, allocations: 2.831 MB / 0.64 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.5782, allocations: 119 kB / 0.6401 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/0.5784, allocations: 32.08 kB / 0.6402 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008049/0.5792, allocations: 32.03 kB / 0.6402 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.5794, allocations: 100.8 kB / 0.6403 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/0.5795, allocations: 83.97 kB / 0.6404 GB, free: 11.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001035/0.5806, allocations: 0.786 MB / 0.6411 GB, free: 10.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5806, allocations: 3.938 kB / 0.6411 GB, free: 10.69 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001589/0.5822, allocations: 459.7 kB / 0.6416 GB, free: 10.24 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.01097/0.5931, allocations: 3.639 MB / 0.6451 GB, free: 6.551 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00461/0.5978, allocations: 1.785 MB / 0.6469 GB, free: 4.762 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/0.5978, allocations: 0 / 0.6469 GB, free: 4.762 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00307/0.6008, allocations: 0.9091 MB / 0.6478 GB, free: 3.836 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.6022, allocations: 291.2 kB / 0.648 GB, free: 3.559 MB / 494.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/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: 2.87244633998489] Failed to read output from testmodel.py, exit status != 0: 0.609670820995234 0.624089587 0.22349294199999994 Calling exit ...