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.00116/0.00116, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001068/0.001068, allocations: 173 kB / 23.49 MB, free: 1.059 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.201/1.201, allocations: 177.1 MB / 203.8 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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.1707/0.1707, allocations: 21.8 MB / 282.1 MB, free: 7.266 MB / 266.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 358.8 MB, free: 5.398 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.821e-05, allocations: 10.31 kB / 358.8 MB, free: 5.387 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.003535/0.003564, allocations: 3.149 MB / 362 MB, free: 2.223 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.004705, allocations: 0.6584 MB / 362.6 MB, free: 1.562 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002993/0.005004, allocations: 23.88 kB / 362.7 MB, free: 1.539 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.005385, allocations: 162.3 kB / 362.8 MB, free: 1.379 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.005612, allocations: 118.8 kB / 362.9 MB, free: 1.262 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006402/0.006252, allocations: 363.5 kB / 363.3 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006251/0.006877, allocations: 0.8442 MB / 364.1 MB, free: 60 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005641/0.007441, allocations: 472.1 kB / 364.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003753/0.007817, allocations: 494.8 kB / 365.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.008029, allocations: 302.7 kB / 365.4 MB, free: 14.78 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.23e-05/0.008121, allocations: 88 kB / 365.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.008298, allocations: 112 kB / 365.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003785/0.008676, allocations: 454.4 kB / 366 MB, free: 14.14 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.00888, allocations: 318.6 kB / 366.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007646/0.009645, allocations: 0.8863 MB / 367.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.009647, allocations: 4 kB / 367.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.009649, allocations: 0 / 367.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.00966, allocations: 0 / 367.2 MB, free: 12.93 MB / 346.7 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.001704/0.01136, allocations: 1.828 MB / 369 MB, free: 11.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.01141, allocations: 8.031 kB / 369.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.01163, allocations: 275.7 kB / 369.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006404/0.01227, allocations: 0.705 MB / 370 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.01232, allocations: 74.42 kB / 370.1 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.928e-05/0.01241, allocations: 100.4 kB / 370.2 MB, free: 9.859 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007889/0.0132, allocations: 0.7547 MB / 371 MB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.01322, allocations: 192 / 371 MB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.863e-05/0.01327, allocations: 48.38 kB / 371 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.01329, allocations: 24.38 kB / 371 MB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008987/0.01419, allocations: 363.5 kB / 371.4 MB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.01681, allocations: 3.295 MB / 374.7 MB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005864/0.0174, allocations: 376.7 kB / 375 MB, free: 4.828 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.01756, allocations: 125.6 kB / 375.2 MB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.761e-05/0.01763, allocations: 28.64 kB / 375.2 MB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.01766, allocations: 49.97 kB / 375.2 MB, free: 4.617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 2.214e-06/0.01766, allocations: 0 / 375.2 MB, free: 4.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.0007106/0.01838, allocations: 0.5556 MB / 375.8 MB, free: 4.055 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.01841, allocations: 56.06 kB / 375.9 MB, free: 3.988 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008493/0.01926, allocations: 1.122 MB / 377 MB, free: 2.836 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.0193, allocations: 37.7 kB / 377 MB, free: 2.793 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/0.01976, allocations: 0.8152 MB / 377.8 MB, free: 1.965 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.01989, allocations: 242.2 kB / 378.1 MB, free: 1.727 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.02, allocations: 120 kB / 378.2 MB, free: 1.602 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005595/0.02056, allocations: 0.4926 MB / 378.7 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.02072, allocations: 93.25 kB / 378.8 MB, free: 1.008 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.02093, allocations: 227.7 kB / 379 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.02132, allocations: 353.5 kB / 379.3 MB, free: 356 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.02133, allocations: 0 / 379.3 MB, free: 356 kB / 346.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0005735/0.0219, allocations: 0.5391 MB / 379.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.02192, allocations: 15.11 kB / 379.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.02193, allocations: 8 kB / 379.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.02195, allocations: 4 kB / 379.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.02221, allocations: 127.8 kB / 380 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.02222, allocations: 4 kB / 380 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.02233, allocations: 51.56 kB / 380.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.02236, allocations: 27.98 kB / 380.1 MB, free: 15.57 MB / 362.7 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.0001893/0.02255, allocations: 195.3 kB / 380.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.02266, allocations: 170.9 kB / 380.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006124/0.02327, allocations: 0.5113 MB / 381 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.02328, allocations: 11.98 kB / 381 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.02328, allocations: 4 kB / 381 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.02329, allocations: 0 / 381 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.02451, allocations: 1.29 MB / 382.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.02451, allocations: 4 kB / 382.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.02476, allocations: 103.9 kB / 382.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.02477, allocations: 4 kB / 382.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.0248, allocations: 12 kB / 382.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.0248, allocations: 4 kB / 382.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.0248, allocations: 3.938 kB / 382.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007453/0.02555, allocations: 0.7595 MB / 383.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.104e-05/0.02563, allocations: 126.9 kB / 383.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.02568, allocations: 12 kB / 383.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.02578, allocations: 15.98 kB / 383.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.02583, allocations: 40.58 kB / 383.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.02585, allocations: 23.98 kB / 383.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000504/0.02635, allocations: 0.652 MB / 384 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02635, allocations: 0 / 384 MB, free: 11.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003341/0.02669, allocations: 211.2 kB / 384.2 MB, free: 11.34 MB / 362.7 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.0001888/0.02688, allocations: 115.1 kB / 384.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004377/0.02731, allocations: 338.4 kB / 384.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02732, allocations: 0 / 384.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.0275, allocations: 188.6 kB / 384.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.02791, allocations: 99.39 kB / 385 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.03039, allocations: 2.186 MB / 387.2 MB, free: 8.363 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.03061, allocations: 317.2 kB / 387.5 MB, free: 8.027 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000146/0.03075, allocations: 76.36 kB / 387.5 MB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.134e-05/0.03083, allocations: 44.48 kB / 387.6 MB, free: 7.902 MB / 362.7 MB Notification: Performance of SimCode: time 1.553e-06/0.03083, allocations: 0 / 387.6 MB, free: 7.902 MB / 362.7 MB Notification: Performance of Templates: time 0.009064/0.0399, allocations: 4.282 MB / 391.9 MB, free: 3.648 MB / 362.7 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=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7026674090884626]