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.001321/0.001321, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001463/0.001463, allocations: 216.7 kB / 22.26 MB, free: 5.078 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 8.027 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.1403/0.1403, allocations: 23.89 MB / 336.3 MB, free: 11.18 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.002022/0.002022, allocations: 71.91 kB / 471.2 MB, free: 7.676 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3236, allocations: 59.87 MB / 0.5186 GB, free: 9.609 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.04016/0.3638, allocations: 28.97 MB / 0.5469 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01451/0.3783, allocations: 9.009 MB / 0.5557 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.3802, allocations: 35.81 kB / 0.5558 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002992/0.3832, allocations: 0.8444 MB / 0.5566 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002614/0.3858, allocations: 0.8054 MB / 0.5574 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002775/0.3886, allocations: 0.9093 MB / 0.5583 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003356/0.392, allocations: 1.89 MB / 0.5601 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000462/0.3924, allocations: 225.5 kB / 0.5603 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009646/0.3934, allocations: 0.6301 MB / 0.5609 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.3948, allocations: 0.8768 MB / 0.5618 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002221/0.3951, allocations: 132 kB / 0.5619 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003875/0.3989, allocations: 1.519 MB / 0.5634 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005122/0.3994, allocations: 431.2 kB / 0.5638 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.4005, allocations: 0.873 MB / 0.5647 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005514/0.406, allocations: 3.209 MB / 0.5678 GB, free: 7.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.406, allocations: 0 / 0.5678 GB, free: 7.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.406, allocations: 0 / 0.5678 GB, free: 7.738 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.138e-05/0.406, allocations: 0 / 0.5678 GB, free: 7.738 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.003619/0.4097, allocations: 2.087 MB / 0.5698 GB, free: 5.609 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.4097, allocations: 16.02 kB / 0.5699 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002761/0.41, allocations: 245.8 kB / 0.5701 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000797/0.4108, allocations: 359.3 kB / 0.5704 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.412, allocations: 0.7418 MB / 0.5712 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000221/0.4122, allocations: 226.2 kB / 0.5714 GB, free: 3.977 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.4124, allocations: 152.3 kB / 0.5715 GB, free: 3.828 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006988/0.4194, allocations: 5.946 MB / 0.5773 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/0.4195, allocations: 8 kB / 0.5773 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.4196, allocations: 59.97 kB / 0.5774 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002785/0.4199, allocations: 255.5 kB / 0.5776 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/0.4323, allocations: 11.64 MB / 0.589 GB, free: 1.906 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.01489/0.4472, allocations: 9.527 MB / 0.5983 GB, free: 8.199 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.4488, allocations: 0.8326 MB / 0.5991 GB, free: 7.355 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008022/0.4496, allocations: 0.5347 MB / 0.5996 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006609/0.4562, allocations: 3.532 MB / 0.6031 GB, free: 3.262 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.4562, allocations: 39.22 kB / 0.6031 GB, free: 3.211 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 3.056e-06/0.4562, allocations: 0 / 0.6031 GB, free: 3.211 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.03278/0.489, allocations: 7.552 MB / 0.6105 GB, free: 11.54 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.00648/0.4955, allocations: 1.792 MB / 0.6122 GB, free: 9.715 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.497, allocations: 1.135 MB / 0.6134 GB, free: 8.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002157/0.4973, allocations: 37.7 kB / 0.6134 GB, free: 8.527 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008336/0.4981, allocations: 1.041 MB / 0.6144 GB, free: 7.473 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004145/0.4985, allocations: 353 kB / 0.6147 GB, free: 7.125 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006327/0.4991, allocations: 451.3 kB / 0.6152 GB, free: 6.676 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4993, allocations: 301.1 kB / 0.6155 GB, free: 6.379 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.5003, allocations: 0.6091 MB / 0.6161 GB, free: 5.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.502, allocations: 1.345 MB / 0.6174 GB, free: 4.078 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003146/0.5052, allocations: 2.156 MB / 0.6195 GB, free: 1.574 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-05/0.5052, allocations: 8 kB / 0.6195 GB, free: 1.566 MB / 462.1 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.01119/0.5164, allocations: 3.049 MB / 0.6225 GB, free: 14.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.5164, allocations: 19.94 kB / 0.6225 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/0.5165, allocations: 24 kB / 0.6225 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006692/0.5232, allocations: 1.199 MB / 0.6237 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002472/0.5256, allocations: 0.5343 MB / 0.6242 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006455/0.5321, allocations: 3.703 MB / 0.6278 GB, free: 8.848 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.5336, allocations: 72.09 kB / 0.6279 GB, free: 8.777 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003914/0.534, allocations: 255.9 kB / 0.6281 GB, free: 8.527 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.00112/0.5351, allocations: 0.54 MB / 0.6287 GB, free: 7.977 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/0.5354, allocations: 135.1 kB / 0.6288 GB, free: 7.844 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/0.5458, allocations: 2.824 MB / 0.6315 GB, free: 5.004 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.55e-05/0.5458, allocations: 15.98 kB / 0.6316 GB, free: 4.988 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.5459, allocations: 11.94 kB / 0.6316 GB, free: 4.977 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/0.5459, allocations: 3.984 kB / 0.6316 GB, free: 4.973 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/0.549, allocations: 1.867 MB / 0.6334 GB, free: 3.039 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.549, allocations: 4 kB / 0.6334 GB, free: 3.035 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/0.5507, allocations: 259.6 kB / 0.6336 GB, free: 2.781 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009859/0.5605, allocations: 1.776 MB / 0.6354 GB, free: 1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/0.5607, allocations: 51.97 kB / 0.6354 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/0.5709, allocations: 4.687 MB / 0.64 GB, free: 12.13 MB / 494.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.00628/0.5772, allocations: 1.696 MB / 0.6417 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009945/0.5871, allocations: 2.835 MB / 0.6444 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003404/0.5875, allocations: 119.1 kB / 0.6445 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/0.5877, allocations: 27.94 kB / 0.6446 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007855/0.5885, allocations: 31.98 kB / 0.6446 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/0.5887, allocations: 100.7 kB / 0.6447 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.5889, allocations: 87.97 kB / 0.6448 GB, free: 7.164 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001204/0.5901, allocations: 0.7821 MB / 0.6455 GB, free: 6.379 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5901, allocations: 0 / 0.6455 GB, free: 6.379 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001796/0.5919, allocations: 459.7 kB / 0.646 GB, free: 5.93 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.01072/0.6026, allocations: 3.641 MB / 0.6495 GB, free: 2.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004884/0.6075, allocations: 1.786 MB / 0.6513 GB, free: 460 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.6075, allocations: 4 kB / 0.6513 GB, free: 456 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003104/0.6106, allocations: 0.9011 MB / 0.6522 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.612, allocations: 290.8 kB / 0.6524 GB, free: 15.25 MB / 0.4981 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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.097318209009245] Failed to read output from testmodel.py, exit status != 0: 0.6209212949033827 0.636742331 0.22739130500000002 Calling exit ...