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.001128/0.001128, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001771/0.002899, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.00117/0.00117, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001734/0.002903, allocations: 475.6 kB / 11.8 MB, free: 2.363 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 0.9931/0.9931, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09801/1.091, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.08881/0.08881, allocations: 17.35 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01813/0.1069, allocations: 6.937 MB / 268.4 MB, free: 6.406 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.252e-06/1.252e-06, allocations: 0 / 269.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.072e-05, allocations: 2.312 kB / 269.7 MB, free: 5.121 MB / 266.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.1413/0.1413, allocations: 8.118 MB / 277.9 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.1517, allocations: 8.827 MB / 286.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007878/0.1525, allocations: 23.97 kB / 286.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002017/0.1545, allocations: 0.8691 MB / 287.6 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.1562, allocations: 0.7994 MB / 288.4 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.1581, allocations: 0.9197 MB / 289.3 MB, free: 10.97 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002106/0.1602, allocations: 1.943 MB / 291.2 MB, free: 10 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003735/0.1606, allocations: 238.3 kB / 291.5 MB, free: 9.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.1619, allocations: 1.002 MB / 292.5 MB, free: 9.383 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000732/0.1626, allocations: 0.5381 MB / 293 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.1628, allocations: 137.5 kB / 293.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.1647, allocations: 1.05 MB / 294.2 MB, free: 8.824 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.165, allocations: 397.1 kB / 294.6 MB, free: 8.688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004162/0.1654, allocations: 459.4 kB / 295 MB, free: 8.609 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002971/0.1684, allocations: 2.332 MB / 297.4 MB, free: 6.887 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.717e-05/0.1684, allocations: 0 / 297.4 MB, free: 6.887 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1684, allocations: 0 / 297.4 MB, free: 6.887 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.17e-05/0.1684, allocations: 0 / 297.4 MB, free: 6.887 MB / 282.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.002528/0.1709, allocations: 2.456 MB / 299.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.171, allocations: 8.031 kB / 299.8 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.172, allocations: 0.8769 MB / 300.7 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007649/0.1727, allocations: 0.6058 MB / 301.3 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.173, allocations: 315.4 kB / 301.6 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.1731, allocations: 148.3 kB / 301.8 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.1747, allocations: 1.889 MB / 303.6 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.1748, allocations: 192 / 303.6 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.393e-05/0.1748, allocations: 60.11 kB / 303.7 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001951/0.175, allocations: 267.5 kB / 304 MB, free: 156 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.1772, allocations: 2.627 MB / 306.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008916/0.1861, allocations: 7.79 MB / 314.4 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.1872, allocations: 0.5904 MB / 315 MB, free: 5.055 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000536/0.1877, allocations: 276.3 kB / 315.2 MB, free: 4.785 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008045/0.1885, allocations: 0.6347 MB / 315.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.1885, allocations: 47.56 kB / 315.9 MB, free: 4.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=90): time 2.274e-06/0.1885, allocations: 0 / 315.9 MB, free: 4.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=126): time 0.03338/0.2219, allocations: 9.101 MB / 325 MB, free: 10.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04611/0.268, allocations: 13.17 MB / 338.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006096/0.2686, allocations: 0.7118 MB / 338.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003057/0.2689, allocations: 41.7 kB / 339 MB, free: 12.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.2693, allocations: 0.713 MB / 339.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004207/0.2697, allocations: 452 kB / 340.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008866/0.2706, allocations: 338.6 kB / 340.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.2707, allocations: 365.8 kB / 340.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.2717, allocations: 449.3 kB / 341.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.2729, allocations: 0.6785 MB / 341.9 MB, free: 9.664 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.275, allocations: 1.303 MB / 343.2 MB, free: 8.277 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.275, allocations: 4 kB / 343.2 MB, free: 8.273 MB / 330.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.01008/0.2851, allocations: 2.515 MB / 345.7 MB, free: 5.734 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.2851, allocations: 8 kB / 345.7 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.2851, allocations: 8 kB / 345.7 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0143/0.2994, allocations: 5.83 MB / 351.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/0.3016, allocations: 0.6481 MB / 352.2 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.315, allocations: 6.584 MB / 358.8 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.3162, allocations: 47.97 kB / 358.9 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003518/0.3166, allocations: 311.8 kB / 359.2 MB, free: 8.145 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 (114): * Single equations (assignments): 109 * 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.0006728/0.3173, allocations: 188.3 kB / 359.3 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000414/0.3177, allocations: 119.8 kB / 359.5 MB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009753/0.3274, allocations: 3.089 MB / 362.6 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007643/0.3351, allocations: 1.762 MB / 364.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.3351, allocations: 4 kB / 364.3 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.307e-05/0.3351, allocations: 11.91 kB / 364.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.3465, allocations: 4.596 MB / 368.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.3465, allocations: 4 kB / 368.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.3477, allocations: 383.2 kB / 369.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.3481, allocations: 123.2 kB / 369.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02275/0.3708, allocations: 5.596 MB / 375 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002932/0.3711, allocations: 59.92 kB / 375.1 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009912/0.381, allocations: 4.515 MB / 379.6 MB, free: 3.387 MB / 362.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.01941/0.4004, allocations: 4.861 MB / 384.5 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008957/0.4094, allocations: 2.811 MB / 387.3 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003168/0.4097, allocations: 31.94 kB / 387.3 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007238/0.4104, allocations: 36 kB / 387.3 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003562/0.4108, allocations: 140.6 kB / 387.5 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/0.4109, allocations: 135.9 kB / 387.6 MB, free: 11.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004621/0.4114, allocations: 462.6 kB / 388.1 MB, free: 10.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4114, allocations: 4 kB / 388.1 MB, free: 10.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002069/0.4135, allocations: 0.8316 MB / 388.9 MB, free: 9.949 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (62): * Single equations (assignments): 60 * 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.0006719/0.4141, allocations: 375.9 kB / 389.3 MB, free: 9.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003689/0.4178, allocations: 1.652 MB / 390.9 MB, free: 7.906 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.214e-05/0.4179, allocations: 16 kB / 390.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002476/0.4203, allocations: 1.194 MB / 392.1 MB, free: 6.684 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.4219, allocations: 2.23 MB / 394.3 MB, free: 4.094 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4647:9-4647:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:793:5-793:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.9669888447970152]