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.001886/0.001886, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002312/0.002312, allocations: 215.3 kB / 22.25 MB, free: 5.125 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.678/1.678, allocations: 230.6 MB / 256 MB, free: 7.988 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.1671/0.1671, allocations: 23.85 MB / 336.3 MB, free: 11.2 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: "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) [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.002087/0.002087, allocations: 59.91 kB / 471.1 MB, free: 7.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4225, allocations: 59.86 MB / 0.5186 GB, free: 9.578 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.06092/0.4835, allocations: 28.97 MB / 0.5469 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01579/0.4992, allocations: 9 MB / 0.5556 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/0.5015, allocations: 23.88 kB / 0.5557 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003457/0.505, allocations: 0.9022 MB / 0.5565 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003437/0.5084, allocations: 0.7768 MB / 0.5573 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003778/0.5122, allocations: 0.9095 MB / 0.5582 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004241/0.5165, allocations: 1.9 MB / 0.56 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005809/0.517, allocations: 230.2 kB / 0.5603 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.5182, allocations: 0.6039 MB / 0.5609 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001621/0.5199, allocations: 0.6974 MB / 0.5615 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005562/0.5204, allocations: 140 kB / 0.5617 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005747/0.5262, allocations: 1.617 MB / 0.5632 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009727/0.5271, allocations: 463.8 kB / 0.5637 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002271/0.5294, allocations: 0.9103 MB / 0.5646 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007753/0.5372, allocations: 3.336 MB / 0.5678 GB, free: 7.688 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5372, allocations: 0 / 0.5678 GB, free: 7.688 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5372, allocations: 0 / 0.5678 GB, free: 7.688 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.856e-05/0.5373, allocations: 0 / 0.5678 GB, free: 7.688 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.004885/0.5422, allocations: 2.141 MB / 0.5699 GB, free: 5.504 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/0.5422, allocations: 11.97 kB / 0.5699 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002903/0.5425, allocations: 253.8 kB / 0.5702 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.5436, allocations: 399.2 kB / 0.5706 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.545, allocations: 0.8329 MB / 0.5714 GB, free: 3.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003407/0.5454, allocations: 318.2 kB / 0.5717 GB, free: 3.645 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.5456, allocations: 152.3 kB / 0.5718 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008479/0.5541, allocations: 7.387 MB / 0.579 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.611e-05/0.5541, allocations: 0 / 0.579 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.5542, allocations: 55.98 kB / 0.5791 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000321/0.5546, allocations: 283.5 kB / 0.5794 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01557/0.5701, allocations: 13.41 MB / 0.5925 GB, free: 14.33 MB / 446.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.03191/0.602, allocations: 18.33 MB / 0.6104 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005848/0.6079, allocations: 3.534 MB / 0.6138 GB, free: 8.262 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003976/0.6119, allocations: 2.745 MB / 0.6165 GB, free: 5.512 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00193/0.6138, allocations: 0.6581 MB / 0.6171 GB, free: 4.852 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.6138, allocations: 43.5 kB / 0.6172 GB, free: 4.801 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 3.457e-06/0.6138, allocations: 0 / 0.6172 GB, free: 4.801 MB / 462.1 MB Notification: Performance of matching and sorting (n=146): time 0.1129/0.7267, allocations: 30.92 MB / 0.6474 GB, free: 5.816 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1349/0.8617, allocations: 41.15 MB / 0.6876 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003453/0.8651, allocations: 1.838 MB / 0.6893 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005894/0.8657, allocations: 57.77 kB / 0.6894 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008484/0.8666, allocations: 0.8129 MB / 0.6902 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001055/0.8676, allocations: 0.5112 MB / 0.6907 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001856/0.8695, allocations: 0.511 MB / 0.6912 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.8696, allocations: 301.1 kB / 0.6915 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007121/0.8767, allocations: 4.9 MB / 0.6963 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007457/0.8842, allocations: 5.152 MB / 0.7013 GB, free: 14.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/0.8952, allocations: 6.78 MB / 0.7079 GB, free: 7.281 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/0.8952, allocations: 0 / 0.7079 GB, free: 7.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.0356/0.9308, allocations: 13.64 MB / 0.7212 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.9308, allocations: 8 kB / 0.7212 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.9308, allocations: 8 kB / 0.7213 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02847/0.9593, allocations: 6.957 MB / 0.728 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00456/0.9639, allocations: 0.6203 MB / 0.7287 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3309/1.295, allocations: 26.78 MB / 0.7548 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003499/1.298, allocations: 176.9 kB / 0.755 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007755/1.299, allocations: 348.8 kB / 0.7553 GB, free: 172.3 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.001495/1.301, allocations: 0.5131 MB / 0.7558 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007021/1.301, allocations: 190.8 kB / 0.756 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0246/1.326, allocations: 8.951 MB / 0.7647 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02106/1.347, allocations: 7.385 MB / 0.7719 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.567e-05/1.347, allocations: 3.531 kB / 0.7719 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.076e-05/1.347, allocations: 7.969 kB / 0.772 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0333/1.38, allocations: 15.36 MB / 0.787 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/1.38, allocations: 8 kB / 0.787 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002675/1.383, allocations: 354 kB / 0.7873 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06126/1.444, allocations: 7.04 MB / 0.7942 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005546/1.445, allocations: 95.89 kB / 0.7943 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02263/1.467, allocations: 11.78 MB / 0.8058 GB, free: 131 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.03797/1.505, allocations: 5.655 MB / 0.8113 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02636/1.532, allocations: 11.61 MB / 0.8226 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006751/1.532, allocations: 248.9 kB / 0.8229 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008682/1.533, allocations: 43.94 kB / 0.8229 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002873/1.536, allocations: 119.8 kB / 0.823 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007984/1.537, allocations: 191.6 kB / 0.8232 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004377/1.537, allocations: 163.9 kB / 0.8234 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002344/1.54, allocations: 1.815 MB / 0.8251 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.54, allocations: 2.656 kB / 0.8251 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003465/1.543, allocations: 0.955 MB / 0.8261 GB, free: 110.2 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.02617/1.569, allocations: 11.59 MB / 0.8374 GB, free: 98.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01333/1.583, allocations: 7.447 MB / 0.8447 GB, free: 91.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-05/1.583, allocations: 2.688 kB / 0.8447 GB, free: 91.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007011/1.59, allocations: 2.904 MB / 0.8475 GB, free: 88.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003377/1.593, allocations: 424.3 kB / 0.8479 GB, free: 87.88 MB / 0.5606 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.505609665997326] Failed to read output from testmodel.py, exit status != 0: 1.6042839419096708 1.617436633 1.077688689 Calling exit ...