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.002306/0.002306, allocations: 85.48 kB / 19.44 MB, free: 344 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.003012/0.003012, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.617/1.617, allocations: 177.1 MB / 203.1 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] 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.159/0.159, allocations: 17.37 MB / 276.9 MB, free: 11.71 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 2.254e-06/2.254e-06, allocations: 0 / 352.7 MB, free: 10.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.813e-05/4.039e-05, allocations: 2.312 kB / 352.7 MB, free: 10.37 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.05815/0.05819, allocations: 29.43 MB / 382.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01556/0.07374, allocations: 8.611 MB / 390.7 MB, free: 4.422 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/0.07564, allocations: 23.88 kB / 390.7 MB, free: 4.398 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003547/0.07919, allocations: 0.8425 MB / 391.6 MB, free: 3.551 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003528/0.08272, allocations: 0.8028 MB / 392.4 MB, free: 2.742 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003409/0.08613, allocations: 0.9174 MB / 393.3 MB, free: 1.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004096/0.09022, allocations: 1.955 MB / 395.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007394/0.09096, allocations: 210.2 kB / 395.5 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002207/0.09317, allocations: 0.908 MB / 396.4 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.09457, allocations: 0.5335 MB / 396.9 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004949/0.09506, allocations: 140 kB / 397.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003867/0.09893, allocations: 1.022 MB / 398.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007704/0.0997, allocations: 474.2 kB / 398.5 MB, free: 12.56 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001354/0.1011, allocations: 0.5336 MB / 399.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007344/0.1084, allocations: 3.178 MB / 402.2 MB, free: 8.836 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.1084, allocations: 0 / 402.2 MB, free: 8.836 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1084, allocations: 0 / 402.2 MB, free: 8.836 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001199/0.1085, allocations: 0 / 402.2 MB, free: 8.836 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.00577/0.1143, allocations: 2.462 MB / 404.7 MB, free: 6.324 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1143, allocations: 8.031 kB / 404.7 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/0.1163, allocations: 0.8857 MB / 405.6 MB, free: 5.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.1179, allocations: 0.7998 MB / 406.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004219/0.1184, allocations: 318.2 kB / 406.7 MB, free: 4.262 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002496/0.1186, allocations: 152.3 kB / 406.9 MB, free: 4.113 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004365/0.123, allocations: 2.359 MB / 409.2 MB, free: 1.738 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.123, allocations: 192 / 409.2 MB, free: 1.738 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.1231, allocations: 64.11 kB / 409.3 MB, free: 1.676 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000382/0.1235, allocations: 283.5 kB / 409.6 MB, free: 1.398 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1659/0.2895, allocations: 5.663 MB / 415.2 MB, free: 63.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01951/0.309, allocations: 11.55 MB / 426.8 MB, free: 55.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/0.3111, allocations: 1.149 MB / 427.9 MB, free: 54.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.3125, allocations: 0.7635 MB / 428.7 MB, free: 54.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001419/0.3139, allocations: 0.6501 MB / 429.3 MB, free: 53.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.3139, allocations: 46.39 kB / 429.4 MB, free: 53.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=90): time 2.705e-06/0.3139, allocations: 0 / 429.4 MB, free: 53.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=146): time 0.08447/0.3984, allocations: 16.33 MB / 445.7 MB, free: 37.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1224/0.5207, allocations: 23.49 MB / 469.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/0.5227, allocations: 1.134 MB / 470.3 MB, free: 12.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007416/0.5234, allocations: 53.7 kB / 470.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007365/0.5242, allocations: 0.9747 MB / 471.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001236/0.5254, allocations: 0.5567 MB / 471.9 MB, free: 11.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002338/0.5278, allocations: 0.5166 MB / 472.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.963e-05/0.5278, allocations: 483.3 kB / 472.9 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00395/0.5318, allocations: 1.515 MB / 474.4 MB, free: 8.637 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003091/0.5348, allocations: 1.887 MB / 476.3 MB, free: 6.629 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005819/0.5407, allocations: 3.354 MB / 479.7 MB, free: 3.172 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.5407, allocations: 4 kB / 479.7 MB, free: 3.168 MB / 330.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.0257/0.5664, allocations: 5.606 MB / 485.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.5664, allocations: 8 kB / 485.3 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.5664, allocations: 4 kB / 485.3 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03273/0.5992, allocations: 6.5 MB / 491.8 MB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004749/0.6039, allocations: 0.6229 MB / 492.4 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03771/0.6416, allocations: 12.55 MB / 0.4931 GB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003634/0.6453, allocations: 171.8 kB / 0.4933 GB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/0.6463, allocations: 355.8 kB / 0.4936 GB, free: 9.285 MB / 362.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.001663/0.648, allocations: 358.9 kB / 0.494 GB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/0.6492, allocations: 179.1 kB / 0.4941 GB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02578/0.675, allocations: 5.734 MB / 0.4997 GB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02189/0.6969, allocations: 4.29 MB / 0.5039 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-05/0.6969, allocations: 4 kB / 0.5039 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-05/0.697, allocations: 10.66 kB / 0.5039 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03729/0.7343, allocations: 10.01 MB / 0.5137 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/0.7343, allocations: 7.938 kB / 0.5137 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003189/0.7375, allocations: 354.4 kB / 0.5141 GB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05653/0.794, allocations: 6.301 MB / 0.5202 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005695/0.7946, allocations: 87.91 kB / 0.5203 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02685/0.8214, allocations: 8.332 MB / 0.5284 GB, free: 5.289 MB / 394.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.04563/0.8671, allocations: 5.397 MB / 0.5337 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02848/0.8956, allocations: 6.542 MB / 0.5401 GB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007582/0.8963, allocations: 145.8 kB / 0.5402 GB, free: 9.086 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006025/0.8969, allocations: 43.98 kB / 0.5403 GB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002834/0.8997, allocations: 127.8 kB / 0.5404 GB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000904/0.9007, allocations: 188.9 kB / 0.5406 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004197/0.9011, allocations: 163.9 kB / 0.5407 GB, free: 8.574 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001556/0.9026, allocations: 0.8913 MB / 0.5416 GB, free: 7.672 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.9026, allocations: 0 / 0.5416 GB, free: 7.672 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00356/0.9062, allocations: 0.9319 MB / 0.5425 GB, free: 6.742 MB / 410.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.001131/0.9073, allocations: 399.8 kB / 0.5429 GB, free: 6.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01132/0.9186, allocations: 3.713 MB / 0.5465 GB, free: 2.691 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/0.9187, allocations: 0 / 0.5465 GB, free: 2.691 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007425/0.9261, allocations: 2.023 MB / 0.5485 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/0.9288, allocations: 424.4 kB / 0.5489 GB, free: 276 kB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4687:9-4687:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:848:5-848: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.6051734359934926]