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.0008191/0.0008191, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008551/0.0008551, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9085/0.9085, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.0958/0.0958, allocations: 17.37 MB / 276.6 MB, free: 11.86 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: "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 411.4 MB, free: 436 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.201e-05, allocations: 2.281 kB / 411.4 MB, free: 432 kB / 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.02353/0.02356, allocations: 28.27 MB / 439.7 MB, free: 4.211 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2075/0.231, allocations: 7.835 MB / 447.5 MB, free: 59.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009564/0.232, allocations: 26.31 kB / 447.6 MB, free: 59.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.2338, allocations: 0.8421 MB / 448.4 MB, free: 59.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.2352, allocations: 0.8001 MB / 449.2 MB, free: 59.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.2366, allocations: 0.9158 MB / 450.1 MB, free: 58.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.2378, allocations: 1.959 MB / 452.1 MB, free: 58.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000246/0.238, allocations: 215 kB / 452.3 MB, free: 58.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004704/0.2385, allocations: 0.9 MB / 453.2 MB, free: 57.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/0.2389, allocations: 0.518 MB / 453.7 MB, free: 57.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.239, allocations: 136.4 kB / 453.8 MB, free: 57.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.2403, allocations: 1.015 MB / 454.9 MB, free: 57.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002129/0.2405, allocations: 473.8 kB / 455.3 MB, free: 57.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.2408, allocations: 0.5376 MB / 455.9 MB, free: 56.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.2427, allocations: 3.175 MB / 459 MB, free: 55.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2427, allocations: 0 / 459 MB, free: 55.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2427, allocations: 0 / 459 MB, free: 55.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.2427, allocations: 3.938 kB / 459 MB, free: 55.64 MB / 410.7 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.001764/0.2445, allocations: 2.114 MB / 461.2 MB, free: 54.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.2445, allocations: 9.625 kB / 461.2 MB, free: 54.31 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.2447, allocations: 247.9 kB / 461.4 MB, free: 54.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005437/0.2452, allocations: 393.5 kB / 461.8 MB, free: 53.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007648/0.246, allocations: 0.8377 MB / 462.6 MB, free: 53.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.2462, allocations: 326.6 kB / 462.9 MB, free: 53.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.2463, allocations: 146.6 kB / 463.1 MB, free: 53.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004028/0.2503, allocations: 7.384 MB / 470.5 MB, free: 50.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.97e-05/0.2503, allocations: 384 / 470.5 MB, free: 50.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.225e-05/0.2504, allocations: 63.34 kB / 470.5 MB, free: 50 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/0.2506, allocations: 282.7 kB / 470.8 MB, free: 49.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008251/0.2588, allocations: 13.38 MB / 484.2 MB, free: 45.04 MB / 410.7 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.01556/0.2744, allocations: 17.5 MB / 0.4899 GB, free: 36.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002866/0.2773, allocations: 3.522 MB / 0.4934 GB, free: 33.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002118/0.2794, allocations: 2.751 MB / 0.4961 GB, free: 31.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009829/0.2804, allocations: 0.6488 MB / 0.4967 GB, free: 30.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.2804, allocations: 44.64 kB / 0.4967 GB, free: 30.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=90): time 2.845e-06/0.2804, allocations: 0 / 0.4967 GB, free: 30.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=146): time 0.05305/0.3334, allocations: 30.99 MB / 0.527 GB, free: 2.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06716/0.4006, allocations: 40.64 MB / 0.5667 GB, free: 9.918 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.4026, allocations: 1.864 MB / 0.5685 GB, free: 8.051 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005552/0.4031, allocations: 45.7 kB / 0.5686 GB, free: 8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004788/0.4036, allocations: 0.8157 MB / 0.5693 GB, free: 7.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005002/0.4041, allocations: 0.5079 MB / 0.5698 GB, free: 6.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008904/0.405, allocations: 0.5032 MB / 0.5703 GB, free: 6.172 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.4051, allocations: 309.1 kB / 0.5706 GB, free: 5.867 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00467/0.4098, allocations: 4.898 MB / 0.5754 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004605/0.4144, allocations: 5.152 MB / 0.5804 GB, free: 11.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006815/0.4212, allocations: 6.779 MB / 0.5871 GB, free: 4.887 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.4212, allocations: 7.922 kB / 0.5871 GB, free: 4.879 MB / 474.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01867/0.4399, allocations: 13.64 MB / 0.6004 GB, free: 7.254 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.4399, allocations: 8 kB / 0.6004 GB, free: 7.246 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.4399, allocations: 11.98 kB / 0.6004 GB, free: 7.234 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01418/0.4541, allocations: 7.011 MB / 0.6073 GB, free: 304 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/0.4563, allocations: 0.6151 MB / 0.6079 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1941/0.6505, allocations: 26.39 MB / 0.6336 GB, free: 151.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.6525, allocations: 176.3 kB / 0.6338 GB, free: 151 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/0.6529, allocations: 356.2 kB / 0.6341 GB, free: 151 MB / 0.4948 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.001053/0.6539, allocations: 0.5054 MB / 0.6346 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004069/0.6543, allocations: 188.6 kB / 0.6348 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.6672, allocations: 8.95 MB / 0.6436 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01105/0.6783, allocations: 7.389 MB / 0.6508 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.6783, allocations: 6.344 kB / 0.6508 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.6783, allocations: 9.938 kB / 0.6508 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/0.6975, allocations: 14.18 MB / 0.6646 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.6975, allocations: 5.609 kB / 0.6646 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/0.699, allocations: 356.2 kB / 0.665 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02629/0.7253, allocations: 7.106 MB / 0.6719 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002586/0.7256, allocations: 92.61 kB / 0.672 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01383/0.7394, allocations: 11.53 MB / 0.6833 GB, free: 130.7 MB / 0.4948 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.01868/0.7581, allocations: 5.723 MB / 0.6889 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/0.7735, allocations: 11.6 MB / 0.7002 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006871/0.7742, allocations: 264.2 kB / 0.7004 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002623/0.7745, allocations: 32 kB / 0.7005 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.7757, allocations: 119.8 kB / 0.7006 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004873/0.7762, allocations: 188.9 kB / 0.7008 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/0.7764, allocations: 171.9 kB / 0.7009 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001617/0.778, allocations: 1.811 MB / 0.7027 GB, free: 111 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.81e-07/0.778, allocations: 0 / 0.7027 GB, free: 111 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002126/0.7801, allocations: 0.9449 MB / 0.7036 GB, free: 110 MB / 0.4948 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.01393/0.794, allocations: 11.59 MB / 0.7149 GB, free: 98.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00681/0.8008, allocations: 7.454 MB / 0.7222 GB, free: 91.01 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.8008, allocations: 0 / 0.7222 GB, free: 91.01 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003158/0.804, allocations: 2.905 MB / 0.7251 GB, free: 88.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.8053, allocations: 427.5 kB / 0.7255 GB, free: 87.75 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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.5638778684660792] Failed to read output from testmodel.py, exit status != 0: 0.8103423835709691 0.816297647 0.572276774 Calling exit ...