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.0006654/0.0006654, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009343/0.0016, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006979/0.0006979, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008952/0.001593, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8629/0.8629, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07919/0.942, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1083/0.1083, allocations: 21.81 MB / 265.8 MB, free: 8.988 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01035/0.1187, allocations: 7.844 MB / 273.6 MB, free: 1.121 MB / 266.7 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-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.194e-06/2.194e-06, allocations: 0 / 274.9 MB, free: 1.375 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.056e-06/1.025e-05, allocations: 2.312 kB / 274.9 MB, free: 1.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.002874/0.002884, allocations: 3.18 MB / 278.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.004336, allocations: 0.7269 MB / 278.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002958/0.004632, allocations: 18.09 kB / 278.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.004905, allocations: 169.4 kB / 279 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.005136, allocations: 127.9 kB / 279.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.005652, allocations: 352.4 kB / 279.5 MB, free: 15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000689/0.006341, allocations: 0.8164 MB / 280.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005072/0.006848, allocations: 481.9 kB / 280.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004971/0.007345, allocations: 0.5842 MB / 281.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.007608, allocations: 305.3 kB / 281.7 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.007716, allocations: 88.19 kB / 281.7 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.007903, allocations: 122.5 kB / 281.9 MB, free: 13.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002609/0.008164, allocations: 392.6 kB / 282.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.008355, allocations: 261.1 kB / 282.5 MB, free: 13.68 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006945/0.009049, allocations: 0.8127 MB / 283.3 MB, free: 13.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.231e-05/0.009061, allocations: 0 / 283.3 MB, free: 13.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.009062, allocations: 0 / 283.3 MB, free: 13.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.497e-05/0.009097, allocations: 0.6094 kB / 283.3 MB, free: 13.32 MB / 282.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.001707/0.0108, allocations: 1.942 MB / 285.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.01083, allocations: 8.781 kB / 285.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.01102, allocations: 197.7 kB / 285.5 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/0.01161, allocations: 0.6144 MB / 286.1 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.01165, allocations: 75.83 kB / 286.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.078e-05/0.01173, allocations: 103.3 kB / 286.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006462/0.01238, allocations: 0.6821 MB / 286.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.01239, allocations: 1.531 kB / 286.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.01243, allocations: 41.38 kB / 287 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.01245, allocations: 26.53 kB / 287 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.01273, allocations: 258.4 kB / 287.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.01474, allocations: 2.223 MB / 289.5 MB, free: 9.691 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.01511, allocations: 343.5 kB / 289.8 MB, free: 9.566 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.842e-05/0.01521, allocations: 87.61 kB / 289.9 MB, free: 9.547 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.428e-05/0.01527, allocations: 35.61 kB / 289.9 MB, free: 9.535 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.0153, allocations: 38.41 kB / 290 MB, free: 9.492 MB / 282.7 MB Notification: Performance of pre-optimization done (n=66): time 1.493e-06/0.0153, allocations: 0 / 290 MB, free: 9.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=66): time 0.0003851/0.01568, allocations: 363.6 kB / 290.3 MB, free: 9.371 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.01571, allocations: 58.28 kB / 290.4 MB, free: 9.309 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/0.01625, allocations: 0.9358 MB / 291.3 MB, free: 8.773 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.01628, allocations: 40.23 kB / 291.4 MB, free: 8.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.01649, allocations: 0.4991 MB / 291.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.01659, allocations: 240.2 kB / 292.1 MB, free: 8.105 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.534e-05/0.01669, allocations: 113.1 kB / 292.2 MB, free: 8.031 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.231e-05/0.01676, allocations: 331.4 kB / 292.5 MB, free: 7.707 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.295e-05/0.01683, allocations: 64.61 kB / 292.6 MB, free: 7.688 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.01694, allocations: 162.4 kB / 292.7 MB, free: 7.566 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.01718, allocations: 287.4 kB / 293 MB, free: 7.387 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.01718, allocations: 1.875 kB / 293 MB, free: 7.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0003153/0.0175, allocations: 348.7 kB / 293.4 MB, free: 7.078 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.01751, allocations: 11.98 kB / 293.4 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.01752, allocations: 7.938 kB / 293.4 MB, free: 7.059 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.01753, allocations: 4.312 kB / 293.4 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.01778, allocations: 155.8 kB / 293.5 MB, free: 6.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.01779, allocations: 4 kB / 293.6 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.01789, allocations: 47.62 kB / 293.6 MB, free: 6.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.01791, allocations: 16 kB / 293.6 MB, free: 6.836 MB / 282.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 (Population.Integrator1.local_reset,Natural_Resources.Integrator1.local_reset,Capital_Investment.Integrator1.local_reset,Pollution.Integrator1.local_reset,CIAF.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.0001456/0.01806, allocations: 146.2 kB / 293.8 MB, free: 6.684 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.28e-05/0.01813, allocations: 87.91 kB / 293.8 MB, free: 6.598 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006073/0.01874, allocations: 419.5 kB / 294.3 MB, free: 6.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.01874, allocations: 8 kB / 294.3 MB, free: 6.172 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01874, allocations: 0 / 294.3 MB, free: 6.172 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.01875, allocations: 3.984 kB / 294.3 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007264/0.01948, allocations: 0.8841 MB / 295.1 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.01948, allocations: 3.938 kB / 295.2 MB, free: 5.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.01971, allocations: 115.9 kB / 295.3 MB, free: 5.141 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.858e-05/0.01979, allocations: 130.8 kB / 295.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01979, allocations: 0 / 295.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.01981, allocations: 19.98 kB / 295.4 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.01981, allocations: 6.891 kB / 295.4 MB, free: 4.988 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01981, allocations: 0 / 295.4 MB, free: 4.988 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.02022, allocations: 0.5502 MB / 296 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.02027, allocations: 20 kB / 296 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.968e-05/0.02036, allocations: 12 kB / 296 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.02039, allocations: 40.58 kB / 296 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.0204, allocations: 11.98 kB / 296.1 MB, free: 4.332 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003039/0.02071, allocations: 487.7 kB / 296.5 MB, free: 3.852 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02071, allocations: 0 / 296.5 MB, free: 3.852 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002776/0.02099, allocations: 207.2 kB / 296.7 MB, free: 3.648 MB / 282.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.000116/0.0211, allocations: 106.7 kB / 296.8 MB, free: 3.539 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.02135, allocations: 272.1 kB / 297.1 MB, free: 3.273 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/0.02136, allocations: 20.06 kB / 297.1 MB, free: 3.254 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.02148, allocations: 149.8 kB / 297.3 MB, free: 3.105 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.02181, allocations: 126.5 kB / 297.4 MB, free: 2.984 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.02411, allocations: 2.302 MB / 299.7 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.02432, allocations: 333 kB / 300 MB, free: 288 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.02445, allocations: 68.36 kB / 300.1 MB, free: 216 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.02457, allocations: 115.4 kB / 300.2 MB, free: 100 kB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02457, allocations: 4 kB / 300.2 MB, free: 96 kB / 282.7 MB Notification: Performance of Templates: time 0.008979/0.03355, allocations: 4.76 MB / 305 MB, free: 11.41 MB / 298.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: 2.630862924270332]