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.001006/0.001006, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0013/0.0013, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.92/0.92, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.09469/0.09469, allocations: 17.37 MB / 276.6 MB, free: 11.84 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 411.4 MB, free: 424 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.912e-05, allocations: 8.75 kB / 411.5 MB, free: 416 kB / 378.7 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.2715/0.2716, allocations: 55.06 MB / 466.5 MB, free: 38.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02861/0.3002, allocations: 15.57 MB / 482.1 MB, free: 34.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01092/0.3111, allocations: 125.9 kB / 482.2 MB, free: 34.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01094/0.322, allocations: 2.517 MB / 484.7 MB, free: 33.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01544/0.3375, allocations: 3.672 MB / 488.4 MB, free: 31.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01024/0.3477, allocations: 2.908 MB / 491.3 MB, free: 29.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.02526/0.373, allocations: 11.28 MB / 0.4908 GB, free: 24.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004994/0.378, allocations: 2.389 MB / 0.4931 GB, free: 23.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01924/0.3972, allocations: 6.827 MB / 0.4998 GB, free: 19.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01223/0.4094, allocations: 3.919 MB / 0.5036 GB, free: 18.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004557/0.414, allocations: 1.223 MB / 0.5048 GB, free: 17.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/0.4242, allocations: 2.327 MB / 0.5071 GB, free: 15.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004333/0.4285, allocations: 3.644 MB / 0.5107 GB, free: 12.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01117/0.4397, allocations: 4.112 MB / 0.5147 GB, free: 8.496 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02493/0.4646, allocations: 16.93 MB / 0.5312 GB, free: 9.457 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.4646, allocations: 0 / 0.5312 GB, free: 9.457 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4646, allocations: 0 / 0.5312 GB, free: 9.457 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001082/0.4657, allocations: 0 / 0.5312 GB, free: 9.457 MB / 426.7 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.03627/0.502, allocations: 12.5 MB / 0.5434 GB, free: 12.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.457e-05/0.5021, allocations: 8.031 kB / 0.5434 GB, free: 12.84 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002346/0.5044, allocations: 1.709 MB / 0.5451 GB, free: 11.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006273/0.5107, allocations: 2.862 MB / 0.5479 GB, free: 8.246 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009039/0.5197, allocations: 5.292 MB / 0.5531 GB, free: 2.879 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001793/0.5215, allocations: 2.008 MB / 0.555 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001212/0.5227, allocations: 1.135 MB / 0.5561 GB, free: 15.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04723/0.5699, allocations: 47.3 MB / 0.6023 GB, free: 236 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/0.5701, allocations: 0 / 0.6023 GB, free: 236 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009262/0.571, allocations: 467.9 kB / 0.6028 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001281/0.5723, allocations: 1.843 MB / 0.6046 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3055/0.8778, allocations: 79.2 MB / 0.6819 GB, free: 139 MB / 0.5105 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.1414/1.019, allocations: 108.4 MB / 0.7878 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02005/1.039, allocations: 19.41 MB / 0.8067 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01618/1.055, allocations: 15.61 MB / 0.822 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001916/1.057, allocations: 0.745 MB / 0.8227 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/1.057, allocations: 87.88 kB / 0.8228 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=533): time 8.847e-06/1.057, allocations: 0 / 0.8228 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of matching and sorting (n=755): time 0.5051/1.563, allocations: 132.2 MB / 0.9518 GB, free: 67.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04856/1.611, allocations: 51.81 MB / 1.002 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0205/1.632, allocations: 13.71 MB / 1.016 GB, free: 292 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002852/1.634, allocations: 144.4 kB / 1.016 GB, free: 144 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005752/1.64, allocations: 5.424 MB / 1.021 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.005107/1.645, allocations: 2.612 MB / 1.024 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00992/1.655, allocations: 2.431 MB / 1.026 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.376e-05/1.655, allocations: 305.1 kB / 1.026 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.263/1.918, allocations: 23 MB / 1.049 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02989/1.948, allocations: 24.07 MB / 1.072 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2751/2.223, allocations: 111.2 MB / 1.181 GB, free: 50.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.453e-05/2.223, allocations: 8 kB / 1.181 GB, free: 50.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2724/2.496, allocations: 52.16 MB / 1.232 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/2.496, allocations: 17.84 kB / 1.232 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.112e-05/2.496, allocations: 25.34 kB / 1.232 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02465/2.52, allocations: 13.59 MB / 1.245 GB, free: 141 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02339/2.544, allocations: 4.487 MB / 1.25 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0681/2.612, allocations: 74.47 MB / 1.322 GB, free: 93.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01317/2.625, allocations: 0.6942 MB / 1.323 GB, free: 93.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00424/2.629, allocations: 1.718 MB / 1.325 GB, free: 92.73 MB / 0.5261 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.01064/2.64, allocations: 2.76 MB / 1.327 GB, free: 91.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005382/2.645, allocations: 1.194 MB / 1.329 GB, free: 91.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05854/2.704, allocations: 31.36 MB / 1.359 GB, free: 64.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03086/2.735, allocations: 18.17 MB / 1.377 GB, free: 46.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.621e-05/2.735, allocations: 11.94 kB / 1.377 GB, free: 46.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002235/2.735, allocations: 39.86 kB / 1.377 GB, free: 46.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2974/3.033, allocations: 62.16 MB / 1.438 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.878e-05/3.033, allocations: 32.25 kB / 1.438 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008076/3.041, allocations: 1.978 MB / 1.44 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01954/3.06, allocations: 7.207 MB / 1.447 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001999/3.062, allocations: 301.2 kB / 1.447 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04807/3.11, allocations: 50.45 MB / 1.496 GB, free: 96.95 MB / 0.5261 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.01108/3.121, allocations: 11.45 MB / 1.507 GB, free: 87.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04942/3.171, allocations: 27.37 MB / 1.534 GB, free: 75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004375/3.175, allocations: 1.814 MB / 1.536 GB, free: 74.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003849/3.179, allocations: 186.5 kB / 1.536 GB, free: 73.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006961/3.186, allocations: 399.2 kB / 1.537 GB, free: 73.71 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00297/3.189, allocations: 0.873 MB / 1.537 GB, free: 73.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001086/3.19, allocations: 481.2 kB / 1.538 GB, free: 72.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.02259/3.213, allocations: 13.83 MB / 1.551 GB, free: 60.78 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/3.213, allocations: 0 / 1.551 GB, free: 60.78 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01585/3.228, allocations: 4.1 MB / 1.555 GB, free: 56.7 MB / 0.5261 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.04402/3.272, allocations: 26.74 MB / 1.581 GB, free: 29.78 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03772/3.31, allocations: 29.84 MB / 1.611 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.593e-05/3.31, allocations: 4 kB / 1.611 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01807/3.328, allocations: 10.11 MB / 1.62 GB, free: 5.492 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01636/3.345, allocations: 2.796 MB / 1.623 GB, free: 2.934 MB / 0.5417 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.395111304707825] Failed to read output from testmodel.py, exit status != 0: 3.353322251699865 3.582048159 3.115276652 Calling exit ...