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.0006234/0.0006234, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007014/0.0007014, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8515/0.8515, allocations: 177.2 MB / 203.5 MB, free: 5.715 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.08232/0.08232, allocations: 17.36 MB / 277.3 MB, free: 11.84 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.533e-06/1.533e-06, allocations: 0 / 412.7 MB, free: 15.94 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.465e-05, allocations: 8.609 kB / 412.7 MB, free: 15.93 MB / 394.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.02152/0.02155, allocations: 28.27 MB / 441 MB, free: 3.719 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1761/0.1977, allocations: 7.829 MB / 448.8 MB, free: 59.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000687/0.1984, allocations: 26.66 kB / 448.8 MB, free: 59.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.1999, allocations: 0.8456 MB / 449.7 MB, free: 59.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.201, allocations: 0.7968 MB / 450.5 MB, free: 59.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.2021, allocations: 0.925 MB / 451.4 MB, free: 59.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.2033, allocations: 1.956 MB / 453.4 MB, free: 58.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.2035, allocations: 209.9 kB / 453.6 MB, free: 58.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000474/0.204, allocations: 0.8984 MB / 454.5 MB, free: 58.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003957/0.2044, allocations: 0.5198 MB / 455 MB, free: 57.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.2045, allocations: 141.2 kB / 455.1 MB, free: 57.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.2057, allocations: 1.011 MB / 456.1 MB, free: 57.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.2058, allocations: 470.6 kB / 456.6 MB, free: 57.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.2061, allocations: 0.5367 MB / 457.1 MB, free: 57.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001754/0.2079, allocations: 3.174 MB / 460.3 MB, free: 56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2079, allocations: 9.719 kB / 460.3 MB, free: 56 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.2079, allocations: 0 / 460.3 MB, free: 56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.2079, allocations: 0 / 460.3 MB, free: 56 MB / 410.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.001631/0.2095, allocations: 2.106 MB / 462.4 MB, free: 54.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2096, allocations: 15.97 kB / 462.4 MB, free: 54.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005138/0.2101, allocations: 397.3 kB / 462.8 MB, free: 54.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006967/0.2108, allocations: 0.8236 MB / 463.6 MB, free: 53.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/0.2109, allocations: 331.5 kB / 464 MB, free: 53.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.2111, allocations: 141 kB / 464.1 MB, free: 53.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003613/0.2147, allocations: 7.386 MB / 471.5 MB, free: 50.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.2147, allocations: 6.75 kB / 471.5 MB, free: 50.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.611e-05/0.2148, allocations: 57.83 kB / 471.6 MB, free: 50.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001655/0.2149, allocations: 281.5 kB / 471.8 MB, free: 50.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007345/0.2223, allocations: 13.38 MB / 485.2 MB, free: 45.55 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01394/0.2362, allocations: 16.92 MB / 0.4904 GB, free: 37.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/0.2388, allocations: 3.523 MB / 0.4938 GB, free: 34.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/0.2407, allocations: 2.758 MB / 0.4965 GB, free: 32.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008861/0.2416, allocations: 0.6499 MB / 0.4971 GB, free: 31.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.2416, allocations: 43.56 kB / 0.4972 GB, free: 31.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=90): time 2.745e-06/0.2416, allocations: 0 / 0.4972 GB, free: 31.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=146): time 0.05063/0.2923, allocations: 30.93 MB / 0.5274 GB, free: 3.566 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06577/0.358, allocations: 40.59 MB / 0.567 GB, free: 10.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008595/0.3589, allocations: 0.9523 MB / 0.5679 GB, free: 9.84 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004738/0.3594, allocations: 49.7 kB / 0.568 GB, free: 9.785 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.3597, allocations: 0.8405 MB / 0.5688 GB, free: 8.934 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004712/0.3602, allocations: 0.5073 MB / 0.5693 GB, free: 8.422 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/0.3613, allocations: 0.5098 MB / 0.5698 GB, free: 7.91 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.1e-05/0.3614, allocations: 305.1 kB / 0.5701 GB, free: 7.609 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004147/0.3655, allocations: 4.904 MB / 0.5749 GB, free: 2.703 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004503/0.37, allocations: 5.156 MB / 0.5799 GB, free: 13.46 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006617/0.3766, allocations: 6.775 MB / 0.5865 GB, free: 6.605 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.3766, allocations: 4 kB / 0.5865 GB, free: 6.602 MB / 474.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01821/0.3948, allocations: 13.59 MB / 0.5998 GB, free: 9.004 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.3949, allocations: 8 kB / 0.5998 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.3949, allocations: 13.38 kB / 0.5998 GB, free: 8.988 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.014/0.4089, allocations: 6.999 MB / 0.6067 GB, free: 2.043 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.4111, allocations: 0.6215 MB / 0.6073 GB, free: 1.426 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1724/0.5835, allocations: 26.37 MB / 0.633 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/0.5853, allocations: 178.6 kB / 0.6332 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003216/0.5857, allocations: 348.1 kB / 0.6335 GB, free: 151.9 MB / 0.4948 GB 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.0009461/0.5866, allocations: 0.5066 MB / 0.634 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003479/0.587, allocations: 140.2 kB / 0.6342 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/0.5993, allocations: 8.898 MB / 0.6429 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01068/0.61, allocations: 7.39 MB / 0.6501 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.61, allocations: 3.125 kB / 0.6501 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.61, allocations: 6.328 kB / 0.6501 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01834/0.6284, allocations: 14.34 MB / 0.6641 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.6284, allocations: 6.031 kB / 0.6641 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/0.6298, allocations: 356.6 kB / 0.6644 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02403/0.6539, allocations: 7.107 MB / 0.6714 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000278/0.6541, allocations: 92.53 kB / 0.6715 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/0.6671, allocations: 11.5 MB / 0.6827 GB, free: 131.7 MB / 0.4948 GB 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.01803/0.6851, allocations: 5.729 MB / 0.6883 GB, free: 127 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01401/0.6991, allocations: 11.54 MB / 0.6995 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.6994, allocations: 149.4 kB / 0.6997 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/0.6996, allocations: 38.89 kB / 0.6997 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.7007, allocations: 126.5 kB / 0.6998 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003964/0.7011, allocations: 192.9 kB / 0.7 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/0.7013, allocations: 163.9 kB / 0.7002 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007506/0.702, allocations: 1.176 MB / 0.7013 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.41e-07/0.702, allocations: 0 / 0.7013 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001753/0.7038, allocations: 0.9376 MB / 0.7023 GB, free: 112.7 MB / 0.4948 GB 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.0005207/0.7043, allocations: 381.6 kB / 0.7026 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006208/0.7105, allocations: 7.455 MB / 0.7099 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7105, allocations: 4 kB / 0.7099 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003089/0.7136, allocations: 2.902 MB / 0.7127 GB, free: 102 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.7146, allocations: 329.1 kB / 0.713 GB, free: 101.8 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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.2980650970712304] Failed to read output from testmodel.py, exit status != 0: 0.7199906809255481 0.724718981 0.515607588 Calling exit ...