Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.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.001121/0.001121, allocations: 92.22 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.001769/0.001769, allocations: 169 kB / 23.02 MB, free: 1.555 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.037/1.037, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.1554/0.1554, allocations: 21.8 MB / 281.7 MB, free: 7.18 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_6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 358.8 MB, free: 5.043 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.561e-05, allocations: 6.25 kB / 358.8 MB, free: 5.035 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_6): time 0.004287/0.004313, allocations: 3.223 MB / 362.1 MB, free: 1.797 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.005514, allocations: 0.7673 MB / 362.8 MB, free: 1.027 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002889/0.005803, allocations: 15.94 kB / 362.8 MB, free: 1.012 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.006149, allocations: 178.3 kB / 363 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.00637, allocations: 138.8 kB / 363.1 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.007002, allocations: 375.4 kB / 363.5 MB, free: 340 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006245/0.007627, allocations: 0.864 MB / 364.4 MB, free: 15.46 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005102/0.008137, allocations: 476.2 kB / 364.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003309/0.008468, allocations: 0.4949 MB / 365.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.008715, allocations: 314.6 kB / 365.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.464e-05/0.00881, allocations: 84 kB / 365.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.008966, allocations: 112 kB / 365.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.009246, allocations: 466.3 kB / 366.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.009444, allocations: 330.6 kB / 366.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007258/0.01017, allocations: 0.9174 MB / 367.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.01017, allocations: 4 kB / 367.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.01017, allocations: 0 / 367.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.01018, allocations: 0 / 367.5 MB, free: 12.26 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.001615/0.0118, allocations: 1.895 MB / 369.4 MB, free: 10.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.01185, allocations: 12.03 kB / 369.4 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.01208, allocations: 299.5 kB / 369.7 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006413/0.01272, allocations: 0.7293 MB / 370.5 MB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.803e-05/0.01277, allocations: 82.47 kB / 370.5 MB, free: 9.156 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.698e-05/0.01286, allocations: 100.4 kB / 370.6 MB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008483/0.01371, allocations: 0.7794 MB / 371.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.01373, allocations: 4.125 kB / 371.4 MB, free: 8.191 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.785e-05/0.01377, allocations: 48.38 kB / 371.5 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.01379, allocations: 24.38 kB / 371.5 MB, free: 8.121 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000499/0.01429, allocations: 375.6 kB / 371.9 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.01694, allocations: 3.344 MB / 375.2 MB, free: 4.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005756/0.01752, allocations: 392.9 kB / 375.6 MB, free: 3.898 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.01769, allocations: 137.6 kB / 375.7 MB, free: 3.762 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.971e-05/0.01776, allocations: 32.58 kB / 375.8 MB, free: 3.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.01804, allocations: 222.1 kB / 376 MB, free: 3.496 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 2.014e-06/0.01804, allocations: 0 / 376 MB, free: 3.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.0007584/0.0188, allocations: 0.6182 MB / 376.6 MB, free: 2.875 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.01884, allocations: 60.06 kB / 376.6 MB, free: 2.801 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008756/0.01972, allocations: 1.182 MB / 377.8 MB, free: 1.594 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.01975, allocations: 37.7 kB / 377.9 MB, free: 1.551 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004782/0.02023, allocations: 0.8471 MB / 378.7 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.02036, allocations: 257.8 kB / 379 MB, free: 448 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.02048, allocations: 124.3 kB / 379.1 MB, free: 316 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.02063, allocations: 0.4965 MB / 379.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.02079, allocations: 101.9 kB / 379.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.02102, allocations: 262.3 kB / 379.9 MB, free: 15.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/0.02153, allocations: 408.8 kB / 380.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.02154, allocations: 0 / 380.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001087/0.02262, allocations: 0.59 MB / 380.9 MB, free: 14.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.02264, allocations: 8 kB / 380.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.02265, allocations: 0 / 380.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.02267, allocations: 11.98 kB / 380.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.02295, allocations: 135.8 kB / 381.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.02296, allocations: 8 kB / 381.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.02309, allocations: 55.61 kB / 381.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.02311, allocations: 24 kB / 381.2 MB, free: 14.11 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: min_QL:DISCRETE(start = 1.0 fixed = true ) \"Minimum quality of life\" type: Real min_dPop:DISCRETE(unit = \"1/yr\" fixed = true ) \"Minimal derivative of population\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.min_QL,$PRE.min_dPop,min_QL,min_dPop,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 (89): * Single equations (assignments): 89 * 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.0002286/0.02334, allocations: 208.5 kB / 381.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.02345, allocations: 174.9 kB / 381.5 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000631/0.02408, allocations: 0.5628 MB / 382.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.02409, allocations: 8 kB / 382.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.0241, allocations: 0 / 382.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.0241, allocations: 3.984 kB / 382.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.02532, allocations: 1.374 MB / 383.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.02532, allocations: 0 / 383.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.02558, allocations: 111.9 kB / 383.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.02558, allocations: 4 kB / 383.6 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.02561, allocations: 20 kB / 383.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.02562, allocations: 4 kB / 383.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.02562, allocations: 0 / 383.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000754/0.02637, allocations: 0.8147 MB / 384.4 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.02654, allocations: 186.8 kB / 384.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/0.02659, allocations: 8 kB / 384.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.02669, allocations: 12 kB / 384.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/0.02676, allocations: 48.56 kB / 384.7 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.02679, allocations: 20 kB / 384.7 MB, free: 10.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000532/0.02732, allocations: 0.6892 MB / 385.4 MB, free: 9.781 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.02732, allocations: 0 / 385.4 MB, free: 9.781 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000333/0.02765, allocations: 215.2 kB / 385.6 MB, free: 9.57 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: 3 ($whenCondition1,min_dPop,min_QL) * Number of discrete states: 2 (min_dPop,min_QL) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001657/0.02782, allocations: 131 kB / 385.7 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004427/0.02826, allocations: 363 kB / 386.1 MB, free: 9.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.02826, allocations: 0.6875 kB / 386.1 MB, free: 9.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.02847, allocations: 204.6 kB / 386.3 MB, free: 8.871 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.02885, allocations: 96.58 kB / 386.4 MB, free: 8.777 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.03103, allocations: 2.299 MB / 388.7 MB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.03128, allocations: 329.2 kB / 389 MB, free: 6.086 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.03141, allocations: 76.59 kB / 389.1 MB, free: 6.012 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.339e-05/0.03151, allocations: 52.48 kB / 389.1 MB, free: 5.957 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.03151, allocations: 0 / 389.1 MB, free: 5.957 MB / 362.7 MB Notification: Performance of Templates: time 0.009055/0.04056, allocations: 4.558 MB / 393.7 MB, free: 1.434 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6 -abortSlowSimulation -alarm=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3265838981606066]