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.001635/0.001635, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001799/0.001799, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.497/1.497, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.1409/0.1409, allocations: 23.88 MB / 333.4 MB, free: 1.172 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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: "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Examples_HeatingOfAlcohol",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_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.002038/0.002038, allocations: 63.16 kB / 466.7 MB, free: 30.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1026, allocations: 59.84 MB / 0.5142 GB, free: 12.93 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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.043/0.1456, allocations: 28.77 MB / 0.5423 GB, free: 188 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.1584, allocations: 8.983 MB / 0.5511 GB, free: 7.164 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.1594, allocations: 23.88 kB / 0.5511 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002644/0.162, allocations: 0.909 MB / 0.552 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.1642, allocations: 0.7992 MB / 0.5528 GB, free: 5.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.1666, allocations: 0.9137 MB / 0.5537 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002861/0.1694, allocations: 1.894 MB / 0.5555 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004324/0.1699, allocations: 225.6 kB / 0.5557 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007918/0.1706, allocations: 0.6108 MB / 0.5563 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008482/0.1715, allocations: 0.696 MB / 0.557 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002002/0.1717, allocations: 140 kB / 0.5571 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/0.1753, allocations: 1.619 MB / 0.5587 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004282/0.1758, allocations: 466.3 kB / 0.5592 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008709/0.1766, allocations: 0.9011 MB / 0.56 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004908/0.1815, allocations: 3.34 MB / 0.5633 GB, free: 10.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1815, allocations: 0 / 0.5633 GB, free: 10.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1815, allocations: 0 / 0.5633 GB, free: 10.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.926e-05/0.1816, allocations: 0 / 0.5633 GB, free: 10.57 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.003734/0.1853, allocations: 2.209 MB / 0.5655 GB, free: 8.305 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1854, allocations: 12.03 kB / 0.5655 GB, free: 8.293 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.674e-05/0.1854, allocations: 39 kB / 0.5655 GB, free: 8.254 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002809/0.1857, allocations: 249.8 kB / 0.5658 GB, free: 8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.1868, allocations: 403.3 kB / 0.5661 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.1881, allocations: 0.8855 MB / 0.567 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002907/0.1884, allocations: 262.8 kB / 0.5673 GB, free: 6.406 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.1887, allocations: 152.1 kB / 0.5674 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007888/0.1965, allocations: 7.036 MB / 0.5743 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.1966, allocations: 3.938 kB / 0.5743 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.1967, allocations: 55.98 kB / 0.5743 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003367/0.197, allocations: 287.5 kB / 0.5746 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01389/0.2109, allocations: 12.83 MB / 0.5871 GB, free: 2.027 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.2666/0.4775, allocations: 17.99 MB / 0.6047 GB, free: 59.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004721/0.4823, allocations: 3.495 MB / 0.6081 GB, free: 58.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002824/0.4851, allocations: 2.721 MB / 0.6108 GB, free: 56.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001728/0.4868, allocations: 1.541 MB / 0.6123 GB, free: 55.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.4868, allocations: 43.25 kB / 0.6123 GB, free: 55.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=90): time 2.806e-06/0.4868, allocations: 0 / 0.6123 GB, free: 55.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=146): time 0.09897/0.5858, allocations: 30.85 MB / 0.6424 GB, free: 27.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1165/0.7023, allocations: 40.91 MB / 0.6824 GB, free: 2.758 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/0.7051, allocations: 1.844 MB / 0.6842 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006921/0.7058, allocations: 45.7 kB / 0.6842 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007375/0.7065, allocations: 0.8151 MB / 0.685 GB, free: 96 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009449/0.7075, allocations: 0.5195 MB / 0.6855 GB, free: 15.65 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00147/0.709, allocations: 0.5059 MB / 0.686 GB, free: 15.14 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.7091, allocations: 309.1 kB / 0.6863 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006739/0.7158, allocations: 4.816 MB / 0.691 GB, free: 10.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007057/0.7229, allocations: 5.073 MB / 0.696 GB, free: 4.867 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/0.7339, allocations: 6.763 MB / 0.7026 GB, free: 14.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.7339, allocations: 0 / 0.7026 GB, free: 14.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.03407/0.768, allocations: 13.44 MB / 0.7157 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.768, allocations: 8 kB / 0.7157 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.7681, allocations: 10.81 kB / 0.7157 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02853/0.7966, allocations: 6.884 MB / 0.7225 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004627/0.8012, allocations: 0.619 MB / 0.7231 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04674/0.848, allocations: 26.43 MB / 0.7489 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003791/0.8518, allocations: 175.7 kB / 0.749 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000779/0.8525, allocations: 355.8 kB / 0.7494 GB, free: 14.03 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.001639/0.8542, allocations: 0.5078 MB / 0.7499 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000821/0.855, allocations: 187.3 kB / 0.7501 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02702/0.882, allocations: 8.932 MB / 0.7588 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02401/0.906, allocations: 7.375 MB / 0.766 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.957e-05/0.906, allocations: 4 kB / 0.766 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-05/0.9061, allocations: 7.969 kB / 0.766 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03866/0.9448, allocations: 15.31 MB / 0.7809 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.316e-05/0.9448, allocations: 21.5 kB / 0.781 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003053/0.9478, allocations: 350.1 kB / 0.7813 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05166/0.9995, allocations: 7.045 MB / 0.7882 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005999/1, allocations: 91.91 kB / 0.7883 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02742/1.028, allocations: 11.89 MB / 0.7999 GB, free: 9.957 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.04281/1.07, allocations: 5.649 MB / 0.8054 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2453/1.316, allocations: 11.57 MB / 0.8167 GB, free: 200.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006046/1.316, allocations: 330 kB / 0.817 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006085/1.317, allocations: 37.22 kB / 0.817 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002786/1.32, allocations: 122.5 kB / 0.8172 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000765/1.32, allocations: 188.7 kB / 0.8173 GB, free: 200.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003787/1.321, allocations: 163.7 kB / 0.8175 GB, free: 200.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002476/1.323, allocations: 1.814 MB / 0.8193 GB, free: 199.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.323, allocations: 2.656 kB / 0.8193 GB, free: 199.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003412/1.327, allocations: 0.9486 MB / 0.8202 GB, free: 199.4 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.02756/1.354, allocations: 11.56 MB / 0.8315 GB, free: 194.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01116/1.365, allocations: 7.37 MB / 0.8387 GB, free: 191.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.556e-05/1.365, allocations: 3.859 kB / 0.8387 GB, free: 191.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006423/1.372, allocations: 2.895 MB / 0.8415 GB, free: 190 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/1.374, allocations: 416.2 kB / 0.8419 GB, free: 189.7 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 659] [Calling sys.exit(0), Time elapsed: 3.9453230510116555] Failed to read output from testmodel.py, exit status != 0: 1.3814766380237415 1.397202788 1.212584851 Calling exit ...