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.001436/0.001436, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001624/0.001624, allocations: 212.8 kB / 22.99 MB, free: 4.945 MB / 14.72 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 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.1534/0.1534, allocations: 23.88 MB / 337.1 MB, free: 10.96 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 67.89 kB / 472.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.353, allocations: 59.86 MB / 0.5197 GB, free: 9.734 MB / 382.1 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.07556/0.4285, allocations: 28.02 MB / 0.5471 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01619/0.4447, allocations: 7.829 MB / 0.5547 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003193/0.4479, allocations: 23.88 kB / 0.5548 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003673/0.4516, allocations: 0.8236 MB / 0.5556 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003462/0.455, allocations: 0.7817 MB / 0.5563 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003473/0.4585, allocations: 0.9014 MB / 0.5572 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003792/0.4623, allocations: 1.892 MB / 0.5591 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.4628, allocations: 218.7 kB / 0.5593 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009415/0.4637, allocations: 0.6122 MB / 0.5599 GB, free: 200 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008855/0.4646, allocations: 0.6229 MB / 0.5605 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001926/0.4648, allocations: 140 kB / 0.5606 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/0.4679, allocations: 1.015 MB / 0.5616 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004545/0.4684, allocations: 463.6 kB / 0.562 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007299/0.4691, allocations: 0.6774 MB / 0.5627 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005093/0.4742, allocations: 3.17 MB / 0.5658 GB, free: 10.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.4742, allocations: 0 / 0.5658 GB, free: 10.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4742, allocations: 0 / 0.5658 GB, free: 10.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.4742, allocations: 0 / 0.5658 GB, free: 10.7 MB / 414.1 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.003546/0.4778, allocations: 2.137 MB / 0.5679 GB, free: 8.516 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.4778, allocations: 8.031 kB / 0.5679 GB, free: 8.508 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.4788, allocations: 399.3 kB / 0.5683 GB, free: 8.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.4802, allocations: 0.829 MB / 0.5691 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003341/0.4806, allocations: 322.2 kB / 0.5694 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/0.4808, allocations: 148.3 kB / 0.5695 GB, free: 6.773 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008384/0.4892, allocations: 7.395 MB / 0.5768 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.039e-05/0.4892, allocations: 0 / 0.5768 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.4893, allocations: 59.98 kB / 0.5768 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003279/0.4897, allocations: 271.5 kB / 0.5771 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01446/0.5041, allocations: 13.39 MB / 0.5902 GB, free: 1.637 MB / 430.1 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.02693/0.5311, allocations: 16.91 MB / 0.6067 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005123/0.5362, allocations: 3.542 MB / 0.6101 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003623/0.5398, allocations: 2.745 MB / 0.6128 GB, free: 10.33 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001756/0.5416, allocations: 0.6425 MB / 0.6134 GB, free: 9.688 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.5416, allocations: 39.56 kB / 0.6135 GB, free: 9.641 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 3.015e-06/0.5416, allocations: 0 / 0.6135 GB, free: 9.641 MB / 462.1 MB Notification: Performance of matching and sorting (n=146): time 0.1091/0.6507, allocations: 30.91 MB / 0.6437 GB, free: 10.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1297/0.7804, allocations: 40.51 MB / 0.6832 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.7818, allocations: 0.9601 MB / 0.6842 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004935/0.7823, allocations: 49.7 kB / 0.6842 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007146/0.7831, allocations: 0.8484 MB / 0.685 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007588/0.7838, allocations: 0.5112 MB / 0.6855 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001391/0.7852, allocations: 0.511 MB / 0.686 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.7853, allocations: 304.9 kB / 0.6863 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007202/0.7926, allocations: 4.9 MB / 0.6911 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007401/0.8, allocations: 5.156 MB / 0.6961 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/0.8107, allocations: 6.78 MB / 0.7028 GB, free: 13.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.8107, allocations: 4 kB / 0.7028 GB, free: 13.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.0343/0.845, allocations: 13.6 MB / 0.716 GB, free: 0 / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.424e-05/0.8451, allocations: 8.047 kB / 0.716 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.8451, allocations: 8 kB / 0.7161 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02888/0.874, allocations: 6.968 MB / 0.7229 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00441/0.8784, allocations: 0.6242 MB / 0.7235 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2871/1.165, allocations: 26.37 MB / 0.7492 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003279/1.169, allocations: 177.8 kB / 0.7494 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005746/1.169, allocations: 355 kB / 0.7497 GB, free: 175.8 MB / 0.5606 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.001156/1.17, allocations: 0.4995 MB / 0.7502 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005433/1.171, allocations: 131.4 kB / 0.7503 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02333/1.194, allocations: 8.904 MB / 0.759 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02017/1.215, allocations: 7.391 MB / 0.7663 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/1.215, allocations: 2.625 kB / 0.7663 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.101e-05/1.215, allocations: 15.88 kB / 0.7663 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03011/1.245, allocations: 14.33 MB / 0.7803 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/1.245, allocations: 8 kB / 0.7803 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002782/1.248, allocations: 346.2 kB / 0.7806 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04609/1.294, allocations: 7.048 MB / 0.7875 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004571/1.294, allocations: 94.47 kB / 0.7876 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02091/1.315, allocations: 11.5 MB / 0.7988 GB, free: 138.5 MB / 0.5606 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.03898/1.354, allocations: 5.653 MB / 0.8043 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02585/1.38, allocations: 11.55 MB / 0.8156 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004485/1.38, allocations: 157.8 kB / 0.8157 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005976/1.381, allocations: 32 kB / 0.8158 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002746/1.384, allocations: 123.8 kB / 0.8159 GB, free: 121 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005924/1.384, allocations: 188.9 kB / 0.8161 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002726/1.384, allocations: 170.5 kB / 0.8162 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001139/1.386, allocations: 1.172 MB / 0.8174 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/1.386, allocations: 0 / 0.8174 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002784/1.388, allocations: 0.9362 MB / 0.8183 GB, free: 118.5 MB / 0.5606 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.0007301/1.389, allocations: 383 kB / 0.8187 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01098/1.4, allocations: 7.452 MB / 0.8259 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.4, allocations: 0 / 0.8259 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005929/1.406, allocations: 2.906 MB / 0.8288 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/1.408, allocations: 312.5 kB / 0.8291 GB, free: 107.6 MB / 0.5606 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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.920543262735009] Failed to read output from testmodel.py, exit status != 0: 1.4171141027472913 1.4262439089999999 0.949685457 Calling exit ...