Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.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.001051/0.001051, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001609/0.001609, allocations: 173 kB / 23.02 MB, free: 1.551 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.019/1.019, allocations: 177.1 MB / 203.4 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.1205/0.1205, allocations: 21.8 MB / 281.7 MB, free: 7.211 MB / 266.7 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_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 358.8 MB, free: 5.07 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.682e-05, allocations: 6.25 kB / 358.8 MB, free: 5.062 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.003098/0.003115, allocations: 3.208 MB / 362 MB, free: 1.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.004413, allocations: 0.6663 MB / 362.7 MB, free: 1.172 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003302/0.004743, allocations: 23.88 kB / 362.7 MB, free: 1.148 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.005054, allocations: 170.3 kB / 362.9 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.005301, allocations: 138.8 kB / 363 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.005834, allocations: 359.5 kB / 363.4 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008558/0.00669, allocations: 0.8404 MB / 364.2 MB, free: 15.65 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004714/0.007161, allocations: 476.1 kB / 364.7 MB, free: 15.15 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.007452, allocations: 498.8 kB / 365.2 MB, free: 14.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.007646, allocations: 298.7 kB / 365.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.102e-05/0.007737, allocations: 84 kB / 365.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.007882, allocations: 112 kB / 365.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.008118, allocations: 450.4 kB / 366.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.008289, allocations: 330.6 kB / 366.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006512/0.00894, allocations: 0.9057 MB / 367.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.008943, allocations: 0 / 367.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.008944, allocations: 0 / 367.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.008954, allocations: 3.938 kB / 367.3 MB, free: 12.5 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.001446/0.0104, allocations: 1.871 MB / 369.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.01044, allocations: 12.03 kB / 369.2 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.01065, allocations: 287.6 kB / 369.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000557/0.0112, allocations: 0.7253 MB / 370.2 MB, free: 9.516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.981e-05/0.01125, allocations: 74.44 kB / 370.3 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.171e-05/0.01134, allocations: 108.3 kB / 370.4 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.01241, allocations: 0.7634 MB / 371.1 MB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.01243, allocations: 192 / 371.1 MB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/0.01247, allocations: 44.38 kB / 371.2 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.0125, allocations: 32.38 kB / 371.2 MB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004825/0.01298, allocations: 363.5 kB / 371.6 MB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002727/0.0157, allocations: 3.328 MB / 374.9 MB, free: 4.633 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.01627, allocations: 377.5 kB / 375.3 MB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.01643, allocations: 125.6 kB / 375.4 MB, free: 4.133 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.19e-05/0.0165, allocations: 28.58 kB / 375.4 MB, free: 4.105 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.01653, allocations: 42.05 kB / 375.5 MB, free: 4.055 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 2.254e-06/0.01653, allocations: 0 / 375.5 MB, free: 4.055 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.0006893/0.01722, allocations: 0.575 MB / 376 MB, free: 3.473 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.01726, allocations: 56.06 kB / 376.1 MB, free: 3.406 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008666/0.01812, allocations: 1.173 MB / 377.3 MB, free: 2.207 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.01815, allocations: 37.7 kB / 377.3 MB, free: 2.164 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004804/0.01863, allocations: 0.847 MB / 378.1 MB, free: 1.305 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000488/0.01912, allocations: 246.1 kB / 378.4 MB, free: 1.062 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.01923, allocations: 116 kB / 378.5 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.01934, allocations: 0.4965 MB / 379 MB, free: 448 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.01948, allocations: 93.25 kB / 379.1 MB, free: 352 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.01967, allocations: 223.7 kB / 379.3 MB, free: 80 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/0.02003, allocations: 373.5 kB / 379.7 MB, free: 15.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.02004, allocations: 0 / 379.7 MB, free: 15.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0005153/0.02055, allocations: 0.5469 MB / 380.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.02057, allocations: 12.31 kB / 380.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.02058, allocations: 4 kB / 380.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.02059, allocations: 4 kB / 380.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.02085, allocations: 127.8 kB / 380.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.02086, allocations: 8 kB / 380.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.02097, allocations: 51.62 kB / 380.4 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.02099, allocations: 20 kB / 380.4 MB, free: 14.89 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 (82): * Single equations (assignments): 82 * 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.0001675/0.02116, allocations: 203.2 kB / 380.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.02127, allocations: 171 kB / 380.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005539/0.02182, allocations: 0.5275 MB / 381.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.02183, allocations: 12 kB / 381.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.02183, allocations: 0 / 381.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.02184, allocations: 3.984 kB / 381.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.02297, allocations: 1.323 MB / 382.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.02297, allocations: 0 / 382.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.02323, allocations: 111.9 kB / 382.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.02323, allocations: 3.938 kB / 382.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.02326, allocations: 15.98 kB / 382.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.02326, allocations: 4 kB / 382.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.02326, allocations: 0 / 382.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006885/0.02395, allocations: 0.7678 MB / 383.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.461e-05/0.02404, allocations: 130.9 kB / 383.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.915e-05/0.02409, allocations: 19.94 kB / 383.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.901e-05/0.02419, allocations: 8 kB / 383.7 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.02425, allocations: 40.58 kB / 383.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.02427, allocations: 16 kB / 383.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005154/0.02478, allocations: 0.6851 MB / 384.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02478, allocations: 4 kB / 384.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003217/0.0251, allocations: 211.2 kB / 384.7 MB, free: 10.56 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 (67): * Single equations (assignments): 67 * 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.0001479/0.02525, allocations: 119.1 kB / 384.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000407/0.02566, allocations: 334.4 kB / 385.1 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.02566, allocations: 0 / 385.1 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.02584, allocations: 192.6 kB / 385.3 MB, free: 9.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006316/0.02647, allocations: 93.27 kB / 385.4 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.02841, allocations: 2.261 MB / 387.7 MB, free: 7.508 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.02861, allocations: 325.2 kB / 388 MB, free: 7.164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.02875, allocations: 76.36 kB / 388.1 MB, free: 7.086 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.694e-05/0.02883, allocations: 44.5 kB / 388.1 MB, free: 7.039 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02883, allocations: 0 / 388.1 MB, free: 7.039 MB / 362.7 MB Notification: Performance of Templates: time 0.008934/0.03777, allocations: 4.621 MB / 392.7 MB, free: 2.465 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1481970022432506]