Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Boundaries.Tests.TestExternalGas.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.0009189/0.0009189, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009809/0.0009809, allocations: 170 kB / 23.27 MB, free: 1.223 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.9886/0.9886, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.08958/0.08958, allocations: 17.46 MB / 277.7 MB, free: 11.41 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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: translateModel(Chemical.Boundaries.Tests.TestExternalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Boundaries.Tests.TestExternalGas") translateModel(Chemical.Boundaries.Tests.TestExternalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Boundaries.Tests.TestExternalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 354 MB, free: 9.605 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.36e-05, allocations: 2.312 kB / 354 MB, free: 9.602 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1586:5-1586:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1586:5-1586:64:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361: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:1361:7-1361: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.Boundaries.Tests.TestExternalGas): time 0.04862/0.04865, allocations: 52.16 MB / 406.2 MB, free: 5.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2873/0.336, allocations: 140.4 MB / 0.5338 GB, free: 8.523 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005641/0.3416, allocations: 198.4 kB / 0.534 GB, free: 8.328 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005354/0.347, allocations: 2.05 MB / 0.536 GB, free: 6.273 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007672/0.3546, allocations: 3.234 MB / 0.5391 GB, free: 3.016 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005191/0.3598, allocations: 1.935 MB / 0.541 GB, free: 1.074 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01063/0.3705, allocations: 7.96 MB / 0.5488 GB, free: 9.094 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002589/0.373, allocations: 1.763 MB / 0.5505 GB, free: 7.238 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006254/0.3793, allocations: 4.643 MB / 0.5551 GB, free: 2.582 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2428/0.6221, allocations: 3.253 MB / 0.5582 GB, free: 10.76 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002885/0.625, allocations: 0.7225 MB / 0.5589 GB, free: 10.76 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007074/0.632, allocations: 1.876 MB / 0.5608 GB, free: 10.76 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002185/0.6342, allocations: 2.383 MB / 0.5631 GB, free: 10.76 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005472/0.6397, allocations: 2.704 MB / 0.5657 GB, free: 10.76 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009779/0.6495, allocations: 8.23 MB / 0.5738 GB, free: 9.883 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6495, allocations: 0.7188 kB / 0.5738 GB, free: 9.883 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.6495, allocations: 0 / 0.5738 GB, free: 9.883 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003581/0.6498, allocations: 2.781 kB / 0.5738 GB, free: 9.883 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: 2385 * Number of variables: 2385 Notification: Performance of Generate backend data structure: time 0.009904/0.6598, allocations: 9.522 MB / 0.5831 GB, free: 6.051 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.6598, allocations: 10 kB / 0.5831 GB, free: 6.051 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003395/0.6632, allocations: 3.481 MB / 0.5865 GB, free: 5.438 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004207/0.6674, allocations: 4.345 MB / 0.5907 GB, free: 4.453 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003961/0.6678, allocations: 0.9849 MB / 0.5917 GB, free: 3.996 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005967/0.6684, allocations: 0.7529 MB / 0.5924 GB, free: 3.988 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007993/0.6764, allocations: 8.89 MB / 0.6011 GB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.6765, allocations: 15.8 kB / 0.6011 GB, free: 2.543 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000379/0.6769, allocations: 323.2 kB / 0.6014 GB, free: 2.543 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000757/0.6776, allocations: 1.177 MB / 0.6026 GB, free: 2.516 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008258/0.6859, allocations: 9.617 MB / 0.612 GB, free: 1.559 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03953/0.7254, allocations: 38.74 MB / 0.6498 GB, free: 1.051 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003562/0.729, allocations: 1.654 MB / 0.6514 GB, free: 15.41 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.7304, allocations: 0.8073 MB / 0.6522 GB, free: 14.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01456/0.7449, allocations: 9.959 MB / 0.6619 GB, free: 4.816 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.745, allocations: 65.73 kB / 0.662 GB, free: 4.746 MB / 474.7 MB Notification: Performance of pre-optimization done (n=233): time 3.576e-06/0.745, allocations: 0.5 kB / 0.662 GB, free: 4.746 MB / 474.7 MB Notification: Performance of matching and sorting (n=298): time 0.05572/0.8007, allocations: 17.46 MB / 0.679 GB, free: 3.418 MB / 490.7 MB 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 inlineWhenForInitialization (initialization): time 0.0004769/0.8012, allocations: 0.9268 MB / 0.68 GB, free: 2.438 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002888/0.804, allocations: 3.459 MB / 0.6833 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004014/0.8044, allocations: 69.7 kB / 0.6834 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002177/0.8066, allocations: 4.506 MB / 0.6878 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009714/0.8076, allocations: 1.057 MB / 0.6888 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001738/0.8093, allocations: 1.241 MB / 0.69 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.8094, allocations: 481.6 kB / 0.6905 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002543/0.812, allocations: 1.429 MB / 0.6919 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003177/0.8152, allocations: 3.426 MB / 0.6952 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008471/0.8236, allocations: 6.881 MB / 0.702 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.298e-05/0.8236, allocations: 16 kB / 0.702 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.01186/0.8355, allocations: 5.93 MB / 0.7078 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.8355, allocations: 24 kB / 0.7078 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.861e-05/0.8356, allocations: 44 kB / 0.7078 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006755/0.8423, allocations: 1.67 MB / 0.7095 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02379/0.8661, allocations: 3.297 MB / 0.7127 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01682/0.8829, allocations: 29.46 MB / 0.7414 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004743/0.8877, allocations: 176 kB / 0.7416 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/0.8887, allocations: 0.7653 MB / 0.7424 GB, free: 0.8398 MB / 0.5417 GB Warning: Assuming fixed start value for the following 8 variables: boundaryFore2.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real boundaryRear1.fore.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real boundaryFore1.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real boundaryRear4.fore.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real boundaryFore3.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real boundaryRear3.fore.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real boundaryRear2.fore.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real boundaryFore.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: 206 * Number of states: 0 () * Number of discrete variables: 6 (externalIdealGas.substanceDefinitionVar.data.phase,externalIdealGas.substanceDefinitionVar.SelfClustering,externalGas2.substanceDefinitionVar.data.phase,externalGas2.substanceDefinitionVar.SelfClustering,solvent.substanceDefinitionVar.data.phase,solvent.substanceDefinitionVar.SelfClustering) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (478): * Single equations (assignments): 461 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,15), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.002625/0.8914, allocations: 475.8 kB / 0.7428 GB, free: 440 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001576/0.8929, allocations: 0.552 MB / 0.7434 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/0.9045, allocations: 7.276 MB / 0.7505 GB, free: 8.602 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.9045, allocations: 28 kB / 0.7505 GB, free: 8.574 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.9045, allocations: 4 kB / 0.7505 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/0.9045, allocations: 15.94 kB / 0.7505 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2084/1.113, allocations: 15.12 MB / 0.7653 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/1.113, allocations: 11.56 kB / 0.7653 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01443/1.127, allocations: 2.482 MB / 0.7677 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005648/1.133, allocations: 1.752 MB / 0.7694 GB, free: 135.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000439/1.133, allocations: 162 kB / 0.7696 GB, free: 135.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01001/1.143, allocations: 29.69 MB / 0.7986 GB, free: 107.5 MB / 0.5573 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! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003268/1.144, allocations: 0.7771 MB / 0.7993 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007623/1.151, allocations: 4.853 MB / 0.8041 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006876/1.152, allocations: 360.8 kB / 0.8044 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005877/1.153, allocations: 91.52 kB / 0.8045 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/1.154, allocations: 87.52 kB / 0.8046 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005096/1.155, allocations: 332.2 kB / 0.8049 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003136/1.155, allocations: 271.1 kB / 0.8052 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002075/1.157, allocations: 2.357 MB / 0.8075 GB, free: 105 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.157, allocations: 0 / 0.8075 GB, free: 105 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004932/1.162, allocations: 1.763 MB / 0.8092 GB, free: 105 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 10 (boundaryFore1.rear.n_flow,boundaryRear1.fore.n_flow,boundaryFore2.rear.n_flow,boundaryRear4.fore.n_flow,$STATESET1.x,boundaryFore.rear.n_flow,boundaryRear2.fore.n_flow,boundaryRear3.fore.n_flow,boundaryFore3.rear.n_flow,solvent.logm) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (256): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,15), (3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007138/1.163, allocations: 0.4885 MB / 0.8097 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01049/1.173, allocations: 6.029 MB / 0.8155 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.173, allocations: 0 / 0.8155 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007534/1.181, allocations: 3.858 MB / 0.8193 GB, free: 101.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003265/1.184, allocations: 1.103 MB / 0.8204 GB, free: 101.3 MB / 0.5573 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4595:9-4595:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:827:5-827:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.8835469647310674]