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.0009016/0.0009016, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 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.001108/0.001108, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.046/1.046, allocations: 177.1 MB / 203.4 MB, free: 5.27 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.09341/0.09341, allocations: 17.37 MB / 277.3 MB, free: 11.52 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: translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfAlcohol") translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfAlcohol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 353.4 MB, free: 9.992 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.04e-05, allocations: 2.312 kB / 353.4 MB, free: 9.988 MB / 282.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.02751/0.02753, allocations: 31.78 MB / 385.2 MB, free: 10.31 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008845/0.03638, allocations: 8.665 MB / 393.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006902/0.03707, allocations: 23.88 kB / 393.9 MB, free: 1.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001962/0.03903, allocations: 0.8387 MB / 394.7 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.04054, allocations: 0.8106 MB / 395.5 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.04234, allocations: 0.9174 MB / 396.5 MB, free: 15 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001768/0.04411, allocations: 1.963 MB / 398.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.04442, allocations: 214.2 kB / 398.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008061/0.04522, allocations: 0.9041 MB / 399.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005493/0.04577, allocations: 0.5296 MB / 400.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.04593, allocations: 140 kB / 400.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.0476, allocations: 1.022 MB / 401.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000277/0.04788, allocations: 470.2 kB / 401.7 MB, free: 9.742 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005291/0.0484, allocations: 0.5414 MB / 402.2 MB, free: 9.199 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002445/0.05085, allocations: 2.542 MB / 404.8 MB, free: 6.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.05085, allocations: 0 / 404.8 MB, free: 6.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.05086, allocations: 4 kB / 404.8 MB, free: 6.645 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.05087, allocations: 0 / 404.8 MB, free: 6.645 MB / 330.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.002177/0.05305, allocations: 2.337 MB / 407.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.05308, allocations: 8.031 kB / 407.1 MB, free: 4.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009309/0.05402, allocations: 0.8779 MB / 408 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00081/0.05483, allocations: 0.792 MB / 408.8 MB, free: 2.547 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000348/0.05517, allocations: 314.2 kB / 409.1 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.05531, allocations: 152.3 kB / 409.2 MB, free: 2.066 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1568/0.2122, allocations: 2.228 MB / 411.5 MB, free: 48.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.531e-05/0.2122, allocations: 1.406 kB / 411.5 MB, free: 48.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.2123, allocations: 59.48 kB / 411.5 MB, free: 48.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003022/0.2126, allocations: 279.3 kB / 411.8 MB, free: 48.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00556/0.2182, allocations: 3.452 MB / 415.3 MB, free: 48.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01484/0.233, allocations: 9.359 MB / 424.6 MB, free: 45.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.2347, allocations: 0.6965 MB / 425.3 MB, free: 45.6 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008504/0.2356, allocations: 403.3 kB / 425.7 MB, free: 45.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.2366, allocations: 0.6566 MB / 426.4 MB, free: 45.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.2367, allocations: 49.09 kB / 426.4 MB, free: 45.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=90): time 5.16e-06/0.2367, allocations: 0.5938 kB / 426.4 MB, free: 45.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=146): time 0.04403/0.2807, allocations: 13.06 MB / 439.5 MB, free: 35.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05341/0.3341, allocations: 18.18 MB / 457.7 MB, free: 17.33 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008766/0.335, allocations: 0.9429 MB / 458.6 MB, free: 16.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005502/0.3356, allocations: 49.7 kB / 458.6 MB, free: 16.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003953/0.3359, allocations: 0.9427 MB / 459.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005002/0.3364, allocations: 0.5071 MB / 460.1 MB, free: 15.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008662/0.3373, allocations: 481 kB / 460.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.138e-05/0.3374, allocations: 476.8 kB / 461 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.3391, allocations: 0.8511 MB / 461.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/0.3408, allocations: 1.181 MB / 463.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/0.344, allocations: 2.133 MB / 465.2 MB, free: 9.727 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.344, allocations: 6.656 kB / 465.2 MB, free: 9.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01231/0.3563, allocations: 3.974 MB / 469.2 MB, free: 5.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.3564, allocations: 11.94 kB / 469.2 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.3564, allocations: 14.64 kB / 469.2 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01981/0.3762, allocations: 5.987 MB / 475.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003355/0.3795, allocations: 0.6248 MB / 475.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02211/0.4016, allocations: 8.926 MB / 484.7 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/0.4041, allocations: 175.7 kB / 484.9 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006145/0.4047, allocations: 351.8 kB / 485.3 MB, free: 5.691 MB / 346.7 MB 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.001062/0.4058, allocations: 233.9 kB / 485.5 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008133/0.4066, allocations: 183.2 kB / 485.7 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01572/0.4223, allocations: 4.462 MB / 490.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009996/0.4323, allocations: 3.063 MB / 493.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.4323, allocations: 6.688 kB / 493.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.48e-05/0.4324, allocations: 7.969 kB / 493.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/0.4501, allocations: 8.316 MB / 0.4898 GB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.4501, allocations: 8 kB / 0.4898 GB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/0.4516, allocations: 347.6 kB / 0.4901 GB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02586/0.4775, allocations: 5.909 MB / 0.4959 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004703/0.4779, allocations: 94.53 kB / 0.496 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01171/0.4897, allocations: 5.899 MB / 0.5017 GB, free: 8.973 MB / 378.7 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.02029/0.51, allocations: 5.152 MB / 0.5068 GB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01319/0.5231, allocations: 4.52 MB / 0.5112 GB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004248/0.5236, allocations: 147.1 kB / 0.5113 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/0.5239, allocations: 39.95 kB / 0.5113 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.5252, allocations: 122.5 kB / 0.5115 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005364/0.5258, allocations: 175 kB / 0.5116 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002644/0.526, allocations: 167.9 kB / 0.5118 GB, free: 14.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008443/0.5269, allocations: 0.7467 MB / 0.5125 GB, free: 13.83 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5269, allocations: 0 / 0.5125 GB, free: 13.83 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002559/0.5294, allocations: 0.9371 MB / 0.5134 GB, free: 12.89 MB / 394.7 MB 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.0008155/0.5303, allocations: 382 kB / 0.5138 GB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005789/0.536, allocations: 2.565 MB / 0.5163 GB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.5361, allocations: 4 kB / 0.5163 GB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003395/0.5395, allocations: 1.549 MB / 0.5178 GB, free: 8.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.5409, allocations: 423.5 kB / 0.5182 GB, free: 8.133 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4695:9-4695:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:856:5-856: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.361004587262869]