Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.00102/0.00102, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009882/0.0009882, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.008/1.008, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.09525/0.09525, allocations: 17.47 MB / 278.5 MB, free: 11.41 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Examples.HeatingOfAlcohol") translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.HeatingOfAlcohol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 3.938 kB / 354.8 MB, free: 9.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.679e-05, allocations: 6.312 kB / 354.8 MB, free: 9.582 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361: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 master/Boundaries.mo:1361:7-1361: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.02761/0.02764, allocations: 32.03 MB / 386.8 MB, free: 9.668 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.03788, allocations: 9.558 MB / 396.4 MB, free: 76 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008941/0.03877, allocations: 51.56 kB / 396.4 MB, free: 24 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.04064, allocations: 0.8853 MB / 397.3 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.04244, allocations: 1.02 MB / 398.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.04438, allocations: 1.119 MB / 399.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001923/0.0463, allocations: 2.125 MB / 401.6 MB, free: 10.85 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002937/0.0466, allocations: 220.3 kB / 401.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008198/0.04742, allocations: 1.002 MB / 402.8 MB, free: 9.602 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.04847, allocations: 0.7986 MB / 403.6 MB, free: 8.801 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.04859, allocations: 136 kB / 403.7 MB, free: 8.668 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00258/0.05117, allocations: 1.24 MB / 404.9 MB, free: 7.426 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003433/0.05151, allocations: 494.2 kB / 405.4 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005401/0.05205, allocations: 0.557 MB / 406 MB, free: 6.383 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003128/0.05518, allocations: 2.605 MB / 408.6 MB, free: 3.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.05518, allocations: 0 / 408.6 MB, free: 3.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.05518, allocations: 0 / 408.6 MB, free: 3.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.039e-05/0.0552, allocations: 0 / 408.6 MB, free: 3.77 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.002434/0.05764, allocations: 2.407 MB / 411 MB, free: 1.312 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.05767, allocations: 8.031 kB / 411 MB, free: 1.305 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008381/0.05851, allocations: 0.8584 MB / 411.9 MB, free: 456 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1399/0.1984, allocations: 1.141 MB / 413 MB, free: 47.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.1985, allocations: 237 kB / 413.2 MB, free: 47.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.1987, allocations: 147.9 kB / 413.4 MB, free: 47.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.2007, allocations: 1.693 MB / 415.1 MB, free: 47.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.2008, allocations: 192 / 415.1 MB, free: 47.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-05/0.2008, allocations: 63.84 kB / 415.1 MB, free: 47.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002152/0.2011, allocations: 256.9 kB / 415.4 MB, free: 47.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/0.2038, allocations: 2.675 MB / 418.1 MB, free: 47.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007891/0.2117, allocations: 7.091 MB / 425.2 MB, free: 45.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006732/0.2124, allocations: 0.5956 MB / 425.8 MB, free: 45.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.2127, allocations: 321.5 kB / 426.1 MB, free: 45.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003818/0.2165, allocations: 3.424 MB / 429.5 MB, free: 43.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.2165, allocations: 48.17 kB / 429.5 MB, free: 43.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 2.464e-06/0.2165, allocations: 0 / 429.5 MB, free: 43.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.01387/0.2304, allocations: 6.12 MB / 435.7 MB, free: 39.41 MB / 330.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 inlineWhenForInitialization (initialization): time 0.000946/0.2313, allocations: 1.008 MB / 436.7 MB, free: 38.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008171/0.2322, allocations: 1.237 MB / 437.9 MB, free: 37.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.734e-05/0.2322, allocations: 41.7 kB / 437.9 MB, free: 37.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004405/0.2327, allocations: 1.181 MB / 439.1 MB, free: 36.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.2329, allocations: 366.9 kB / 439.5 MB, free: 35.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003851/0.2333, allocations: 467.8 kB / 439.9 MB, free: 35.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.2333, allocations: 476.8 kB / 440.4 MB, free: 34.97 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004672/0.2338, allocations: 371.7 kB / 440.8 MB, free: 34.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007306/0.2345, allocations: 1.426 MB / 442.2 MB, free: 32.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.2361, allocations: 2.023 MB / 444.2 MB, free: 30.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.2361, allocations: 8 kB / 444.2 MB, free: 30.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003859/0.24, allocations: 2.244 MB / 446.5 MB, free: 28.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.24, allocations: 16 kB / 446.5 MB, free: 28.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.24, allocations: 24 kB / 446.5 MB, free: 28.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003167/0.2432, allocations: 1.101 MB / 447.6 MB, free: 27.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.2446, allocations: 0.6401 MB / 448.2 MB, free: 26.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.2472, allocations: 3.99 MB / 452.2 MB, free: 22.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007915/0.248, allocations: 74.64 kB / 452.3 MB, free: 22.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/0.2481, allocations: 231.9 kB / 452.5 MB, free: 22.28 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 4 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase,Ethanol.substanceDefinitionVar.SelfClustering,Ethanol.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,14), (1,6), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004488/0.2486, allocations: 279 kB / 452.8 MB, free: 22.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.2489, allocations: 183.1 kB / 453 MB, free: 21.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005348/0.2542, allocations: 2.451 MB / 455.4 MB, free: 19.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.2542, allocations: 12 kB / 455.4 MB, free: 19.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2542, allocations: 0 / 455.4 MB, free: 19.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.2542, allocations: 11.97 kB / 455.5 MB, free: 19.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006611/0.2608, allocations: 3.877 MB / 459.3 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.2608, allocations: 4 kB / 459.3 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.262, allocations: 404.2 kB / 459.7 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00485/0.2669, allocations: 1.469 MB / 461.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.267, allocations: 55.16 kB / 461.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006259/0.2732, allocations: 6.44 MB / 467.7 MB, free: 7.5 MB / 330.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.0009018/0.2741, allocations: 0.919 MB / 468.6 MB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005022/0.2791, allocations: 2.241 MB / 470.9 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.2794, allocations: 123 kB / 471 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.2795, allocations: 27.89 kB / 471 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/0.2799, allocations: 34.67 kB / 471 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/0.2801, allocations: 122.8 kB / 471.2 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.313e-05/0.2802, allocations: 89.83 kB / 471.2 MB, free: 3.961 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004179/0.2806, allocations: 0.6184 MB / 471.9 MB, free: 3.395 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2806, allocations: 0 / 471.9 MB, free: 3.395 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001324/0.282, allocations: 0.5113 MB / 472.4 MB, free: 2.883 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 ($STATESET1.x,Ethanol.logm,liquidWater.logm) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * 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 {(4,14,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004366/0.2824, allocations: 397 kB / 472.8 MB, free: 2.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002013/0.2844, allocations: 1.502 MB / 474.3 MB, free: 1.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2844, allocations: 0 / 474.3 MB, free: 1.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.2857, allocations: 1.044 MB / 475.3 MB, free: 120 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008405/0.2865, allocations: 358.7 kB / 475.7 MB, free: 15.8 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4595:9-4595:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:827:5-827: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: 2.066271664109081]