Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Boundaries.Tests.TestSubstance.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.0008111/0.0008111, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009347/0.0009347, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.028/1.028, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.09868/0.09868, allocations: 17.39 MB / 277.6 MB, free: 11.52 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: translateModel(Chemical.Boundaries.Tests.TestSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Chemical_Chemical.Boundaries.Tests.TestSubstance") translateModel(Chemical.Boundaries.Tests.TestSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Chemical_Chemical.Boundaries.Tests.TestSubstance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0.6094 kB / 300.6 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.875e-05, allocations: 2.312 kB / 300.7 MB, free: 1.629 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564: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 2.0.0/Interfaces.mo:1564:5-1564: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 2.0.0/Boundaries.mo:644:5-644:47: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:644:5-644:47: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.TestSubstance): time 0.05408/0.0541, allocations: 62.8 MB / 363.5 MB, free: 5.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02306/0.07717, allocations: 14.68 MB / 378.1 MB, free: 6.762 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007197/0.08436, allocations: 107.5 kB / 378.2 MB, free: 6.656 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006765/0.09113, allocations: 2.377 MB / 380.6 MB, free: 4.262 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008636/0.09976, allocations: 3.144 MB / 383.8 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005475/0.1052, allocations: 2.15 MB / 385.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01266/0.1179, allocations: 9.099 MB / 395 MB, free: 5.809 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003421/0.1213, allocations: 2.053 MB / 397.1 MB, free: 3.633 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008161/0.1295, allocations: 5.34 MB / 402.4 MB, free: 14.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004645/0.1341, allocations: 2.999 MB / 405.4 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001726/0.1359, allocations: 0.9141 MB / 406.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004613/0.1405, allocations: 1.873 MB / 408.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002892/0.1434, allocations: 2.795 MB / 411 MB, free: 5.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007009/0.1504, allocations: 3.187 MB / 414.2 MB, free: 2.484 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01325/0.1636, allocations: 9.476 MB / 423.6 MB, free: 8.973 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1636, allocations: 0 / 423.6 MB, free: 8.973 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1636, allocations: 4 kB / 423.6 MB, free: 8.969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003431/0.164, allocations: 0 / 423.6 MB, free: 8.969 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2855 * Number of variables: 2855 Notification: Performance of Generate backend data structure: time 0.0126/0.1766, allocations: 10.39 MB / 434 MB, free: 14.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1766, allocations: 8.031 kB / 434 MB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00518/0.1818, allocations: 3.966 MB / 438 MB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004597/0.1864, allocations: 2.797 MB / 440.8 MB, free: 7.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001189/0.1876, allocations: 1.611 MB / 442.4 MB, free: 5.922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001504/0.1891, allocations: 0.9025 MB / 443.3 MB, free: 5.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.28/0.469, allocations: 11.52 MB / 454.8 MB, free: 83.38 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/0.4692, allocations: 11.97 kB / 454.9 MB, free: 83.38 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003802/0.4695, allocations: 378.5 kB / 455.2 MB, free: 83.38 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001218/0.4708, allocations: 1.491 MB / 456.7 MB, free: 83.35 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.4816, allocations: 13.03 MB / 469.7 MB, free: 82.99 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05154/0.5332, allocations: 42.82 MB / 0.5005 GB, free: 50.69 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00497/0.5382, allocations: 2.496 MB / 0.503 GB, free: 48.26 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002879/0.541, allocations: 1.019 MB / 0.504 GB, free: 47.24 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/0.5422, allocations: 0.7156 MB / 0.5047 GB, free: 46.53 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/0.5422, allocations: 88.78 kB / 0.5048 GB, free: 46.44 MB / 410.8 MB Notification: Performance of pre-optimization done (n=402): time 6.973e-06/0.5422, allocations: 0 / 0.5048 GB, free: 46.44 MB / 410.8 MB Notification: Performance of matching and sorting (n=576): time 0.1136/0.6559, allocations: 33.78 MB / 0.5377 GB, free: 14.01 MB / 410.8 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.009208/0.6651, allocations: 10.73 MB / 0.5482 GB, free: 2.922 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.667, allocations: 2.793 MB / 0.551 GB, free: 0.7031 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001405/0.6684, allocations: 117.7 kB / 0.5511 GB, free: 0.582 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001513/0.6699, allocations: 3.789 MB / 0.5548 GB, free: 13.34 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001946/0.6719, allocations: 2.017 MB / 0.5567 GB, free: 11.45 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002922/0.6748, allocations: 1.378 MB / 0.5581 GB, free: 10.18 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 6.983e-05/0.6749, allocations: 308.2 kB / 0.5584 GB, free: 9.879 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004709/0.6796, allocations: 1.962 MB / 0.5603 GB, free: 7.91 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005127/0.6847, allocations: 2.746 MB / 0.563 GB, free: 5.043 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01278/0.6975, allocations: 7.462 MB / 0.5703 GB, free: 13.46 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/0.6975, allocations: 6.078 kB / 0.5703 GB, free: 13.46 MB / 442.8 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01896/0.7165, allocations: 7.411 MB / 0.5775 GB, free: 6.117 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.7165, allocations: 12 kB / 0.5775 GB, free: 6.105 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/0.7165, allocations: 16 kB / 0.5775 GB, free: 6.09 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01812/0.7347, allocations: 7.816 MB / 0.5852 GB, free: 14.34 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01342/0.7481, allocations: 3.359 MB / 0.5884 GB, free: 11.08 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.191/0.9391, allocations: 31.46 MB / 0.6192 GB, free: 92.88 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005547/0.9446, allocations: 221.9 kB / 0.6194 GB, free: 92.88 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001986/0.9466, allocations: 1.277 MB / 0.6206 GB, free: 92.88 MB / 458.8 MB Warning: Assuming fixed start value for the following 9 variables: boundaryRear.fore.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real 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 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 boundaryRear4.fore.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: 77 * 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 (586): * Single equations (assignments): 562 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 22 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (8,5,34.4%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,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 {(10,38), (8,5)} Notification: Performance of prepare postOptimizeDAE: time 0.003512/0.9501, allocations: 443.6 kB / 0.6211 GB, free: 92.75 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001932/0.9521, allocations: 0.4952 MB / 0.6215 GB, free: 92.75 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02828/0.9803, allocations: 12.6 MB / 0.6338 GB, free: 91.85 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01291/0.9932, allocations: 4.117 MB / 0.6379 GB, free: 91.64 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.079e-05/0.9933, allocations: 13.97 kB / 0.6379 GB, free: 91.64 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.336e-05/0.9933, allocations: 30.33 kB / 0.6379 GB, free: 91.63 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0588/1.052, allocations: 18.21 MB / 0.6557 GB, free: 88.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-05/1.052, allocations: 22.28 kB / 0.6557 GB, free: 88.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006491/1.059, allocations: 1.746 MB / 0.6574 GB, free: 87.88 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02205/1.081, allocations: 6.97 MB / 0.6642 GB, free: 85.04 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008562/1.082, allocations: 197.2 kB / 0.6644 GB, free: 84.91 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02067/1.102, allocations: 31.1 MB / 0.6948 GB, free: 54.15 MB / 458.8 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 postOpt calculateStateSetsJacobians (simulation): time 0.006256/1.108, allocations: 8.807 MB / 0.7034 GB, free: 45.05 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02595/1.134, allocations: 8.514 MB / 0.7117 GB, free: 36.04 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001888/1.136, allocations: 0.5272 MB / 0.7122 GB, free: 35.52 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002398/1.139, allocations: 146.5 kB / 0.7124 GB, free: 35.38 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005298/1.144, allocations: 143.8 kB / 0.7125 GB, free: 35.25 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002526/1.147, allocations: 0.5993 MB / 0.7131 GB, free: 34.68 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001082/1.148, allocations: 347.8 kB / 0.7134 GB, free: 34.34 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.00432/1.152, allocations: 2.859 MB / 0.7162 GB, free: 31.68 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.21e-07/1.152, allocations: 0 / 0.7162 GB, free: 31.68 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01276/1.165, allocations: 3.486 MB / 0.7196 GB, free: 28.21 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 109 * Number of states: 19 ($STATESET6.x,boundaryRear4.fore.n_flow,$STATESET5.x,$STATESET4.x[5],$STATESET4.x[4],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],boundaryFore.rear.n_flow,boundaryRear2.fore.n_flow,boundaryRear3.fore.n_flow,boundaryFore3.rear.n_flow,$STATESET3.x,boundaryFore1.rear.n_flow,$STATESET2.x,boundaryRear1.fore.n_flow,boundaryFore2.rear.n_flow,$STATESET1.x,boundaryRear.fore.n_flow) * Number of discrete variables: 9 ($cse135,$cse124,$cse105,$cse98,$cse91,$cse84,$cse73,$cse65,$cse51) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (419): * Single equations (assignments): 397 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 22 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 15 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (8,5,34.4%), (1,1,100.0%), (1,1,100.0%), (1,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): 7 systems {(3,3), (3,3), (10,42), (17,21), (3,3), (3,3), (3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001698/1.166, allocations: 0.5586 MB / 0.7202 GB, free: 27.82 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01636/1.183, allocations: 6.963 MB / 0.7269 GB, free: 20.82 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001034/1.183, allocations: 47.19 kB / 0.727 GB, free: 20.78 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008649/1.192, allocations: 5.04 MB / 0.7319 GB, free: 15.73 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00879/1.2, allocations: 1.55 MB / 0.7334 GB, free: 14.31 MB / 458.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4069:9-4069:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:791:5-791: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.936599011067301]