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.00146/0.00146, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002349/0.002349, allocations: 211.8 kB / 22.24 MB, free: 5.242 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.816 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.1587/0.1587, allocations: 23.88 MB / 336.3 MB, free: 10.95 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.002151/0.002151, allocations: 68.14 kB / 471.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3842, allocations: 59.86 MB / 0.5185 GB, free: 9.543 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.08153/0.4657, allocations: 28.02 MB / 0.5459 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0154/0.4811, allocations: 7.824 MB / 0.5535 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/0.4835, allocations: 23.88 kB / 0.5535 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003543/0.487, allocations: 0.8297 MB / 0.5544 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003558/0.4906, allocations: 0.7841 MB / 0.5551 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003514/0.4941, allocations: 0.8902 MB / 0.556 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003893/0.498, allocations: 1.903 MB / 0.5578 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006256/0.4986, allocations: 214.4 kB / 0.5581 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.4998, allocations: 0.6045 MB / 0.5586 GB, free: 156 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.5014, allocations: 0.6267 MB / 0.5593 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005431/0.502, allocations: 140 kB / 0.5594 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004505/0.5065, allocations: 1.011 MB / 0.5604 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007973/0.5073, allocations: 472 kB / 0.5608 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.5088, allocations: 0.6732 MB / 0.5615 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006549/0.5153, allocations: 3.168 MB / 0.5646 GB, free: 10.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5154, allocations: 0 / 0.5646 GB, free: 10.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5154, allocations: 0 / 0.5646 GB, free: 10.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.986e-05/0.5154, allocations: 3.938 kB / 0.5646 GB, free: 10.73 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.005096/0.5205, allocations: 2.141 MB / 0.5667 GB, free: 8.551 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.5206, allocations: 8.031 kB / 0.5667 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005337/0.5211, allocations: 249.8 kB / 0.5669 GB, free: 8.289 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.5225, allocations: 395.3 kB / 0.5673 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/0.5244, allocations: 0.829 MB / 0.5681 GB, free: 7.043 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004199/0.5249, allocations: 322.2 kB / 0.5684 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002918/0.5252, allocations: 148.3 kB / 0.5686 GB, free: 6.559 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008828/0.534, allocations: 7.383 MB / 0.5758 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.927e-05/0.534, allocations: 4 kB / 0.5758 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.5341, allocations: 59.98 kB / 0.5758 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003483/0.5345, allocations: 287.4 kB / 0.5761 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/0.549, allocations: 13.38 MB / 0.5892 GB, free: 1.422 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.0287/0.5777, allocations: 17.49 MB / 0.6062 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005292/0.583, allocations: 3.53 MB / 0.6097 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003737/0.5867, allocations: 2.741 MB / 0.6124 GB, free: 9.535 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001838/0.5886, allocations: 0.6464 MB / 0.613 GB, free: 8.887 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.5886, allocations: 47.5 kB / 0.613 GB, free: 8.832 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 3.186e-06/0.5886, allocations: 0 / 0.613 GB, free: 8.832 MB / 462.1 MB Notification: Performance of matching and sorting (n=146): time 0.1122/0.7008, allocations: 30.95 MB / 0.6433 GB, free: 9.812 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1371/0.8379, allocations: 40.57 MB / 0.6829 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003913/0.8418, allocations: 1.854 MB / 0.6847 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006466/0.8425, allocations: 45.7 kB / 0.6848 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009041/0.8434, allocations: 0.8244 MB / 0.6856 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001201/0.8446, allocations: 0.5112 MB / 0.6861 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001975/0.8466, allocations: 0.5071 MB / 0.6866 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.8467, allocations: 301.1 kB / 0.6868 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007312/0.854, allocations: 4.896 MB / 0.6916 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007819/0.8618, allocations: 5.159 MB / 0.6967 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01122/0.8731, allocations: 6.784 MB / 0.7033 GB, free: 11.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.8731, allocations: 4 kB / 0.7033 GB, free: 11.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.03487/0.908, allocations: 13.65 MB / 0.7166 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/0.908, allocations: 8 kB / 0.7166 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/0.908, allocations: 8 kB / 0.7166 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02858/0.9366, allocations: 6.957 MB / 0.7234 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004559/0.9412, allocations: 0.6281 MB / 0.724 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3218/1.263, allocations: 26.4 MB / 0.7498 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00392/1.267, allocations: 183 kB / 0.75 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/1.268, allocations: 351.4 kB / 0.7503 GB, free: 174.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.001849/1.27, allocations: 0.4998 MB / 0.7508 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008807/1.271, allocations: 191.7 kB / 0.751 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03298/1.304, allocations: 8.95 MB / 0.7597 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03044/1.334, allocations: 7.393 MB / 0.767 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.727e-05/1.334, allocations: 11.89 kB / 0.767 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.364e-05/1.334, allocations: 3.984 kB / 0.767 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03259/1.367, allocations: 14.16 MB / 0.7808 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/1.367, allocations: 7.938 kB / 0.7808 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002875/1.37, allocations: 356 kB / 0.7812 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04819/1.418, allocations: 7.046 MB / 0.788 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007181/1.419, allocations: 91.91 kB / 0.7881 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02413/1.443, allocations: 11.52 MB / 0.7994 GB, free: 136.7 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.03906/1.482, allocations: 5.659 MB / 0.8049 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02701/1.509, allocations: 11.61 MB / 0.8162 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008011/1.51, allocations: 246.8 kB / 0.8165 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008714/1.51, allocations: 45.3 kB / 0.8165 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003059/1.514, allocations: 123.8 kB / 0.8166 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007664/1.514, allocations: 192.8 kB / 0.8168 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004265/1.515, allocations: 163.9 kB / 0.817 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002436/1.517, allocations: 1.815 MB / 0.8188 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.517, allocations: 0 / 0.8188 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003283/1.52, allocations: 0.9535 MB / 0.8197 GB, free: 115.9 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.02636/1.547, allocations: 11.58 MB / 0.831 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01193/1.559, allocations: 7.457 MB / 0.8383 GB, free: 96.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/1.559, allocations: 4 kB / 0.8383 GB, free: 96.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00627/1.565, allocations: 2.889 MB / 0.8411 GB, free: 93.97 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/1.568, allocations: 428.5 kB / 0.8415 GB, free: 93.61 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 658] [Calling sys.exit(0), Time elapsed: 4.2192802601493895] Failed to read output from testmodel.py, exit status != 0: 1.577045555692166 1.587442895 1.069723608 Calling exit ...