Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Processes.Tests.Diffusion.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.001615/0.001615, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001827/0.001827, allocations: 212.9 kB / 22.99 MB, free: 4.957 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1455/0.1455, 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.Processes.Tests.Diffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Processes.Tests.Diffusion") translateModel(Chemical.Processes.Tests.Diffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Processes.Tests.Diffusion") [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.002061/0.002061, allocations: 67.89 kB / 472.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4214, allocations: 59.87 MB / 0.5197 GB, free: 9.781 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.Processes.Tests.Diffusion): time 0.1084/0.5298, allocations: 54.63 MB / 0.5731 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03866/0.5685, allocations: 15.56 MB / 0.5883 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01573/0.5842, allocations: 127.4 kB / 0.5884 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01083/0.595, allocations: 2.501 MB / 0.5909 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01697/0.612, allocations: 3.529 MB / 0.5943 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01143/0.6234, allocations: 2.875 MB / 0.5971 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02216/0.6456, allocations: 10.88 MB / 0.6077 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005179/0.6508, allocations: 2.399 MB / 0.6101 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01134/0.6621, allocations: 4.484 MB / 0.6145 GB, free: 8.559 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01018/0.6723, allocations: 5.388 MB / 0.6197 GB, free: 3.148 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005089/0.6774, allocations: 1.227 MB / 0.6209 GB, free: 1.922 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009966/0.6873, allocations: 2.33 MB / 0.6232 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005697/0.693, allocations: 3.602 MB / 0.6267 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01109/0.7041, allocations: 5.052 MB / 0.6316 GB, free: 6.898 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0277/0.7318, allocations: 17.02 MB / 0.6483 GB, free: 5.816 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.7318, allocations: 8 kB / 0.6483 GB, free: 5.809 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.7318, allocations: 0 / 0.6483 GB, free: 5.809 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006547/0.7325, allocations: 0 / 0.6483 GB, free: 5.809 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3564 * Number of variables: 3564 Notification: Performance of Generate backend data structure: time 0.0346/0.7671, allocations: 12.64 MB / 0.6606 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.7671, allocations: 12.03 kB / 0.6606 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01246/0.7796, allocations: 2.865 MB / 0.6634 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/0.793, allocations: 5.292 MB / 0.6686 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002572/0.7955, allocations: 2.008 MB / 0.6706 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004877/0.8004, allocations: 1.133 MB / 0.6717 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07058/0.871, allocations: 47.29 MB / 0.7178 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002199/0.8712, allocations: 3.984 kB / 0.7178 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001314/0.8725, allocations: 467.9 kB / 0.7183 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002058/0.8746, allocations: 1.843 MB / 0.7201 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5372/1.412, allocations: 79.2 MB / 0.7974 GB, free: 126.2 MB / 0.5607 GB 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.1415/1.553, allocations: 103.6 MB / 0.8986 GB, free: 23.31 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02327/1.577, allocations: 19.42 MB / 0.9176 GB, free: 3.863 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02275/1.599, allocations: 15.61 MB / 0.9328 GB, free: 4.25 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002945/1.602, allocations: 0.7529 MB / 0.9335 GB, free: 3.5 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.441e-05/1.602, allocations: 87.88 kB / 0.9336 GB, free: 3.402 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=533): time 8.205e-06/1.602, allocations: 0 / 0.9336 GB, free: 3.402 MB / 0.5763 GB Notification: Performance of matching and sorting (n=755): time 0.6924/2.295, allocations: 131.5 MB / 1.062 GB, free: 145 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.08382/2.379, allocations: 51.58 MB / 1.112 GB, free: 92.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006985/2.386, allocations: 4.753 MB / 1.117 GB, free: 87.53 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.003379/2.389, allocations: 149.6 kB / 1.117 GB, free: 87.38 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002877/2.392, allocations: 5.42 MB / 1.122 GB, free: 82.71 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.005052/2.397, allocations: 2.644 MB / 1.125 GB, free: 80.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01088/2.408, allocations: 2.475 MB / 1.127 GB, free: 77.62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.3e-05/2.408, allocations: 307.2 kB / 1.128 GB, free: 77.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02664/2.434, allocations: 23 MB / 1.15 GB, free: 54.35 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02838/2.463, allocations: 24.08 MB / 1.174 GB, free: 29.97 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.843/3.306, allocations: 110.5 MB / 1.282 GB, free: 151.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.536e-05/3.306, allocations: 4 kB / 1.282 GB, free: 151.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0812/3.387, allocations: 51.58 MB / 1.332 GB, free: 100.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/3.387, allocations: 16 kB / 1.332 GB, free: 100.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.353e-05/3.387, allocations: 24 kB / 1.332 GB, free: 100.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04686/3.434, allocations: 13.51 MB / 1.345 GB, free: 87.01 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03112/3.465, allocations: 4.49 MB / 1.35 GB, free: 82.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07048/3.536, allocations: 74.09 MB / 1.422 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01453/3.55, allocations: 0.6954 MB / 1.423 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003832/3.554, allocations: 1.722 MB / 1.424 GB, free: 5.07 MB / 0.6075 GB Warning: Assuming fixed start value for the following 5 variables: d5.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real d4.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real d3.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real d1.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real d2.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * 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 (778): * Single equations (assignments): 746 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 26 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(4,3,62.5%), (1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,1,100.0%), (4,3,62.5%), (1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(6,20), (4,3), (3,8), (2,1), (6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.008087/3.562, allocations: 2.758 MB / 1.427 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003588/3.566, allocations: 0.6133 MB / 1.428 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3755/3.941, allocations: 30.79 MB / 1.458 GB, free: 191.7 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05494/3.996, allocations: 18.18 MB / 1.475 GB, free: 185.9 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001627/3.996, allocations: 10.14 kB / 1.475 GB, free: 185.9 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002768/3.997, allocations: 38.77 kB / 1.476 GB, free: 185.9 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1134/4.11, allocations: 64.63 MB / 1.539 GB, free: 148.1 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.283e-05/4.11, allocations: 34.75 kB / 1.539 GB, free: 148 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01447/4.124, allocations: 1.971 MB / 1.541 GB, free: 146.1 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03837/4.163, allocations: 7.163 MB / 1.548 GB, free: 139 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001648/4.165, allocations: 307.8 kB / 1.548 GB, free: 138.7 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06338/4.228, allocations: 50.02 MB / 1.597 GB, free: 87.05 MB / 0.6232 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! 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! 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.01933/4.247, allocations: 11.35 MB / 1.608 GB, free: 75.23 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06249/4.31, allocations: 26.81 MB / 1.634 GB, free: 47.94 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002577/4.312, allocations: 0.7996 MB / 1.635 GB, free: 47.3 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002957/4.315, allocations: 199.4 kB / 1.635 GB, free: 47.12 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007213/4.322, allocations: 394.3 kB / 1.635 GB, free: 46.73 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002364/4.325, allocations: 0.8746 MB / 1.636 GB, free: 45.86 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000855/4.326, allocations: 479.8 kB / 1.637 GB, free: 45.39 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.009019/4.335, allocations: 7.448 MB / 1.644 GB, free: 37.95 MB / 0.6232 GB Notification: Performance of sort global known variables: time 8e-08/4.335, allocations: 2.656 kB / 1.644 GB, free: 37.95 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01335/4.348, allocations: 3.982 MB / 1.648 GB, free: 33.99 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 146 * Number of states: 19 ($STATESET8.x[3],$STATESET8.x[2],$STATESET8.x[1],d5.rear.n_flow,$STATESET7.x,$STATESET6.x[3],$STATESET6.x[2],$STATESET6.x[1],d4.rear.n_flow,$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],d3.rear.n_flow,$STATESET4.x,$STATESET3.x,d1.rear.n_flow,$STATESET2.x,$STATESET1.x,d2.rear.n_flow) * Number of discrete variables: 11 ($cse169,$cse163,$cse148,$cse143,$cse136,$cse127,$cse121,$cse110,$cse103,$cse93,$cse87) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (581): * Single equations (assignments): 556 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 14 systems {(1,4,100.0%), (4,3,62.5%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (2,1,100.0%), (1,4,100.0%), (4,3,62.5%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 11 systems {(4,20), (9,10), (3,3), (3,9), (8,10), (4,20), (9,10), (3,3), (3,3), (3,3), (3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001625/4.35, allocations: 0.5936 MB / 1.648 GB, free: 33.5 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.04064/4.39, allocations: 29.84 MB / 1.678 GB, free: 3.473 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 4.65e-05/4.39, allocations: 8 kB / 1.678 GB, free: 3.465 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.3089/4.699, allocations: 10.13 MB / 1.687 GB, free: 190.5 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01452/4.714, allocations: 1.529 MB / 1.689 GB, free: 190.5 MB / 0.6232 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 655] [Calling sys.exit(0), Time elapsed: 7.272848529988551] Failed to read output from testmodel.py, exit status != 0: 4.726051203993848 4.740092307 4.004900947 Calling exit ...