Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001379/0.001379, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002173/0.002173, allocations: 218.2 kB / 23.03 MB, free: 4.922 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.473/1.473, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1416/0.1416, allocations: 23.9 MB / 337.1 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 master/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_master_Chemical_Processes_Tests_Diffusion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.Diffusion,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_Diffusion",fmuType="cs",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.001984/0.001984, allocations: 63.91 kB / 471.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3188, allocations: 59.88 MB / 0.5193 GB, free: 9.562 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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.09981/0.4186, allocations: 54.41 MB / 0.5725 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0331/0.4517, allocations: 15.55 MB / 0.5877 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009639/0.4614, allocations: 119.5 kB / 0.5878 GB, free: 3.656 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008958/0.4703, allocations: 2.552 MB / 0.5903 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01513/0.4854, allocations: 3.537 MB / 0.5937 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009381/0.4948, allocations: 2.894 MB / 0.5966 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01938/0.5142, allocations: 10.88 MB / 0.6072 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004527/0.5187, allocations: 2.399 MB / 0.6095 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007996/0.5267, allocations: 4.492 MB / 0.6139 GB, free: 8.691 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009345/0.5361, allocations: 5.38 MB / 0.6192 GB, free: 3.289 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00408/0.5401, allocations: 1.227 MB / 0.6204 GB, free: 2.062 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007488/0.5476, allocations: 2.338 MB / 0.6226 GB, free: 15.72 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004815/0.5525, allocations: 3.602 MB / 0.6262 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009224/0.5617, allocations: 5.06 MB / 0.6311 GB, free: 7.023 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02573/0.5874, allocations: 17.02 MB / 0.6477 GB, free: 5.938 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.5874, allocations: 0 / 0.6477 GB, free: 5.938 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5874, allocations: 0 / 0.6477 GB, free: 5.938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006229/0.588, allocations: 0 / 0.6477 GB, free: 5.938 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.03037/0.6184, allocations: 12.65 MB / 0.6601 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.6185, allocations: 12.03 kB / 0.6601 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003758/0.6188, allocations: 315 kB / 0.6604 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003984/0.6228, allocations: 1.705 MB / 0.6621 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.6341, allocations: 2.869 MB / 0.6649 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/0.6459, allocations: 5.3 MB / 0.67 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002402/0.6483, allocations: 2.016 MB / 0.672 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002851/0.6512, allocations: 1.129 MB / 0.6731 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06576/0.717, allocations: 47.29 MB / 0.7193 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000222/0.7172, allocations: 0 / 0.7193 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001363/0.7185, allocations: 463.9 kB / 0.7197 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00203/0.7206, allocations: 1.85 MB / 0.7215 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4827/1.203, allocations: 79.33 MB / 0.799 GB, free: 124.3 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.333, allocations: 108.4 MB / 0.9049 GB, free: 16.84 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02454/1.358, allocations: 20.21 MB / 0.9246 GB, free: 12.59 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02494/1.383, allocations: 15.63 MB / 0.9399 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002866/1.386, allocations: 0.7413 MB / 0.9406 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/1.386, allocations: 98.48 kB / 0.9407 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=538): time 1.783e-05/1.386, allocations: 2.594 kB / 0.9407 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=760): time 0.5854/1.971, allocations: 132.1 MB / 1.07 GB, free: 136.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07761/2.049, allocations: 51.85 MB / 1.12 GB, free: 83.56 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02147/2.07, allocations: 13.68 MB / 1.134 GB, free: 69.95 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.002982/2.073, allocations: 145.7 kB / 1.134 GB, free: 69.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.005155/2.078, allocations: 5.42 MB / 1.139 GB, free: 64.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.005206/2.084, allocations: 2.667 MB / 1.142 GB, free: 62.24 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01022/2.094, allocations: 2.44 MB / 1.144 GB, free: 59.79 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 3.857e-05/2.094, allocations: 309.1 kB / 1.144 GB, free: 59.49 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0253/2.119, allocations: 23.01 MB / 1.167 GB, free: 36.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02715/2.146, allocations: 24.07 MB / 1.19 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3025/2.449, allocations: 31.23 MB / 1.221 GB, free: 181.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.777e-05/2.449, allocations: 7.281 kB / 1.221 GB, free: 181.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=915) (initialization): time 0.0831/2.532, allocations: 52.04 MB / 1.272 GB, free: 158.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.788e-05/2.532, allocations: 16 kB / 1.272 GB, free: 158.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-05/2.532, allocations: 24 kB / 1.272 GB, free: 158.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04203/2.574, allocations: 13.51 MB / 1.285 GB, free: 147 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02867/2.603, allocations: 4.504 MB / 1.289 GB, free: 142.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06844/2.671, allocations: 74.51 MB / 1.362 GB, free: 66.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01564/2.687, allocations: 0.6931 MB / 1.363 GB, free: 65.97 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004325/2.691, allocations: 1.724 MB / 1.364 GB, free: 64.25 MB / 0.6075 GB 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 (783): * Single equations (assignments): 751 * 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.01005/2.701, allocations: 2.738 MB / 1.367 GB, free: 61.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006525/2.708, allocations: 1.195 MB / 1.368 GB, free: 60.31 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08209/2.79, allocations: 31.37 MB / 1.399 GB, free: 28.97 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04832/2.838, allocations: 18.19 MB / 1.417 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.692e-05/2.838, allocations: 8 kB / 1.417 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002418/2.838, allocations: 39.86 kB / 1.417 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3733/3.212, allocations: 63.79 MB / 1.479 GB, free: 179.4 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001605/3.212, allocations: 34.28 kB / 1.479 GB, free: 179.4 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01436/3.226, allocations: 1.981 MB / 1.481 GB, free: 179.3 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03711/3.263, allocations: 7.177 MB / 1.488 GB, free: 177.7 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001688/3.265, allocations: 309.1 kB / 1.488 GB, free: 177.6 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06451/3.33, allocations: 50.48 MB / 1.538 GB, free: 138.1 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.01883/3.348, allocations: 11.46 MB / 1.549 GB, free: 126.8 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06322/3.412, allocations: 27.47 MB / 1.576 GB, free: 102.5 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004938/3.417, allocations: 1.815 MB / 1.577 GB, free: 101.1 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004954/3.422, allocations: 191.4 kB / 1.578 GB, free: 100.9 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009757/3.431, allocations: 399.4 kB / 1.578 GB, free: 100.6 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003624/3.435, allocations: 0.8765 MB / 1.579 GB, free: 100.1 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001799/3.437, allocations: 479.8 kB / 1.579 GB, free: 99.64 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.02042/3.457, allocations: 13.82 MB / 1.593 GB, free: 85.87 MB / 0.6232 GB Notification: Performance of sort global known variables: time 2.6e-07/3.457, allocations: 2.406 kB / 1.593 GB, free: 85.87 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01648/3.474, allocations: 4.111 MB / 1.597 GB, free: 81.78 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 151 * 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 (586): * Single equations (assignments): 561 * 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.06534/3.539, allocations: 26.84 MB / 1.623 GB, free: 54.18 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.04399/3.583, allocations: 29.85 MB / 1.652 GB, free: 24.17 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 4.681e-05/3.583, allocations: 4 kB / 1.652 GB, free: 24.16 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.02092/3.604, allocations: 10.15 MB / 1.662 GB, free: 13.81 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02187/3.626, allocations: 2.811 MB / 1.665 GB, free: 11.25 MB / 0.6232 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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.310290882945992] Failed to read output from testmodel.py, exit status != 0: 3.635487683932297 3.847087513 3.256233759 Calling exit ...