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.00171/0.00171, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001913/0.001913, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.517/1.517, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.1699/0.1699, allocations: 23.86 MB / 333.4 MB, free: 1.199 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="cs",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.001971/0.001971, allocations: 67.53 kB / 466.7 MB, free: 30.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1325, allocations: 59.83 MB / 0.5142 GB, free: 12.96 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.049/0.1815, allocations: 28.77 MB / 0.5423 GB, free: 228 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01608/0.1976, allocations: 8.991 MB / 0.551 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002122/0.1997, allocations: 23.88 kB / 0.5511 GB, free: 7.172 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003416/0.2031, allocations: 0.9129 MB / 0.5519 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004488/0.2076, allocations: 0.7953 MB / 0.5527 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003975/0.2116, allocations: 0.9254 MB / 0.5536 GB, free: 4.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004061/0.2157, allocations: 1.89 MB / 0.5555 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000682/0.2164, allocations: 221.6 kB / 0.5557 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.2177, allocations: 0.6147 MB / 0.5563 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.2194, allocations: 0.6959 MB / 0.557 GB, free: 1.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006365/0.2201, allocations: 140 kB / 0.5571 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007441/0.2275, allocations: 1.619 MB / 0.5587 GB, free: 15.31 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009209/0.2284, allocations: 462.2 kB / 0.5591 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001909/0.2303, allocations: 0.8973 MB / 0.56 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007802/0.2381, allocations: 3.34 MB / 0.5633 GB, free: 10.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2381, allocations: 4 kB / 0.5633 GB, free: 10.6 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.2381, allocations: 0 / 0.5633 GB, free: 10.6 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.714e-05/0.2382, allocations: 0 / 0.5633 GB, free: 10.6 MB / 430.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.005347/0.2436, allocations: 2.217 MB / 0.5654 GB, free: 8.324 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.2436, allocations: 8.031 kB / 0.5654 GB, free: 8.316 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.448e-05/0.2437, allocations: 43 kB / 0.5655 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003298/0.244, allocations: 245.8 kB / 0.5657 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.2453, allocations: 391.3 kB / 0.5661 GB, free: 7.641 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.2469, allocations: 0.8894 MB / 0.567 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003895/0.2473, allocations: 262.8 kB / 0.5672 GB, free: 6.438 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/0.2475, allocations: 152.1 kB / 0.5673 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009318/0.2569, allocations: 7.039 MB / 0.5742 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.2569, allocations: 0 / 0.5742 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.257, allocations: 59.98 kB / 0.5743 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004079/0.2574, allocations: 287.3 kB / 0.5746 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0153/0.2727, allocations: 12.83 MB / 0.5871 GB, free: 2.051 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.326/0.5987, allocations: 17.98 MB / 0.6046 GB, free: 59.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004458/0.6032, allocations: 3.496 MB / 0.6081 GB, free: 58.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002867/0.606, allocations: 2.716 MB / 0.6107 GB, free: 57.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001653/0.6077, allocations: 1.54 MB / 0.6122 GB, free: 55.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.6077, allocations: 43.34 kB / 0.6123 GB, free: 55.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=90): time 2.895e-06/0.6077, allocations: 0 / 0.6123 GB, free: 55.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=146): time 0.09772/0.7054, allocations: 30.86 MB / 0.6424 GB, free: 28.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1195/0.8249, allocations: 40.92 MB / 0.6824 GB, free: 3.148 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002973/0.8279, allocations: 1.838 MB / 0.6841 GB, free: 1.305 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008425/0.8287, allocations: 45.7 kB / 0.6842 GB, free: 1.254 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000846/0.8296, allocations: 0.8232 MB / 0.685 GB, free: 436 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001046/0.8306, allocations: 0.5183 MB / 0.6855 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001516/0.8321, allocations: 0.5032 MB / 0.686 GB, free: 15.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.8323, allocations: 308.8 kB / 0.6863 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007247/0.8395, allocations: 4.824 MB / 0.691 GB, free: 10.29 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007882/0.8474, allocations: 5.069 MB / 0.6959 GB, free: 5.137 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01169/0.8591, allocations: 6.762 MB / 0.7026 GB, free: 14.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.8591, allocations: 4 kB / 0.7026 GB, free: 14.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.0355/0.8946, allocations: 13.43 MB / 0.7157 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.8947, allocations: 11.98 kB / 0.7157 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/0.8947, allocations: 8 kB / 0.7157 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02932/0.924, allocations: 6.873 MB / 0.7224 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004673/0.9287, allocations: 0.6293 MB / 0.723 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04903/0.9777, allocations: 26.44 MB / 0.7488 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003998/0.9817, allocations: 171.8 kB / 0.749 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008108/0.9825, allocations: 358.4 kB / 0.7493 GB, free: 14.31 MB / 0.5294 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.001617/0.9841, allocations: 0.5092 MB / 0.7498 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000823/0.985, allocations: 194.8 kB / 0.75 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02833/1.013, allocations: 8.933 MB / 0.7587 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02423/1.038, allocations: 7.379 MB / 0.766 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/1.038, allocations: 4 kB / 0.766 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.464e-05/1.038, allocations: 3.984 kB / 0.766 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03801/1.076, allocations: 15.31 MB / 0.7809 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.693e-05/1.076, allocations: 8 kB / 0.7809 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003047/1.079, allocations: 354 kB / 0.7813 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05211/1.131, allocations: 7.036 MB / 0.7881 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005259/1.131, allocations: 91.91 kB / 0.7882 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02744/1.159, allocations: 11.9 MB / 0.7998 GB, free: 10.21 MB / 0.5762 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.04317/1.202, allocations: 5.645 MB / 0.8053 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2648/1.467, allocations: 11.57 MB / 0.8166 GB, free: 200.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006803/1.467, allocations: 329.7 kB / 0.817 GB, free: 200.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000544/1.468, allocations: 41.27 kB / 0.817 GB, free: 200.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002707/1.471, allocations: 123.6 kB / 0.8171 GB, free: 200.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008783/1.472, allocations: 189.6 kB / 0.8173 GB, free: 200.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003943/1.472, allocations: 163.7 kB / 0.8175 GB, free: 200.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002885/1.475, allocations: 1.814 MB / 0.8192 GB, free: 199.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/1.475, allocations: 0.5 kB / 0.8192 GB, free: 199.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003493/1.478, allocations: 0.9489 MB / 0.8202 GB, free: 199.7 MB / 0.5762 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.02812/1.506, allocations: 11.57 MB / 0.8314 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.517, allocations: 7.368 MB / 0.8386 GB, free: 192 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.517, allocations: 2.625 kB / 0.8386 GB, free: 192 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006123/1.524, allocations: 2.893 MB / 0.8415 GB, free: 190.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/1.526, allocations: 410 kB / 0.8419 GB, free: 190.3 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4705:9-4705:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818: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.271161446988117] Failed to read output from testmodel.py, exit status != 0: 1.5338497020420618 1.543501152 1.303111803 Calling exit ...