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.0009571/0.0009571, allocations: 93.06 kB / 19.65 MB, free: 276 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.001041/0.001041, allocations: 169 kB / 23.03 MB, free: 1.543 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 0.9767/0.9767, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.1259/0.1259, allocations: 21.8 MB / 281.7 MB, free: 7.191 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_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 1.923e-06/1.923e-06, allocations: 0 / 358.8 MB, free: 5.047 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.964e-05, allocations: 6.25 kB / 358.8 MB, free: 5.039 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.003221/0.003241, allocations: 3.184 MB / 362 MB, free: 1.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.004718, allocations: 0.6584 MB / 362.7 MB, free: 1.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004476/0.005166, allocations: 23.88 kB / 362.7 MB, free: 1.156 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.005508, allocations: 162.3 kB / 362.9 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.005801, allocations: 126.8 kB / 363 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006497/0.00645, allocations: 359.5 kB / 363.3 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008044/0.007255, allocations: 0.8442 MB / 364.2 MB, free: 15.67 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005509/0.007806, allocations: 472.1 kB / 364.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00038/0.008186, allocations: 494.8 kB / 365.1 MB, free: 14.69 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.008415, allocations: 306.7 kB / 365.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.139e-05/0.008507, allocations: 88 kB / 365.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.008679, allocations: 108 kB / 365.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002849/0.008964, allocations: 458.4 kB / 366.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.009144, allocations: 318.6 kB / 366.4 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007926/0.009936, allocations: 0.8863 MB / 367.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.00994, allocations: 3.984 kB / 367.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.00994, allocations: 0 / 367.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.00996, allocations: 0 / 367.3 MB, free: 12.54 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.001467/0.01143, allocations: 1.828 MB / 369.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.01147, allocations: 8.031 kB / 369.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002796/0.01175, allocations: 279.7 kB / 369.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006554/0.0124, allocations: 0.6972 MB / 370.1 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.151e-05/0.01245, allocations: 74.42 kB / 370.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.744e-05/0.01254, allocations: 104.4 kB / 370.2 MB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008308/0.01337, allocations: 0.7507 MB / 371 MB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.0134, allocations: 192 / 371 MB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.279e-05/0.01345, allocations: 48.38 kB / 371 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.01347, allocations: 24.38 kB / 371.1 MB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005682/0.01404, allocations: 367.5 kB / 371.4 MB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003191/0.01723, allocations: 3.299 MB / 374.7 MB, free: 4.809 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.01783, allocations: 368.8 kB / 375.1 MB, free: 4.441 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.01798, allocations: 121.6 kB / 375.2 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.346e-05/0.01804, allocations: 28.64 kB / 375.2 MB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.01807, allocations: 49.97 kB / 375.3 MB, free: 4.234 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 2.284e-06/0.01807, allocations: 0 / 375.3 MB, free: 4.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.0006898/0.01876, allocations: 0.5556 MB / 375.8 MB, free: 3.672 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.0188, allocations: 56.06 kB / 375.9 MB, free: 3.605 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008399/0.01964, allocations: 1.122 MB / 377 MB, free: 2.453 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.01967, allocations: 37.7 kB / 377 MB, free: 2.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004248/0.02009, allocations: 0.8152 MB / 377.9 MB, free: 1.582 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.02021, allocations: 238.2 kB / 378.1 MB, free: 1.348 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.02032, allocations: 120 kB / 378.2 MB, free: 1.223 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.02045, allocations: 0.4926 MB / 378.7 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.0206, allocations: 93.25 kB / 378.8 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.0208, allocations: 227.7 kB / 379 MB, free: 368 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.02119, allocations: 353.5 kB / 379.4 MB, free: 15.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.02119, allocations: 4 kB / 379.4 MB, free: 15.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0005588/0.02175, allocations: 0.5391 MB / 379.9 MB, free: 15.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.02177, allocations: 12.3 kB / 379.9 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.02177, allocations: 8 kB / 379.9 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.02179, allocations: 4 kB / 379.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.02217, allocations: 123.8 kB / 380 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.02217, allocations: 4 kB / 380 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.02229, allocations: 51.56 kB / 380.1 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.02232, allocations: 31.98 kB / 380.1 MB, free: 15.19 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.0001803/0.0225, allocations: 198.9 kB / 380.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.02261, allocations: 166.9 kB / 380.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005613/0.02317, allocations: 0.5113 MB / 381 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.02318, allocations: 12 kB / 381 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.02319, allocations: 3.984 kB / 381 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.02319, allocations: 0 / 381 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.02433, allocations: 1.298 MB / 382.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.02433, allocations: 0 / 382.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.02458, allocations: 103.9 kB / 382.4 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.02459, allocations: 4 kB / 382.4 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.02462, allocations: 12 kB / 382.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.02462, allocations: 4 kB / 382.4 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.02462, allocations: 3.938 kB / 382.4 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006715/0.02529, allocations: 0.7595 MB / 383.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.02537, allocations: 126.9 kB / 383.3 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.02542, allocations: 12 kB / 383.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.02552, allocations: 16 kB / 383.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.02557, allocations: 40.58 kB / 383.4 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.02559, allocations: 16 kB / 383.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005339/0.02612, allocations: 0.6559 MB / 384.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02612, allocations: 0 / 384.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003435/0.02647, allocations: 211.2 kB / 384.3 MB, free: 10.95 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.0001821/0.02665, allocations: 115.1 kB / 384.4 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000428/0.02708, allocations: 338.4 kB / 384.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02708, allocations: 0 / 384.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.02726, allocations: 188.6 kB / 384.9 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.02765, allocations: 93.09 kB / 385 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.0298, allocations: 2.183 MB / 387.2 MB, free: 7.984 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.03001, allocations: 317.2 kB / 387.5 MB, free: 7.648 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.03016, allocations: 76.36 kB / 387.5 MB, free: 7.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.906e-05/0.03025, allocations: 48.48 kB / 387.6 MB, free: 7.52 MB / 362.7 MB Notification: Performance of SimCode: time 9.51e-07/0.03025, allocations: 0 / 387.6 MB, free: 7.52 MB / 362.7 MB Notification: Performance of Templates: time 0.008665/0.03891, allocations: 4.522 MB / 392.1 MB, free: 3.039 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.0486226570792496]