Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.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.001477/0.001477, allocations: 74.03 kB / 19.76 MB, free: 2.012 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.0015/0.0015, allocations: 160.6 kB / 23.01 MB, free: 4.965 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.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 9.25 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo): time 0.1857/0.1857, allocations: 21.8 MB / 281.6 MB, free: 10.93 MB / 270.1 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 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(SystemDynamics.WorldDynamics.World2.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") [Timeout 660] "Notification: SystemDynamics 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.002188/0.002188, allocations: 63.91 kB / 418.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2608, allocations: 60.78 MB / 479.5 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.004604/0.2654, allocations: 3.064 MB / 482.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.267, allocations: 0.6599 MB / 483.3 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003177/0.2673, allocations: 18.41 kB / 483.3 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003949/0.2677, allocations: 162.8 kB / 483.4 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.268, allocations: 121.5 kB / 483.5 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007328/0.2688, allocations: 360.6 kB / 483.9 MB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009021/0.2697, allocations: 0.8353 MB / 484.7 MB, free: 9.086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007359/0.2704, allocations: 469.9 kB / 485.2 MB, free: 8.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005469/0.2709, allocations: 0.5235 MB / 485.7 MB, free: 8.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003688/0.2713, allocations: 379.9 kB / 486.1 MB, free: 8.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.2714, allocations: 85.28 kB / 486.2 MB, free: 8.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.2717, allocations: 111.1 kB / 486.3 MB, free: 7.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004262/0.2721, allocations: 446.4 kB / 486.7 MB, free: 7.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003932/0.2725, allocations: 456.5 kB / 487.2 MB, free: 7.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.2738, allocations: 1.243 MB / 488.4 MB, free: 5.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.2738, allocations: 4 kB / 488.4 MB, free: 5.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2738, allocations: 3.938 kB / 488.4 MB, free: 5.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.2738, allocations: 0 / 488.4 MB, free: 5.82 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.002331/0.2761, allocations: 1.711 MB / 490.1 MB, free: 4.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2762, allocations: 16.03 kB / 490.1 MB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.2764, allocations: 199.6 kB / 490.3 MB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.2774, allocations: 0.6873 MB / 491 MB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.021e-05/0.2775, allocations: 74.42 kB / 491.1 MB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.2777, allocations: 100.4 kB / 491.2 MB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.2794, allocations: 1.13 MB / 492.3 MB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.2794, allocations: 8.125 kB / 492.3 MB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.289e-05/0.2795, allocations: 51.94 kB / 492.4 MB, free: 1.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.2795, allocations: 24 kB / 492.4 MB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.281, allocations: 1.05 MB / 493.5 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004377/0.2853, allocations: 3.184 MB / 496.6 MB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.287, allocations: 1.25 MB / 497.9 MB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005499/0.2876, allocations: 442.6 kB / 498.3 MB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.322e-05/0.2876, allocations: 28.58 kB / 498.3 MB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.2877, allocations: 35.22 kB / 498.4 MB, free: 11.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.144e-06/0.2877, allocations: 0 / 498.4 MB, free: 11.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.001955/0.2896, allocations: 1.458 MB / 499.8 MB, free: 10.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.2897, allocations: 64 kB / 499.9 MB, free: 10.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.2912, allocations: 1.205 MB / 0.4894 GB, free: 8.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.2912, allocations: 37.7 kB / 0.4894 GB, free: 8.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006522/0.2919, allocations: 0.7409 MB / 0.4901 GB, free: 8.047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.2921, allocations: 242.1 kB / 0.4904 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.2923, allocations: 118.3 kB / 0.4905 GB, free: 7.688 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.2924, allocations: 330 kB / 0.4908 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005265/0.293, allocations: 413.1 kB / 0.4912 GB, free: 6.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006196/0.2936, allocations: 0.5043 MB / 0.4917 GB, free: 6.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.2948, allocations: 0.9552 MB / 0.4926 GB, free: 5.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.2948, allocations: 3.938 kB / 0.4926 GB, free: 5.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001476/0.2963, allocations: 1.137 MB / 0.4937 GB, free: 4.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.2963, allocations: 4.312 kB / 0.4937 GB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2963, allocations: 8 kB / 0.4937 GB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.2963, allocations: 4 kB / 0.4937 GB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.2968, allocations: 123.8 kB / 0.4938 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.2968, allocations: 8 kB / 0.4939 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.2971, allocations: 55.56 kB / 0.4939 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.2971, allocations: 23.98 kB / 0.4939 GB, free: 4.055 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (CIAF.Integrator1.local_reset,Pollution.Integrator1.local_reset,Capital_Investment.Integrator1.local_reset,Natural_Resources.Integrator1.local_reset,Population.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004895/0.2976, allocations: 361.5 kB / 0.4943 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.2978, allocations: 139.1 kB / 0.4944 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.2994, allocations: 1.148 MB / 0.4955 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.2994, allocations: 8 kB / 0.4955 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2994, allocations: 4 kB / 0.4955 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.2994, allocations: 0 / 0.4955 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.302, allocations: 2.058 MB / 0.4976 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.302, allocations: 0 / 0.4976 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004878/0.3025, allocations: 107.8 kB / 0.4977 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.3025, allocations: 4 kB / 0.4977 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.3026, allocations: 15.98 kB / 0.4977 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.3026, allocations: 7.938 kB / 0.4977 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3026, allocations: 0 / 0.4977 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.3048, allocations: 1.792 MB / 0.4994 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.305, allocations: 130.9 kB / 0.4996 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.377e-05/0.305, allocations: 20 kB / 0.4996 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.3053, allocations: 8 kB / 0.4996 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.3053, allocations: 40.58 kB / 0.4996 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.3054, allocations: 16 kB / 0.4996 GB, free: 14.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0011/0.3065, allocations: 0.8472 MB / 0.5005 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3065, allocations: 0 / 0.5005 GB, free: 13.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005661/0.307, allocations: 203.2 kB / 0.5007 GB, free: 13.08 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Population.Integrator1.y,Natural_Resources.Integrator1.y,Capital_Investment.Integrator1.y,Pollution.Integrator1.y,CIAF.Integrator1.y) * 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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001796/0.3072, allocations: 117 kB / 0.5008 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.3085, allocations: 0.927 MB / 0.5017 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3085, allocations: 4 kB / 0.5017 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005969/0.3091, allocations: 479.5 kB / 0.5021 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000595/0.3097, allocations: 81.09 kB / 0.5022 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/0.3136, allocations: 2.681 MB / 0.5048 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008347/0.3144, allocations: 0.6927 MB / 0.5055 GB, free: 8.039 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002391/0.3146, allocations: 72.36 kB / 0.5056 GB, free: 7.969 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.3148, allocations: 44.5 kB / 0.5056 GB, free: 7.926 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3148, allocations: 0 / 0.5056 GB, free: 7.926 MB / 414.1 MB Notification: Performance of Templates: time 0.01247/0.3272, allocations: 4.273 MB / 0.5098 GB, free: 3.676 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1 -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.744278241880238] Failed to read output from testmodel.py, exit status != 0: 0.3359879639465362 0.35085501700000005 0.073859414 Calling exit ...