Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.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.00134/0.00134, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.001442/0.001442, allocations: 160.7 kB / 23.01 MB, free: 4.941 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.457/1.457, allocations: 177.2 MB / 203.4 MB, free: 9.254 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.1911/0.1911, allocations: 21.8 MB / 281.6 MB, free: 10.94 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_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4") [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.002253/0.002253, allocations: 63.91 kB / 418.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2802, allocations: 60.76 MB / 479.5 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_4): time 0.005335/0.2855, allocations: 3.1 MB / 482.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002549/0.288, allocations: 0.6763 MB / 483.3 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006503/0.2887, allocations: 18.44 kB / 483.3 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005155/0.2892, allocations: 184.7 kB / 483.5 MB, free: 9.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004792/0.2897, allocations: 138.2 kB / 483.6 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008939/0.2906, allocations: 358.4 kB / 484 MB, free: 9.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.2917, allocations: 0.8466 MB / 484.8 MB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008461/0.2925, allocations: 467.6 kB / 485.3 MB, free: 8.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005921/0.2931, allocations: 0.5327 MB / 485.8 MB, free: 8.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.2935, allocations: 375.3 kB / 486.2 MB, free: 8.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.2937, allocations: 84.94 kB / 486.3 MB, free: 7.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.2939, allocations: 127.9 kB / 486.4 MB, free: 7.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005041/0.2944, allocations: 454.4 kB / 486.8 MB, free: 7.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004848/0.2949, allocations: 484.2 kB / 487.3 MB, free: 6.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.2965, allocations: 1.305 MB / 488.6 MB, free: 5.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.2965, allocations: 7.984 kB / 488.6 MB, free: 5.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.2965, allocations: 3.938 kB / 488.6 MB, free: 5.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.2965, allocations: 0 / 488.6 MB, free: 5.625 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.002845/0.2994, allocations: 1.813 MB / 490.4 MB, free: 3.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.2994, allocations: 12.03 kB / 490.5 MB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002817/0.2997, allocations: 207.6 kB / 490.7 MB, free: 3.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.3009, allocations: 0.7191 MB / 491.4 MB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.414e-05/0.301, allocations: 78.48 kB / 491.4 MB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.3011, allocations: 104.4 kB / 491.6 MB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.3031, allocations: 1.278 MB / 492.8 MB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.3031, allocations: 192 / 492.8 MB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-05/0.3032, allocations: 43.94 kB / 492.9 MB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.572e-05/0.3033, allocations: 59.86 kB / 492.9 MB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.3051, allocations: 1.222 MB / 494.2 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004883/0.31, allocations: 3.481 MB / 497.6 MB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.3118, allocations: 1.335 MB / 499 MB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006291/0.3124, allocations: 471.8 kB / 499.4 MB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-05/0.3125, allocations: 36.62 kB / 499.5 MB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.3125, allocations: 43.22 kB / 499.5 MB, free: 10.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 2.655e-06/0.3125, allocations: 0 / 499.5 MB, free: 10.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=70): time 0.002249/0.3148, allocations: 1.563 MB / 0.4893 GB, free: 8.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.3148, allocations: 85.7 kB / 0.4894 GB, free: 8.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.3165, allocations: 1.357 MB / 0.4907 GB, free: 7.418 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.3165, allocations: 33.7 kB / 0.4908 GB, free: 7.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007313/0.3173, allocations: 0.8502 MB / 0.4916 GB, free: 6.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.3175, allocations: 253.8 kB / 0.4918 GB, free: 6.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/0.3177, allocations: 162.5 kB / 0.492 GB, free: 6.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3179, allocations: 341.9 kB / 0.4923 GB, free: 5.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006863/0.3186, allocations: 473.8 kB / 0.4928 GB, free: 5.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008887/0.3195, allocations: 0.72 MB / 0.4935 GB, free: 4.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.3211, allocations: 1.234 MB / 0.4947 GB, free: 3.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.3211, allocations: 0 / 0.4947 GB, free: 3.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002022/0.3231, allocations: 1.394 MB / 0.496 GB, free: 1.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.3231, allocations: 11.94 kB / 0.4961 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.3231, allocations: 8 kB / 0.4961 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.3232, allocations: 12 kB / 0.4961 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006458/0.3238, allocations: 184.4 kB / 0.4962 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.461e-05/0.3238, allocations: 19.92 kB / 0.4963 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003918/0.3242, allocations: 83.41 kB / 0.4963 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-05/0.3243, allocations: 47.94 kB / 0.4964 GB, free: 1.359 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (109): * Single equations (assignments): 109 * 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.0005918/0.3249, allocations: 401.3 kB / 0.4968 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.3251, allocations: 151 kB / 0.4969 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/0.327, allocations: 1.247 MB / 0.4981 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.327, allocations: 11.98 kB / 0.4981 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.327, allocations: 0 / 0.4981 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.327, allocations: 8.016 kB / 0.4982 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002989/0.33, allocations: 2.18 MB / 0.5003 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.33, allocations: 0 / 0.5003 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000547/0.3306, allocations: 119.8 kB / 0.5004 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.3306, allocations: 0 / 0.5004 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.505e-05/0.3306, allocations: 23.98 kB / 0.5004 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/0.3306, allocations: 4 kB / 0.5004 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3306, allocations: 3.938 kB / 0.5004 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.3331, allocations: 1.991 MB / 0.5024 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.3333, allocations: 138.8 kB / 0.5025 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.355e-05/0.3334, allocations: 16.06 kB / 0.5025 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.3337, allocations: 12 kB / 0.5025 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.3338, allocations: 52.5 kB / 0.5026 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/0.3339, allocations: 20 kB / 0.5026 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001217/0.3351, allocations: 0.9211 MB / 0.5035 GB, free: 9.996 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3351, allocations: 0 / 0.5035 GB, free: 9.996 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007517/0.3358, allocations: 231.2 kB / 0.5037 GB, free: 9.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (70): * Single equations (assignments): 70 * 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.0002243/0.3361, allocations: 128.9 kB / 0.5038 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.3376, allocations: 1.053 MB / 0.5049 GB, free: 8.586 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.3376, allocations: 4 kB / 0.5049 GB, free: 8.582 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006985/0.3383, allocations: 0.4995 MB / 0.5054 GB, free: 8.082 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007125/0.3391, allocations: 95.84 kB / 0.5055 GB, free: 7.992 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/0.3434, allocations: 2.898 MB / 0.5083 GB, free: 5.055 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008964/0.3443, allocations: 0.7493 MB / 0.509 GB, free: 4.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004449/0.3447, allocations: 132.8 kB / 0.5091 GB, free: 4.141 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.3449, allocations: 60.48 kB / 0.5092 GB, free: 4.082 MB / 414.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3449, allocations: 0 / 0.5092 GB, free: 4.082 MB / 414.1 MB Notification: Performance of Templates: time 0.01386/0.3587, allocations: 4.762 MB / 0.5139 GB, free: 15.36 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4 -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.926592217059806] Failed to read output from testmodel.py, exit status != 0: 0.36787579488009214 0.382466726 0.082769954 Calling exit ...