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.00181/0.00181, allocations: 93.47 kB / 19.44 MB, free: 336 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.002008/0.002008, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.548/1.548, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.1968/0.1968, allocations: 21.79 MB / 281.4 MB, free: 7.219 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 2.124e-06/2.124e-06, allocations: 0 / 358.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.882e-05, allocations: 10.25 kB / 358.1 MB, free: 5.379 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.005176/0.005205, allocations: 3.142 MB / 361.2 MB, free: 2.223 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.006809, allocations: 0.6623 MB / 361.9 MB, free: 1.559 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003423/0.007152, allocations: 23.88 kB / 361.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004193/0.007571, allocations: 166.3 kB / 362.1 MB, free: 1.371 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.007926, allocations: 122.8 kB / 362.2 MB, free: 1.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007557/0.008682, allocations: 363.4 kB / 362.6 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009675/0.009649, allocations: 0.8365 MB / 363.4 MB, free: 56 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007615/0.01041, allocations: 472.2 kB / 363.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005664/0.01098, allocations: 494.8 kB / 364.3 MB, free: 15.07 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004225/0.0114, allocations: 298.7 kB / 364.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.01155, allocations: 88 kB / 364.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.01178, allocations: 112 kB / 364.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004827/0.01226, allocations: 458.4 kB / 365.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003616/0.01262, allocations: 314.7 kB / 365.6 MB, free: 13.83 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.01411, allocations: 1.19 MB / 366.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.01412, allocations: 4 kB / 366.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.01412, allocations: 0 / 366.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.01413, allocations: 0 / 366.8 MB, free: 12.63 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.00268/0.01681, allocations: 1.906 MB / 368.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.01685, allocations: 8.031 kB / 368.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003609/0.01721, allocations: 283.6 kB / 369 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.01825, allocations: 0.7088 MB / 369.7 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-05/0.01833, allocations: 78.42 kB / 369.8 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.01847, allocations: 100.4 kB / 369.9 MB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.01999, allocations: 0.9149 MB / 370.8 MB, free: 8.469 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.02002, allocations: 4.125 kB / 370.8 MB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.046e-05/0.02009, allocations: 40.38 kB / 370.8 MB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.02012, allocations: 32.38 kB / 370.8 MB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.02117, allocations: 0.5113 MB / 371.4 MB, free: 7.887 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004728/0.0259, allocations: 3.526 MB / 374.9 MB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009635/0.02686, allocations: 496.8 kB / 375.4 MB, free: 3.762 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.02719, allocations: 177.6 kB / 375.5 MB, free: 3.586 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.49e-05/0.02727, allocations: 32.62 kB / 375.6 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/0.02732, allocations: 53.98 kB / 375.6 MB, free: 3.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 2.294e-06/0.02732, allocations: 0 / 375.6 MB, free: 3.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.001282/0.0286, allocations: 0.6923 MB / 376.3 MB, free: 2.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.02866, allocations: 56.06 kB / 376.4 MB, free: 2.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.0303, allocations: 1.306 MB / 377.7 MB, free: 1.391 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.03034, allocations: 33.7 kB / 377.7 MB, free: 1.352 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008321/0.03117, allocations: 0.8737 MB / 378.6 MB, free: 476 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/0.03141, allocations: 254.1 kB / 378.8 MB, free: 220 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.03163, allocations: 128 kB / 379 MB, free: 84 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003017/0.03193, allocations: 0.5121 MB / 379.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.03223, allocations: 153.2 kB / 379.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/0.03267, allocations: 287.7 kB / 379.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007924/0.03346, allocations: 497.5 kB / 380.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.03347, allocations: 4 kB / 380.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001126/0.0346, allocations: 0.6446 MB / 381 MB, free: 13.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.03461, allocations: 8 kB / 381 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.03463, allocations: 4 kB / 381 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.03465, allocations: 4 kB / 381 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.03514, allocations: 136.1 kB / 381.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.03515, allocations: 4 kB / 381.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.03542, allocations: 51.62 kB / 381.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.03546, allocations: 24 kB / 381.3 MB, free: 13.67 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.0003822/0.03584, allocations: 244.4 kB / 381.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.03605, allocations: 163 kB / 381.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.03722, allocations: 0.605 MB / 382.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.03723, allocations: 8 kB / 382.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.03723, allocations: 3.938 kB / 382.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.03724, allocations: 3.984 kB / 382.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/0.03964, allocations: 1.56 MB / 383.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.03965, allocations: 0 / 383.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004796/0.04013, allocations: 111.8 kB / 383.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.04013, allocations: 0 / 383.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.04017, allocations: 15.98 kB / 384 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.04018, allocations: 4 kB / 384 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.04018, allocations: 0 / 384 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.04159, allocations: 0.9391 MB / 384.9 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.04181, allocations: 126.9 kB / 385 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.12e-05/0.04189, allocations: 16 kB / 385 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.0421, allocations: 8 kB / 385.1 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.04219, allocations: 44.58 kB / 385.1 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.04222, allocations: 16 kB / 385.1 MB, free: 9.715 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001037/0.04326, allocations: 0.738 MB / 385.8 MB, free: 8.977 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04326, allocations: 0 / 385.8 MB, free: 8.977 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005986/0.04386, allocations: 207.2 kB / 386.1 MB, free: 8.773 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.0002162/0.04407, allocations: 119.1 kB / 386.2 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008392/0.04491, allocations: 447 kB / 386.6 MB, free: 8.207 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.04491, allocations: 4.062 kB / 386.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003778/0.04529, allocations: 240.6 kB / 386.8 MB, free: 7.965 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005867/0.04588, allocations: 94.94 kB / 386.9 MB, free: 7.879 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.04943, allocations: 2.272 MB / 389.2 MB, free: 5.555 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008203/0.05025, allocations: 0.6655 MB / 389.9 MB, free: 4.852 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002419/0.0505, allocations: 76.36 kB / 389.9 MB, free: 4.773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.05062, allocations: 44.5 kB / 390 MB, free: 4.727 MB / 362.7 MB Notification: Performance of SimCode: time 1.393e-06/0.05062, allocations: 0 / 390 MB, free: 4.727 MB / 362.7 MB Notification: Performance of Templates: time 0.0125/0.06312, allocations: 4.174 MB / 394.2 MB, free: 0.5859 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: 4.833011980983429]