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.00176/0.00176, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00176/0.00176, allocations: 210.7 kB / 22.99 MB, free: 4.984 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.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1323/0.1323, allocations: 23.88 MB / 337.1 MB, free: 10.99 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.002029/0.002029, allocations: 71.89 kB / 472.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4012, allocations: 59.86 MB / 0.5197 GB, free: 9.805 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.1055/0.5067, allocations: 54.64 MB / 0.5731 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03859/0.5453, allocations: 15.55 MB / 0.5883 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01319/0.5585, allocations: 119.5 kB / 0.5884 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009558/0.568, allocations: 2.501 MB / 0.5908 GB, free: 0.957 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01567/0.5837, allocations: 3.533 MB / 0.5943 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009272/0.593, allocations: 2.875 MB / 0.5971 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01899/0.6119, allocations: 10.89 MB / 0.6077 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005734/0.6177, allocations: 2.396 MB / 0.6101 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007443/0.6251, allocations: 4.488 MB / 0.6145 GB, free: 8.582 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008323/0.6334, allocations: 5.384 MB / 0.6197 GB, free: 3.176 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003664/0.6371, allocations: 1.223 MB / 0.6209 GB, free: 1.953 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00782/0.6449, allocations: 2.334 MB / 0.6232 GB, free: 15.62 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004919/0.6499, allocations: 3.598 MB / 0.6267 GB, free: 12.01 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01047/0.6603, allocations: 5.052 MB / 0.6316 GB, free: 6.93 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02807/0.6884, allocations: 17.02 MB / 0.6483 GB, free: 5.836 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.6884, allocations: 0 / 0.6483 GB, free: 5.836 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6884, allocations: 0 / 0.6483 GB, free: 5.836 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006204/0.689, allocations: 0 / 0.6483 GB, free: 5.836 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.03313/0.7221, allocations: 12.64 MB / 0.6606 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.7222, allocations: 8.031 kB / 0.6606 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/0.735, allocations: 2.861 MB / 0.6634 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01419/0.7492, allocations: 5.296 MB / 0.6686 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002621/0.7518, allocations: 2.012 MB / 0.6706 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003059/0.7548, allocations: 1.133 MB / 0.6717 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06903/0.8239, allocations: 47.29 MB / 0.7178 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002415/0.8241, allocations: 0 / 0.7178 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001612/0.8257, allocations: 471.8 kB / 0.7183 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002028/0.8277, allocations: 1.843 MB / 0.7201 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5754/1.403, allocations: 79.21 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.134/1.537, allocations: 103.6 MB / 0.8986 GB, free: 23.34 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02186/1.559, allocations: 19.42 MB / 0.9176 GB, free: 3.895 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02239/1.581, allocations: 15.61 MB / 0.9328 GB, free: 4.281 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002763/1.584, allocations: 0.7452 MB / 0.9335 GB, free: 3.539 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.53e-05/1.584, allocations: 91.88 kB / 0.9336 GB, free: 3.438 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=533): time 8.466e-06/1.584, allocations: 2.656 kB / 0.9336 GB, free: 3.438 MB / 0.5763 GB Notification: Performance of matching and sorting (n=755): time 0.6895/2.274, allocations: 131.5 MB / 1.062 GB, free: 145 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07918/2.353, allocations: 51.58 MB / 1.112 GB, free: 92.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006927/2.36, allocations: 4.755 MB / 1.117 GB, free: 87.58 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.003326/2.363, allocations: 146 kB / 1.117 GB, free: 87.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002853/2.366, allocations: 5.419 MB / 1.122 GB, free: 82.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.005043/2.371, allocations: 2.641 MB / 1.125 GB, free: 80.17 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01059/2.382, allocations: 2.476 MB / 1.127 GB, free: 77.69 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.2e-05/2.382, allocations: 305.1 kB / 1.128 GB, free: 77.39 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02589/2.408, allocations: 23 MB / 1.15 GB, free: 54.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02719/2.435, allocations: 24.07 MB / 1.174 GB, free: 30.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8255/3.26, allocations: 110.6 MB / 1.282 GB, free: 151.6 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.309e-05/3.26, allocations: 8 kB / 1.282 GB, free: 151.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.08359/3.344, allocations: 51.57 MB / 1.332 GB, free: 100.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.819e-05/3.344, allocations: 16 kB / 1.332 GB, free: 100.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.124e-05/3.344, allocations: 24 kB / 1.332 GB, free: 100.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04399/3.388, allocations: 13.5 MB / 1.345 GB, free: 87.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02979/3.418, allocations: 4.495 MB / 1.35 GB, free: 82.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07081/3.489, allocations: 74.09 MB / 1.422 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01466/3.503, allocations: 0.7002 MB / 1.423 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004398/3.508, allocations: 1.722 MB / 1.424 GB, free: 5.16 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.01/3.518, allocations: 2.753 MB / 1.427 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004469/3.522, allocations: 0.6181 MB / 1.428 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3492/3.871, allocations: 30.79 MB / 1.458 GB, free: 191.5 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05161/3.923, allocations: 18.19 MB / 1.475 GB, free: 185.7 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001283/3.923, allocations: 10.34 kB / 1.475 GB, free: 185.7 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000218/3.923, allocations: 34.22 kB / 1.476 GB, free: 185.7 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1061/4.029, allocations: 64.63 MB / 1.539 GB, free: 148.2 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.747e-05/4.029, allocations: 32 kB / 1.539 GB, free: 148.1 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01411/4.044, allocations: 1.975 MB / 1.541 GB, free: 146.2 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03743/4.081, allocations: 7.166 MB / 1.548 GB, free: 139.1 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00167/4.083, allocations: 299.8 kB / 1.548 GB, free: 138.8 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06151/4.144, allocations: 50.02 MB / 1.597 GB, free: 87.18 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.01819/4.162, allocations: 11.34 MB / 1.608 GB, free: 75.36 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06339/4.226, allocations: 26.82 MB / 1.634 GB, free: 48.07 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002245/4.228, allocations: 0.8004 MB / 1.635 GB, free: 47.42 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002784/4.231, allocations: 187.2 kB / 1.635 GB, free: 47.24 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007101/4.238, allocations: 394.2 kB / 1.635 GB, free: 46.86 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002544/4.24, allocations: 0.8785 MB / 1.636 GB, free: 45.98 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008191/4.241, allocations: 475.8 kB / 1.637 GB, free: 45.52 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.007933/4.249, allocations: 7.452 MB / 1.644 GB, free: 38.07 MB / 0.6232 GB Notification: Performance of sort global known variables: time 9e-08/4.249, allocations: 2.625 kB / 1.644 GB, free: 38.07 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01355/4.263, allocations: 3.977 MB / 1.648 GB, free: 34.12 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.002187/4.265, allocations: 0.6026 MB / 1.648 GB, free: 33.63 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.04455/4.309, allocations: 29.84 MB / 1.678 GB, free: 3.598 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 6.238e-05/4.31, allocations: 4 kB / 1.678 GB, free: 3.594 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.307/4.617, allocations: 10.13 MB / 1.687 GB, free: 190.4 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01418/4.631, allocations: 1.522 MB / 1.689 GB, free: 190.3 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.073846293991664] Failed to read output from testmodel.py, exit status != 0: 4.642243562993826 4.655356777 3.963773303 Calling exit ...