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.001298/0.001298, allocations: 92.22 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.001246/0.001246, allocations: 169 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.122/1.122, 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.146/0.146, allocations: 21.8 MB / 281.7 MB, free: 7.184 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 3.226e-06/3.226e-06, allocations: 4 kB / 358.8 MB, free: 5.055 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.276e-05, allocations: 5.266 kB / 358.8 MB, free: 5.051 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.003404/0.003427, allocations: 3.2 MB / 362 MB, free: 1.836 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.005186, allocations: 0.6584 MB / 362.7 MB, free: 1.176 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004756/0.005661, allocations: 23.94 kB / 362.7 MB, free: 1.152 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.006048, allocations: 178.3 kB / 362.9 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.006337, allocations: 142.7 kB / 363 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007262/0.007063, allocations: 355.5 kB / 363.4 MB, free: 500 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009725/0.008035, allocations: 0.8405 MB / 364.2 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005587/0.008594, allocations: 472.1 kB / 364.7 MB, free: 15.14 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003963/0.00899, allocations: 494.8 kB / 365.1 MB, free: 14.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.009225, allocations: 298.7 kB / 365.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.009325, allocations: 88 kB / 365.5 MB, free: 14.28 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.009503, allocations: 115.9 kB / 365.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.00977, allocations: 450.4 kB / 366.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.009967, allocations: 326.6 kB / 366.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007805/0.01075, allocations: 0.9096 MB / 367.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.01075, allocations: 0 / 367.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01075, allocations: 0 / 367.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.01077, allocations: 0 / 367.3 MB, free: 12.49 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.001521/0.01229, allocations: 1.871 MB / 369.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.01233, allocations: 8.031 kB / 369.2 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.01256, allocations: 287.6 kB / 369.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006396/0.0132, allocations: 0.7331 MB / 370.2 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.68e-05/0.01326, allocations: 74.44 kB / 370.3 MB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-05/0.01335, allocations: 104.4 kB / 370.4 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.01435, allocations: 0.7673 MB / 371.1 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.01436, allocations: 192 / 371.1 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.01441, allocations: 44.38 kB / 371.2 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.01443, allocations: 24.38 kB / 371.2 MB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/0.01495, allocations: 375.5 kB / 371.6 MB, free: 8.055 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/0.0177, allocations: 3.32 MB / 374.9 MB, free: 4.629 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.01827, allocations: 369.1 kB / 375.3 MB, free: 4.262 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.01843, allocations: 125.6 kB / 375.4 MB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.43e-05/0.01851, allocations: 36.58 kB / 375.4 MB, free: 4.102 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.01853, allocations: 42.05 kB / 375.5 MB, free: 4.051 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 1.963e-06/0.01853, allocations: 0 / 375.5 MB, free: 4.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.0006895/0.01922, allocations: 0.5711 MB / 376 MB, free: 3.473 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.01926, allocations: 60.06 kB / 376.1 MB, free: 3.402 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008632/0.02012, allocations: 1.173 MB / 377.3 MB, free: 2.203 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.02015, allocations: 37.7 kB / 377.3 MB, free: 2.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006417/0.02079, allocations: 0.8392 MB / 378.1 MB, free: 1.309 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.02091, allocations: 246.1 kB / 378.4 MB, free: 1.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.02102, allocations: 123.9 kB / 378.5 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.02115, allocations: 0.4965 MB / 379 MB, free: 444 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.0213, allocations: 97.25 kB / 379.1 MB, free: 344 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.0215, allocations: 227.6 kB / 379.3 MB, free: 68 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.02188, allocations: 365.6 kB / 379.7 MB, free: 15.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.02189, allocations: 0 / 379.7 MB, free: 15.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0005503/0.02244, allocations: 0.5547 MB / 380.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.02245, allocations: 4 kB / 380.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.02246, allocations: 4 kB / 380.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.02248, allocations: 4 kB / 380.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.02274, allocations: 136.1 kB / 380.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.02275, allocations: 7.938 kB / 380.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.02287, allocations: 47.62 kB / 380.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.0229, allocations: 28 kB / 380.4 MB, free: 14.87 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.000175/0.02307, allocations: 195.2 kB / 380.6 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.02318, allocations: 174.9 kB / 380.8 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005756/0.02376, allocations: 0.5235 MB / 381.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.02376, allocations: 7.984 kB / 381.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.02377, allocations: 4 kB / 381.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.02377, allocations: 0 / 381.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.02493, allocations: 1.323 MB / 382.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.02493, allocations: 0 / 382.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.02518, allocations: 111.8 kB / 382.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.02518, allocations: 0 / 382.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.02521, allocations: 19.98 kB / 382.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.02521, allocations: 0 / 382.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.02521, allocations: 4 kB / 382.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007191/0.02593, allocations: 0.7639 MB / 383.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-05/0.02602, allocations: 126.9 kB / 383.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.02607, allocations: 12 kB / 383.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.02617, allocations: 23.92 kB / 383.7 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.02624, allocations: 36.58 kB / 383.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.02626, allocations: 24 kB / 383.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005294/0.02679, allocations: 0.689 MB / 384.5 MB, free: 10.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02679, allocations: 0 / 384.5 MB, free: 10.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003393/0.02713, allocations: 207.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.0001618/0.02729, allocations: 119.2 kB / 384.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006365/0.02793, allocations: 342.7 kB / 385.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.02793, allocations: 4 kB / 385.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.02811, allocations: 184.7 kB / 385.3 MB, free: 9.906 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.02849, allocations: 89.2 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.002107/0.03059, allocations: 2.264 MB / 387.7 MB, free: 7.504 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.03081, allocations: 329.2 kB / 388 MB, free: 7.156 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001282/0.03093, allocations: 72.36 kB / 388.1 MB, free: 7.082 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.653e-05/0.03102, allocations: 48.5 kB / 388.1 MB, free: 7.031 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.03102, allocations: 3.938 kB / 388.1 MB, free: 7.027 MB / 362.7 MB Notification: Performance of Templates: time 0.008959/0.03998, allocations: 4.369 MB / 392.5 MB, free: 2.691 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.3968247449956834]