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.001517/0.001517, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001158/0.001158, allocations: 173 kB / 23.49 MB, free: 1.062 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.135/1.135, allocations: 177.1 MB / 203.8 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.1673/0.1673, allocations: 21.79 MB / 282.1 MB, free: 7.25 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_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 5.861e-06/5.861e-06, allocations: 3.984 kB / 358.8 MB, free: 5.383 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.732e-05/4.318e-05, allocations: 6.25 kB / 358.8 MB, free: 5.375 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.00445/0.004493, allocations: 3.164 MB / 362 MB, free: 2.199 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.006566, allocations: 0.6701 MB / 362.7 MB, free: 1.527 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007397/0.007306, allocations: 19.94 kB / 362.7 MB, free: 1.508 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004974/0.007803, allocations: 174.3 kB / 362.9 MB, free: 1.336 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004536/0.008257, allocations: 130.8 kB / 363 MB, free: 1.207 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009522/0.009209, allocations: 367.5 kB / 363.3 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.01026, allocations: 0.8443 MB / 364.2 MB, free: 0 / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007176/0.01098, allocations: 472.1 kB / 364.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000518/0.01149, allocations: 490.8 kB / 365.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.01177, allocations: 294.7 kB / 365.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.01188, allocations: 84 kB / 365.5 MB, free: 14.65 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.0121, allocations: 123.9 kB / 365.6 MB, free: 14.53 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003265/0.01243, allocations: 454.3 kB / 366.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.01266, allocations: 322.6 kB / 366.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.01376, allocations: 0.9058 MB / 367.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.01377, allocations: 0 / 367.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.01377, allocations: 0 / 367.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.0138, allocations: 0 / 367.3 MB, free: 12.86 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.002027/0.01582, allocations: 1.871 MB / 369.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.01588, allocations: 12.03 kB / 369.2 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003313/0.01621, allocations: 287.6 kB / 369.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008774/0.01709, allocations: 0.7331 MB / 370.2 MB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.271e-05/0.01716, allocations: 78.38 kB / 370.3 MB, free: 9.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.482e-05/0.01726, allocations: 104.4 kB / 370.4 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.0183, allocations: 0.7634 MB / 371.1 MB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/0.01833, allocations: 4.172 kB / 371.1 MB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.663e-05/0.01839, allocations: 44.38 kB / 371.2 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.01842, allocations: 32.38 kB / 371.2 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005731/0.01899, allocations: 367.5 kB / 371.6 MB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003938/0.02293, allocations: 3.312 MB / 374.9 MB, free: 4.996 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007361/0.02366, allocations: 377.6 kB / 375.2 MB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.02385, allocations: 125.6 kB / 375.4 MB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-05/0.02395, allocations: 40.55 kB / 375.4 MB, free: 4.457 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.024, allocations: 42.05 kB / 375.4 MB, free: 4.406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 4.198e-06/0.024, allocations: 0 / 375.4 MB, free: 4.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.0008988/0.0249, allocations: 0.575 MB / 376 MB, free: 3.824 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.02495, allocations: 56.06 kB / 376.1 MB, free: 3.758 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.02603, allocations: 1.177 MB / 377.3 MB, free: 2.555 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.02606, allocations: 33.7 kB / 377.3 MB, free: 2.516 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005936/0.02666, allocations: 0.8472 MB / 378.1 MB, free: 1.656 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.02683, allocations: 245.9 kB / 378.4 MB, free: 1.414 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.02698, allocations: 112 kB / 378.5 MB, free: 1.297 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.02717, allocations: 0.4965 MB / 379 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.02733, allocations: 97.23 kB / 379.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.02756, allocations: 227.6 kB / 379.3 MB, free: 436 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004138/0.02797, allocations: 369.5 kB / 379.7 MB, free: 20 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.02798, allocations: 0 / 379.7 MB, free: 20 kB / 346.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.000732/0.02871, allocations: 0.5511 MB / 380.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.02874, allocations: 12.03 kB / 380.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.02875, allocations: 4 kB / 380.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.02878, allocations: 4 kB / 380.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.0291, allocations: 127.8 kB / 380.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/0.02912, allocations: 8 kB / 380.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.0293, allocations: 51.62 kB / 380.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.02933, allocations: 20 kB / 380.4 MB, free: 15.24 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.0002752/0.0296, allocations: 202.8 kB / 380.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.02976, allocations: 167 kB / 380.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007484/0.0305, allocations: 0.5236 MB / 381.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.03052, allocations: 12 kB / 381.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.03052, allocations: 0 / 381.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.03053, allocations: 3.984 kB / 381.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.03214, allocations: 1.323 MB / 382.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.03214, allocations: 0 / 382.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003215/0.03246, allocations: 111.8 kB / 382.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-06/0.03247, allocations: 0 / 382.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.0325, allocations: 20 kB / 382.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.03251, allocations: 0 / 382.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.03251, allocations: 0 / 382.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008741/0.03339, allocations: 0.7717 MB / 383.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.03353, allocations: 126.9 kB / 383.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/0.03359, allocations: 12 kB / 383.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.03373, allocations: 12 kB / 383.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.157e-05/0.03381, allocations: 40.58 kB / 383.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.03383, allocations: 19.98 kB / 383.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006761/0.03451, allocations: 0.689 MB / 384.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.03451, allocations: 0 / 384.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005671/0.03508, allocations: 215.1 kB / 384.7 MB, free: 10.91 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.0002765/0.03535, allocations: 119.1 kB / 384.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005664/0.03592, allocations: 334.4 kB / 385.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.03592, allocations: 0 / 385.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.03615, allocations: 192.6 kB / 385.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.03667, allocations: 97.2 kB / 385.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.03982, allocations: 2.261 MB / 387.6 MB, free: 7.859 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.04011, allocations: 329.2 kB / 388 MB, free: 7.512 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002043/0.04032, allocations: 76.36 kB / 388 MB, free: 7.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.04042, allocations: 44.5 kB / 388.1 MB, free: 7.387 MB / 362.7 MB Notification: Performance of SimCode: time 3.787e-06/0.04042, allocations: 0 / 388.1 MB, free: 7.387 MB / 362.7 MB Notification: Performance of Templates: time 0.01145/0.05188, allocations: 4.375 MB / 392.5 MB, free: 3.043 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.8357233649585396]