Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0009868/0.0009868, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.001022/0.001022, allocations: 216 kB / 22.25 MB, free: 3.578 MB / 13.93 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.127/1.127, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.09619/0.09619, allocations: 23.89 MB / 336.3 MB, free: 9.98 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Examples_HeatingOfAlcohol",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="me_cs",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.001553/0.001553, allocations: 73.77 kB / 472.7 MB, free: 16.38 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1115, allocations: 59.86 MB / 0.5201 GB, free: 4.398 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343: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.0/Boundaries.mo:1343:7-1343: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.4579/0.5694, allocations: 37.22 MB / 0.5564 GB, free: 5.844 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.008611/0.578, allocations: 7.823 MB / 0.564 GB, free: 3.52 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.5792, allocations: 24.41 kB / 0.5641 GB, free: 3.512 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002393/0.5815, allocations: 0.8237 MB / 0.5649 GB, free: 3.164 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.5837, allocations: 0.788 MB / 0.5656 GB, free: 2.664 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002426/0.5861, allocations: 0.8989 MB / 0.5665 GB, free: 2.164 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.002408/0.5885, allocations: 1.892 MB / 0.5684 GB, free: 1.25 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003469/0.5888, allocations: 214 kB / 0.5686 GB, free: 1.125 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007714/0.5896, allocations: 0.6146 MB / 0.5692 GB, free: 0.8164 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005856/0.5902, allocations: 0.6218 MB / 0.5698 GB, free: 0.5195 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.5903, allocations: 139.7 kB / 0.5699 GB, free: 0.5195 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003003/0.5933, allocations: 1.006 MB / 0.5709 GB, free: 336 kB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004404/0.5938, allocations: 474.5 kB / 0.5713 GB, free: 56 kB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0006285/0.5944, allocations: 0.6778 MB / 0.572 GB, free: 15.65 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005417/0.5998, allocations: 3.166 MB / 0.5751 GB, free: 14.2 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.858e-06/0.5998, allocations: 4 kB / 0.5751 GB, free: 14.2 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5998, allocations: 0 / 0.5751 GB, free: 14.2 MB / 426.8 MB Notification: Performance of Transformations before backend: time 9.528e-05/0.5999, allocations: 0 / 0.5751 GB, free: 14.2 MB / 426.8 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.004238/0.6042, allocations: 2.135 MB / 0.5772 GB, free: 12.85 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.6042, allocations: 13.14 kB / 0.5772 GB, free: 12.84 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002908/0.6045, allocations: 250 kB / 0.5774 GB, free: 12.69 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009205/0.6054, allocations: 400.4 kB / 0.5778 GB, free: 12.5 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.6067, allocations: 0.8289 MB / 0.5786 GB, free: 11.94 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002907/0.607, allocations: 325.1 kB / 0.5789 GB, free: 11.73 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.6072, allocations: 145.6 kB / 0.5791 GB, free: 11.68 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005798/0.613, allocations: 7.391 MB / 0.5863 GB, free: 8.031 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.613, allocations: 0 / 0.5863 GB, free: 8.031 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.489e-05/0.6131, allocations: 61.73 kB / 0.5864 GB, free: 7.984 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001688/0.6132, allocations: 284.5 kB / 0.5866 GB, free: 7.887 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00775/0.621, allocations: 13.38 MB / 0.5997 GB, free: 2.086 MB / 426.8 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.01701/0.638, allocations: 17.49 MB / 0.6168 GB, free: 7.902 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/0.641, allocations: 3.531 MB / 0.6202 GB, free: 5.516 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002276/0.6433, allocations: 2.745 MB / 0.6229 GB, free: 2.766 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.6444, allocations: 0.649 MB / 0.6235 GB, free: 2.121 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.6444, allocations: 46.19 kB / 0.6236 GB, free: 2.07 MB / 442.8 MB Notification: Performance of pre-optimization done (n=90): time 3.517e-06/0.6444, allocations: 0 / 0.6236 GB, free: 2.07 MB / 442.8 MB Notification: Performance of matching and sorting (n=146): time 0.05851/0.7029, allocations: 30.96 MB / 0.6538 GB, free: 3.305 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07034/0.7732, allocations: 40.57 MB / 0.6934 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.7754, allocations: 1.85 MB / 0.6952 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000568/0.7759, allocations: 49.7 kB / 0.6953 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004796/0.7764, allocations: 0.8206 MB / 0.6961 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005884/0.777, allocations: 0.5112 MB / 0.6966 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009027/0.7779, allocations: 0.5098 MB / 0.6971 GB, free: 6.812 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.867e-05/0.778, allocations: 301.1 kB / 0.6974 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004424/0.7824, allocations: 4.896 MB / 0.7022 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004665/0.7871, allocations: 5.156 MB / 0.7072 GB, free: 12.38 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006903/0.794, allocations: 6.783 MB / 0.7138 GB, free: 5.516 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.794, allocations: 4 kB / 0.7138 GB, free: 5.512 MB / 0.5262 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01854/0.8125, allocations: 13.65 MB / 0.7271 GB, free: 7.859 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.8125, allocations: 11.12 kB / 0.7272 GB, free: 7.852 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.8126, allocations: 10.66 kB / 0.7272 GB, free: 7.844 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01439/0.827, allocations: 6.971 MB / 0.734 GB, free: 0.9453 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/0.8294, allocations: 0.6216 MB / 0.7346 GB, free: 336 kB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0288/0.8582, allocations: 26.41 MB / 0.7604 GB, free: 5.754 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/0.8605, allocations: 178.6 kB / 0.7605 GB, free: 5.582 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004757/0.861, allocations: 359.8 kB / 0.7609 GB, free: 5.23 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 129 * Array equations: 2 * 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 {(5,13,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001362/0.8623, allocations: 0.5019 MB / 0.7614 GB, free: 4.719 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005207/0.8629, allocations: 186.8 kB / 0.7616 GB, free: 4.535 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/0.8769, allocations: 8.952 MB / 0.7703 GB, free: 11.57 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01278/0.8897, allocations: 7.394 MB / 0.7775 GB, free: 4.176 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/0.8897, allocations: 7.938 kB / 0.7775 GB, free: 4.168 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.007e-05/0.8897, allocations: 3.984 kB / 0.7775 GB, free: 4.164 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2693/1.159, allocations: 14.17 MB / 0.7914 GB, free: 211.5 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/1.159, allocations: 6.875 kB / 0.7914 GB, free: 211.5 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/1.161, allocations: 353.2 kB / 0.7917 GB, free: 211.5 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02492/1.186, allocations: 7.041 MB / 0.7986 GB, free: 210.2 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004723/1.186, allocations: 98.38 kB / 0.7987 GB, free: 210.2 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/1.201, allocations: 11.51 MB / 0.8099 GB, free: 204.1 MB / 0.5887 GB 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.01914/1.22, allocations: 5.655 MB / 0.8154 GB, free: 199.9 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0154/1.235, allocations: 11.61 MB / 0.8268 GB, free: 188.4 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006487/1.236, allocations: 251.4 kB / 0.827 GB, free: 188.2 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004554/1.236, allocations: 39.75 kB / 0.8271 GB, free: 188.2 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/1.238, allocations: 126.1 kB / 0.8272 GB, free: 188.1 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005055/1.238, allocations: 192.8 kB / 0.8274 GB, free: 187.9 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002091/1.238, allocations: 163.9 kB / 0.8275 GB, free: 187.7 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.001668/1.24, allocations: 1.815 MB / 0.8293 GB, free: 185.9 MB / 0.5887 GB Notification: Performance of sort global known variables: time 8e-08/1.24, allocations: 2.438 kB / 0.8293 GB, free: 185.9 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.002504/1.243, allocations: 0.9436 MB / 0.8302 GB, free: 185 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 2 ($cse34,$cse27) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * 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 {(5,13,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(15,39)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01478/1.257, allocations: 11.59 MB / 0.8415 GB, free: 173.4 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.009036/1.266, allocations: 7.455 MB / 0.8488 GB, free: 166 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/1.266, allocations: 7.172 kB / 0.8488 GB, free: 166 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.005178/1.272, allocations: 2.889 MB / 0.8516 GB, free: 163.1 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/1.274, allocations: 428.4 kB / 0.852 GB, free: 162.8 MB / 0.5887 GB [/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.3863827753812075]