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.001328/0.001328, allocations: 103.5 kB / 16.45 MB, free: 6.449 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.001433/0.001433, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.527/1.527, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.1646/0.1646, allocations: 23.85 MB / 332.7 MB, free: 12.36 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.Processes.Tests.Diffusion,fileNamePrefix="Chemical_Chemical_Processes_Tests_Diffusion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.Diffusion,fileNamePrefix="Chemical_Chemical_Processes_Tests_Diffusion",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.002045/0.002045, allocations: 59.91 kB / 466 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4414, allocations: 59.82 MB / 0.5135 GB, free: 8.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.08776/0.5291, allocations: 61.61 MB / 0.5736 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0455/0.5746, allocations: 16.87 MB / 0.5901 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01594/0.5906, allocations: 123.4 kB / 0.5902 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01067/0.6013, allocations: 2.645 MB / 0.5928 GB, free: 9.926 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01493/0.6162, allocations: 3.529 MB / 0.5963 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01008/0.6263, allocations: 2.879 MB / 0.5991 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02031/0.6466, allocations: 10.89 MB / 0.6097 GB, free: 8.547 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005892/0.6525, allocations: 2.7 MB / 0.6123 GB, free: 5.754 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009075/0.6615, allocations: 4.476 MB / 0.6167 GB, free: 1.262 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01097/0.6725, allocations: 5.392 MB / 0.622 GB, free: 11.84 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004876/0.6774, allocations: 1.223 MB / 0.6232 GB, free: 10.62 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01134/0.6887, allocations: 2.907 MB / 0.626 GB, free: 7.715 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005792/0.6945, allocations: 3.598 MB / 0.6295 GB, free: 4.105 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01434/0.7089, allocations: 6.607 MB / 0.636 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03254/0.7414, allocations: 17.08 MB / 0.6526 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.7414, allocations: 4 kB / 0.6527 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7414, allocations: 0 / 0.6527 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007547/0.7422, allocations: 0 / 0.6527 GB, free: 12.32 MB / 0.4981 GB 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.03672/0.7789, allocations: 12.72 MB / 0.6651 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.7789, allocations: 12.02 kB / 0.6651 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00603/0.785, allocations: 1.709 MB / 0.6668 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009707/0.7947, allocations: 2.389 MB / 0.6691 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01371/0.8084, allocations: 5.365 MB / 0.6743 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002539/0.8109, allocations: 1.685 MB / 0.676 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003723/0.8146, allocations: 1.133 MB / 0.6771 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07075/0.8854, allocations: 45.17 MB / 0.7212 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003676/0.8858, allocations: 0 / 0.7212 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00258/0.8883, allocations: 467.9 kB / 0.7216 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002452/0.8908, allocations: 1.839 MB / 0.7234 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6127/1.503, allocations: 75.82 MB / 0.7975 GB, free: 122.9 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.1395/1.643, allocations: 111.7 MB / 0.9065 GB, free: 11.81 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02578/1.669, allocations: 19.21 MB / 0.9253 GB, free: 8.535 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02357/1.692, allocations: 15.24 MB / 0.9401 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006398/1.699, allocations: 2.524 MB / 0.9426 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/1.699, allocations: 101.1 kB / 0.9427 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=533): time 6.923e-06/1.699, allocations: 0 / 0.9427 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=755): time 0.6877/2.387, allocations: 132.1 MB / 1.072 GB, free: 132.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.08021/2.467, allocations: 53.02 MB / 1.124 GB, free: 77.72 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02352/2.49, allocations: 13.68 MB / 1.137 GB, free: 64.11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.003464/2.494, allocations: 145.7 kB / 1.137 GB, free: 63.96 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.005761/2.5, allocations: 5.434 MB / 1.142 GB, free: 58.81 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00553/2.505, allocations: 2.638 MB / 1.145 GB, free: 56.42 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01108/2.516, allocations: 2.435 MB / 1.147 GB, free: 53.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.581e-05/2.516, allocations: 307.7 kB / 1.148 GB, free: 53.68 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02648/2.543, allocations: 22.43 MB / 1.169 GB, free: 31.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02742/2.57, allocations: 23.5 MB / 1.192 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9484/3.519, allocations: 116.3 MB / 1.306 GB, free: 124.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.198e-05/3.519, allocations: 12 kB / 1.306 GB, free: 124.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.08619/3.605, allocations: 51.07 MB / 1.356 GB, free: 74.04 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/3.605, allocations: 16 kB / 1.356 GB, free: 74.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-05/3.605, allocations: 24.75 kB / 1.356 GB, free: 74 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04515/3.65, allocations: 13.26 MB / 1.369 GB, free: 60.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03127/3.681, allocations: 4.413 MB / 1.373 GB, free: 56.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4351/4.116, allocations: 76.25 MB / 1.448 GB, free: 187.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01706/4.134, allocations: 0.625 MB / 1.448 GB, free: 187.5 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005294/4.139, allocations: 1.718 MB / 1.45 GB, free: 187.5 MB / 0.6232 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.01173/4.151, allocations: 2.757 MB / 1.453 GB, free: 187.3 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006146/4.157, allocations: 1.192 MB / 1.454 GB, free: 187.3 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08734/4.244, allocations: 30.94 MB / 1.484 GB, free: 179.4 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04622/4.29, allocations: 17.94 MB / 1.502 GB, free: 172.4 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001177/4.29, allocations: 7.438 kB / 1.502 GB, free: 172.4 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002491/4.291, allocations: 44.58 kB / 1.502 GB, free: 172.4 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1039/4.395, allocations: 65.28 MB / 1.565 GB, free: 118.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001083/4.395, allocations: 32 kB / 1.565 GB, free: 118.8 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01505/4.41, allocations: 1.895 MB / 1.567 GB, free: 116.9 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03645/4.446, allocations: 7.179 MB / 1.574 GB, free: 109.8 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001765/4.448, allocations: 299.8 kB / 1.575 GB, free: 109.5 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06369/4.512, allocations: 53.72 MB / 1.627 GB, free: 53.27 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.01877/4.53, allocations: 12.16 MB / 1.639 GB, free: 40.36 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06484/4.595, allocations: 26.77 MB / 1.665 GB, free: 12.76 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005269/4.6, allocations: 1.878 MB / 1.667 GB, free: 10.86 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004872/4.605, allocations: 191 kB / 1.667 GB, free: 10.68 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009573/4.615, allocations: 326.3 kB / 1.667 GB, free: 10.37 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003574/4.618, allocations: 0.8445 MB / 1.668 GB, free: 9.539 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001913/4.62, allocations: 475.8 kB / 1.669 GB, free: 9.074 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.349/4.969, allocations: 13.82 MB / 1.682 GB, free: 174.9 MB / 0.6232 GB Notification: Performance of sort global known variables: time 3.91e-07/4.969, allocations: 0 / 1.682 GB, free: 174.9 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01906/4.988, allocations: 4.136 MB / 1.686 GB, free: 174.9 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.06681/5.055, allocations: 26.18 MB / 1.712 GB, free: 168.7 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.04621/5.101, allocations: 29.06 MB / 1.74 GB, free: 156.6 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 5.569e-05/5.102, allocations: 7.375 kB / 1.74 GB, free: 156.6 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.02106/5.123, allocations: 9.945 MB / 1.75 GB, free: 151.5 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02051/5.143, allocations: 2.792 MB / 1.753 GB, free: 150.2 MB / 0.6232 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 655] [Calling sys.exit(0), Time elapsed: 7.8728612582199275] Failed to read output from testmodel.py, exit status != 0: 5.152499404968694 5.16179838 4.41791939 Calling exit ...