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.001313/0.001313, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001513/0.001513, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.785 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.1431/0.1431, allocations: 23.89 MB / 336.3 MB, free: 10.93 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.00231/0.00231, allocations: 75.88 kB / 471.6 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3614, allocations: 59.85 MB / 0.519 GB, free: 9.836 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.1039/0.4653, allocations: 54.8 MB / 0.5725 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03964/0.5049, allocations: 15.57 MB / 0.5877 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01229/0.5172, allocations: 123.4 kB / 0.5878 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01011/0.5273, allocations: 2.498 MB / 0.5903 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01577/0.5431, allocations: 3.525 MB / 0.5937 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01169/0.5548, allocations: 2.875 MB / 0.5965 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02181/0.5766, allocations: 10.87 MB / 0.6072 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008215/0.5848, allocations: 2.364 MB / 0.6095 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01133/0.5962, allocations: 4.492 MB / 0.6138 GB, free: 8.43 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01258/0.6087, allocations: 4.584 MB / 0.6183 GB, free: 3.824 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00635/0.6151, allocations: 1.227 MB / 0.6195 GB, free: 2.598 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0125/0.6276, allocations: 2.295 MB / 0.6218 GB, free: 308 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006689/0.6343, allocations: 3.598 MB / 0.6253 GB, free: 12.69 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01216/0.6464, allocations: 5.06 MB / 0.6302 GB, free: 7.602 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03002/0.6765, allocations: 17.02 MB / 0.6468 GB, free: 6.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6765, allocations: 0 / 0.6468 GB, free: 6.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.6765, allocations: 0 / 0.6468 GB, free: 6.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006101/0.6771, allocations: 4 kB / 0.6468 GB, free: 6.516 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.02996/0.707, allocations: 12.64 MB / 0.6592 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.7071, allocations: 8.031 kB / 0.6592 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0114/0.7185, allocations: 2.869 MB / 0.662 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01226/0.7307, allocations: 5.292 MB / 0.6672 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002565/0.7333, allocations: 2.012 MB / 0.6691 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003044/0.7364, allocations: 1.136 MB / 0.6702 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07075/0.8071, allocations: 47.29 MB / 0.7164 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003388/0.8074, allocations: 0 / 0.7164 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00213/0.8096, allocations: 475.9 kB / 0.7169 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002125/0.8117, allocations: 1.835 MB / 0.7187 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5271/1.339, allocations: 79.21 MB / 0.796 GB, free: 127 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.13/1.469, allocations: 103.6 MB / 0.8972 GB, free: 24.17 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02145/1.49, allocations: 19.41 MB / 0.9161 GB, free: 4.723 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02145/1.512, allocations: 15.6 MB / 0.9314 GB, free: 5.113 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002517/1.514, allocations: 0.7509 MB / 0.9321 GB, free: 4.367 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.263e-05/1.514, allocations: 87.88 kB / 0.9322 GB, free: 4.27 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=533): time 8.236e-06/1.514, allocations: 0 / 0.9322 GB, free: 4.27 MB / 0.5763 GB Notification: Performance of matching and sorting (n=755): time 0.6101/2.124, allocations: 131.5 MB / 1.061 GB, free: 145.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07004/2.194, allocations: 51.57 MB / 1.111 GB, free: 93.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005435/2.2, allocations: 4.753 MB / 1.116 GB, free: 88.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.002508/2.202, allocations: 149.6 kB / 1.116 GB, free: 88.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002094/2.205, allocations: 5.424 MB / 1.121 GB, free: 83.51 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.003804/2.208, allocations: 2.637 MB / 1.124 GB, free: 80.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005742/2.214, allocations: 2.475 MB / 1.126 GB, free: 78.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 3.387e-05/2.214, allocations: 301.1 kB / 1.126 GB, free: 78.13 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02433/2.238, allocations: 23.01 MB / 1.149 GB, free: 55.15 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02468/2.263, allocations: 24.07 MB / 1.172 GB, free: 30.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7697/3.033, allocations: 110.5 MB / 1.28 GB, free: 152.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.585e-05/3.033, allocations: 8 kB / 1.28 GB, free: 152.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.07659/3.109, allocations: 51.58 MB / 1.331 GB, free: 101.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/3.11, allocations: 16.94 kB / 1.331 GB, free: 101.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.866e-05/3.11, allocations: 24 kB / 1.331 GB, free: 101.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04116/3.151, allocations: 13.51 MB / 1.344 GB, free: 87.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02912/3.18, allocations: 4.493 MB / 1.348 GB, free: 83.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06396/3.244, allocations: 74.09 MB / 1.421 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01452/3.258, allocations: 0.7032 MB / 1.421 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004251/3.263, allocations: 1.722 MB / 1.423 GB, free: 5.852 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.008844/3.271, allocations: 2.752 MB / 1.426 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00339/3.275, allocations: 0.6133 MB / 1.426 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3178/3.593, allocations: 30.82 MB / 1.456 GB, free: 191.7 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04528/3.638, allocations: 18.18 MB / 1.474 GB, free: 186 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.593e-05/3.638, allocations: 11 kB / 1.474 GB, free: 186 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001671/3.638, allocations: 37.27 kB / 1.474 GB, free: 186 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09576/3.734, allocations: 64.63 MB / 1.537 GB, free: 148.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.403e-05/3.734, allocations: 32 kB / 1.537 GB, free: 148.7 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01421/3.748, allocations: 1.975 MB / 1.539 GB, free: 146.8 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03366/3.782, allocations: 7.159 MB / 1.546 GB, free: 139.7 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001417/3.783, allocations: 303.8 kB / 1.546 GB, free: 139.4 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05643/3.84, allocations: 50.01 MB / 1.595 GB, free: 87.77 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.01528/3.855, allocations: 11.35 MB / 1.606 GB, free: 75.94 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05379/3.909, allocations: 26.81 MB / 1.633 GB, free: 48.65 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002447/3.911, allocations: 0.8043 MB / 1.633 GB, free: 48.01 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002481/3.914, allocations: 188.9 kB / 1.634 GB, free: 47.83 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007541/3.921, allocations: 402.2 kB / 1.634 GB, free: 47.45 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00281/3.924, allocations: 0.8707 MB / 1.635 GB, free: 46.57 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008507/3.925, allocations: 479.8 kB / 1.635 GB, free: 46.11 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.008387/3.933, allocations: 7.449 MB / 1.643 GB, free: 38.66 MB / 0.6232 GB Notification: Performance of sort global known variables: time 1.91e-07/3.933, allocations: 0 / 1.643 GB, free: 38.66 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01332/3.947, allocations: 3.986 MB / 1.646 GB, free: 34.7 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.002207/3.949, allocations: 0.6036 MB / 1.647 GB, free: 34.21 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.03792/3.987, allocations: 29.84 MB / 1.676 GB, free: 4.176 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-05/3.987, allocations: 4 kB / 1.676 GB, free: 4.172 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.2915/4.278, allocations: 10.13 MB / 1.686 GB, free: 190.2 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01253/4.291, allocations: 1.526 MB / 1.688 GB, free: 190.2 MB / 0.6232 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/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 656] [Calling sys.exit(0), Time elapsed: 6.856460412964225] Failed to read output from testmodel.py, exit status != 0: 4.302009338513017 4.314538955 3.634973342 Calling exit ...