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.001061/0.001061, allocations: 92.22 kB / 19.65 MB, free: 276 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.00134/0.00134, allocations: 173 kB / 23.02 MB, free: 1.547 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.115/1.115, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.09962/0.09962, allocations: 17.38 MB / 277.3 MB, free: 11.65 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.934e-06/1.934e-06, allocations: 0 / 353.4 MB, free: 10 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.994e-05, allocations: 8.641 kB / 353.4 MB, free: 9.992 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.03082/0.03085, allocations: 31.78 MB / 385.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009574/0.04042, allocations: 8.672 MB / 393.9 MB, free: 1.621 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009963/0.04142, allocations: 23.88 kB / 393.9 MB, free: 1.598 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.04338, allocations: 0.8309 MB / 394.7 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.04529, allocations: 0.8106 MB / 395.5 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.04744, allocations: 0.9174 MB / 396.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002497/0.04994, allocations: 1.963 MB / 398.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007555/0.05069, allocations: 214.2 kB / 398.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.05191, allocations: 0.9041 MB / 399.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000796/0.0527, allocations: 0.5296 MB / 400.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.05295, allocations: 140 kB / 400.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002377/0.05533, allocations: 1.014 MB / 401.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003094/0.05563, allocations: 478.1 kB / 401.7 MB, free: 9.758 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005379/0.05617, allocations: 0.5413 MB / 402.2 MB, free: 9.215 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003072/0.05924, allocations: 2.535 MB / 404.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.05925, allocations: 0 / 404.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.05925, allocations: 0 / 404.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.536e-05/0.0593, allocations: 0 / 404.8 MB, free: 6.672 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.002707/0.062, allocations: 2.337 MB / 407.1 MB, free: 4.289 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.06205, allocations: 12.03 kB / 407.1 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.06312, allocations: 0.874 MB / 408 MB, free: 3.402 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009011/0.06402, allocations: 0.7881 MB / 408.8 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002163/0.06423, allocations: 322.2 kB / 409.1 MB, free: 2.242 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.06437, allocations: 152.3 kB / 409.2 MB, free: 2.094 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.157/0.2214, allocations: 2.233 MB / 411.5 MB, free: 48.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.2214, allocations: 192 / 411.5 MB, free: 48.72 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.6e-05/0.2215, allocations: 59.3 kB / 411.5 MB, free: 48.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002506/0.2217, allocations: 280.3 kB / 411.8 MB, free: 48.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004372/0.2261, allocations: 3.451 MB / 415.3 MB, free: 48.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/0.2368, allocations: 9.362 MB / 424.6 MB, free: 45.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.2382, allocations: 0.7036 MB / 425.3 MB, free: 45.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008122/0.2391, allocations: 400.9 kB / 425.7 MB, free: 45.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008956/0.24, allocations: 0.6514 MB / 426.4 MB, free: 45.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.24, allocations: 48.88 kB / 426.4 MB, free: 45.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=90): time 2.755e-06/0.24, allocations: 0 / 426.4 MB, free: 45.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=146): time 0.04108/0.2811, allocations: 13.07 MB / 439.5 MB, free: 35.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04967/0.3307, allocations: 18.18 MB / 457.7 MB, free: 17.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007681/0.3315, allocations: 0.9378 MB / 458.6 MB, free: 16.45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004609/0.332, allocations: 53.7 kB / 458.6 MB, free: 16.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003687/0.3323, allocations: 0.9395 MB / 459.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000442/0.3328, allocations: 0.5023 MB / 460.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007859/0.3336, allocations: 483.8 kB / 460.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.789e-05/0.3336, allocations: 480.8 kB / 461 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.3351, allocations: 0.8487 MB / 461.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.3367, allocations: 1.179 MB / 463.1 MB, free: 12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002913/0.3396, allocations: 2.138 MB / 465.2 MB, free: 9.801 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3396, allocations: 0 / 465.2 MB, free: 9.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.0115/0.3511, allocations: 3.981 MB / 469.2 MB, free: 5.891 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3511, allocations: 11.94 kB / 469.2 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.3511, allocations: 8 kB / 469.2 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01444/0.3656, allocations: 5.993 MB / 475.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/0.3679, allocations: 0.6197 MB / 475.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/0.3838, allocations: 8.925 MB / 484.7 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.3854, allocations: 178.4 kB / 484.9 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003815/0.3857, allocations: 355.8 kB / 485.3 MB, free: 5.758 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.0008022/0.3866, allocations: 236.2 kB / 485.5 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005486/0.3871, allocations: 179.2 kB / 485.7 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/0.3982, allocations: 4.456 MB / 490.1 MB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009164/0.4073, allocations: 3.069 MB / 493.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4073, allocations: 4 kB / 493.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.4073, allocations: 7.969 kB / 493.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/0.4233, allocations: 8.316 MB / 0.4898 GB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.4233, allocations: 6.688 kB / 0.4898 GB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/0.4247, allocations: 352.7 kB / 0.4901 GB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02459/0.4493, allocations: 5.909 MB / 0.4959 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000296/0.4496, allocations: 95.89 kB / 0.496 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/0.4607, allocations: 5.889 MB / 0.5017 GB, free: 9.047 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.01925/0.4799, allocations: 5.155 MB / 0.5067 GB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/0.4922, allocations: 4.519 MB / 0.5112 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.4925, allocations: 147.1 kB / 0.5113 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/0.4927, allocations: 39.94 kB / 0.5113 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.4939, allocations: 119.8 kB / 0.5115 GB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004841/0.4944, allocations: 179.5 kB / 0.5116 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002032/0.4946, allocations: 163 kB / 0.5118 GB, free: 14.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009514/0.4956, allocations: 0.7493 MB / 0.5125 GB, free: 13.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4956, allocations: 0 / 0.5125 GB, free: 13.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002139/0.4977, allocations: 0.941 MB / 0.5134 GB, free: 12.96 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.0006221/0.4983, allocations: 379.8 kB / 0.5138 GB, free: 12.65 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004644/0.503, allocations: 2.563 MB / 0.5163 GB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.503, allocations: 0 / 0.5163 GB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00282/0.5058, allocations: 1.546 MB / 0.5178 GB, free: 8.594 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.5069, allocations: 434.8 kB / 0.5182 GB, free: 8.195 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4759:9-4759: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.435883296187967]