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.001268/0.001268, allocations: 113 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.001381/0.001381, allocations: 209.6 kB / 22.25 MB, free: 5.086 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.355/1.355, allocations: 230.6 MB / 256 MB, free: 8.02 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.1285/0.1285, allocations: 23.9 MB / 336.3 MB, free: 11.16 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.001969/0.001969, allocations: 67.89 kB / 471.2 MB, free: 7.652 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.296, allocations: 59.88 MB / 0.5187 GB, free: 9.578 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.03792/0.334, allocations: 28.96 MB / 0.5469 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01384/0.3478, allocations: 9.011 MB / 0.5557 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.3494, allocations: 35.81 kB / 0.5558 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002641/0.352, allocations: 0.8467 MB / 0.5566 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002536/0.3545, allocations: 0.8099 MB / 0.5574 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.3571, allocations: 0.9091 MB / 0.5583 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00296/0.36, allocations: 1.893 MB / 0.5601 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004553/0.3605, allocations: 221.8 kB / 0.5603 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009618/0.3614, allocations: 0.63 MB / 0.5609 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.363, allocations: 0.8691 MB / 0.5618 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002888/0.3633, allocations: 132 kB / 0.5619 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.3668, allocations: 1.531 MB / 0.5634 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005312/0.3673, allocations: 427 kB / 0.5638 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.3685, allocations: 0.8761 MB / 0.5647 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00502/0.3735, allocations: 3.203 MB / 0.5678 GB, free: 7.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3735, allocations: 0 / 0.5678 GB, free: 7.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3735, allocations: 0 / 0.5678 GB, free: 7.738 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.533e-05/0.3735, allocations: 4 kB / 0.5678 GB, free: 7.734 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.00336/0.3769, allocations: 2.091 MB / 0.5698 GB, free: 5.602 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3769, allocations: 8.031 kB / 0.5699 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002664/0.3772, allocations: 249.8 kB / 0.5701 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007501/0.3779, allocations: 355.3 kB / 0.5704 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.3791, allocations: 0.7457 MB / 0.5712 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000215/0.3794, allocations: 226.2 kB / 0.5714 GB, free: 3.973 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/0.3796, allocations: 144.3 kB / 0.5715 GB, free: 3.832 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006312/0.3859, allocations: 5.958 MB / 0.5773 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.3859, allocations: 3.938 kB / 0.5773 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.386, allocations: 59.98 kB / 0.5774 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002675/0.3863, allocations: 255.5 kB / 0.5776 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.3977, allocations: 11.62 MB / 0.589 GB, free: 1.914 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.01367/0.4114, allocations: 9.523 MB / 0.5983 GB, free: 8.211 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.4129, allocations: 0.852 MB / 0.5991 GB, free: 7.348 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007801/0.4137, allocations: 0.5309 MB / 0.5996 GB, free: 6.812 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006386/0.4201, allocations: 3.525 MB / 0.6031 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.4202, allocations: 39.16 kB / 0.6031 GB, free: 3.215 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 2.054e-06/0.4202, allocations: 0 / 0.6031 GB, free: 3.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.03294/0.4531, allocations: 7.556 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.006213/0.4593, allocations: 1.788 MB / 0.6122 GB, free: 9.719 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.4608, allocations: 1.135 MB / 0.6134 GB, free: 8.574 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001487/0.461, allocations: 45.7 kB / 0.6134 GB, free: 8.523 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008766/0.4619, allocations: 1.033 MB / 0.6144 GB, free: 7.477 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.4622, allocations: 357 kB / 0.6147 GB, free: 7.125 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006055/0.4628, allocations: 447.3 kB / 0.6152 GB, free: 6.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.463, allocations: 305.1 kB / 0.6155 GB, free: 6.379 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.464, allocations: 0.6052 MB / 0.6161 GB, free: 5.773 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.4656, allocations: 1.349 MB / 0.6174 GB, free: 4.078 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002919/0.4685, allocations: 2.156 MB / 0.6195 GB, free: 1.574 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.4685, allocations: 8 kB / 0.6195 GB, free: 1.566 MB / 462.1 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.01073/0.4792, allocations: 3.048 MB / 0.6225 GB, free: 14.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.4793, allocations: 19.94 kB / 0.6225 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/0.4793, allocations: 24.84 kB / 0.6225 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006406/0.4857, allocations: 1.2 MB / 0.6237 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/0.488, allocations: 0.5343 MB / 0.6242 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006104/0.4941, allocations: 3.699 MB / 0.6278 GB, free: 8.848 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.4954, allocations: 68.03 kB / 0.6279 GB, free: 8.781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00033/0.4958, allocations: 255.9 kB / 0.6281 GB, free: 8.531 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.0009839/0.4968, allocations: 0.54 MB / 0.6286 GB, free: 7.98 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.4971, allocations: 139.1 kB / 0.6288 GB, free: 7.844 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.5074, allocations: 2.828 MB / 0.6315 GB, free: 5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.5074, allocations: 8 kB / 0.6315 GB, free: 4.992 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.5074, allocations: 4 kB / 0.6316 GB, free: 4.988 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.5074, allocations: 3.984 kB / 0.6316 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/0.5101, allocations: 1.875 MB / 0.6334 GB, free: 3.043 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.5101, allocations: 0 / 0.6334 GB, free: 3.043 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.5117, allocations: 267.8 kB / 0.6336 GB, free: 2.781 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009759/0.5215, allocations: 1.77 MB / 0.6354 GB, free: 1.008 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/0.5216, allocations: 47.97 kB / 0.6354 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009891/0.5315, allocations: 4.696 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.006066/0.5376, allocations: 1.693 MB / 0.6417 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00979/0.5474, allocations: 2.835 MB / 0.6444 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.5476, allocations: 119.1 kB / 0.6445 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.5478, allocations: 23.94 kB / 0.6446 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007716/0.5486, allocations: 27.98 kB / 0.6446 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/0.5488, allocations: 108.6 kB / 0.6447 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.5489, allocations: 91.97 kB / 0.6448 GB, free: 7.164 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001067/0.55, allocations: 0.7821 MB / 0.6455 GB, free: 6.379 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.55, allocations: 0 / 0.6455 GB, free: 6.379 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001593/0.5516, 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.01042/0.562, allocations: 3.641 MB / 0.6495 GB, free: 2.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004547/0.5666, allocations: 1.789 MB / 0.6513 GB, free: 456 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5666, allocations: 0 / 0.6513 GB, free: 456 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002897/0.5695, 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.001303/0.5708, allocations: 286.7 kB / 0.6524 GB, free: 15.26 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: 2.8565834809996886] Failed to read output from testmodel.py, exit status != 0: 0.5783161409999593 0.5923310930000001 0.215856613 Calling exit ...