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.001089/0.001089, 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.001063/0.001063, 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.05/1.05, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.1495/0.1495, 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_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.843e-06/1.843e-06, allocations: 0 / 358.8 MB, free: 4.906 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.805e-05, allocations: 10.25 kB / 358.8 MB, free: 4.895 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.007359/0.007387, allocations: 3.176 MB / 362 MB, free: 1.703 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004447/0.01183, allocations: 0.6701 MB / 362.7 MB, free: 1.031 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003377/0.01217, allocations: 15.94 kB / 362.7 MB, free: 1.016 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.01256, allocations: 166.3 kB / 362.8 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.01285, allocations: 122.8 kB / 363 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007083/0.01356, allocations: 355.5 kB / 363.3 MB, free: 392 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003794/0.01735, allocations: 0.8443 MB / 364.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006574/0.01801, allocations: 472.2 kB / 364.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/0.01842, allocations: 490.8 kB / 365.1 MB, free: 14.56 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.01868, allocations: 302.7 kB / 365.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.0188, allocations: 84 kB / 365.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.01899, allocations: 119.9 kB / 365.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003587/0.01935, allocations: 454.3 kB / 366 MB, free: 13.62 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.01962, allocations: 318.7 kB / 366.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009688/0.02059, allocations: 0.8824 MB / 367.2 MB, free: 12.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.02059, allocations: 0 / 367.2 MB, free: 12.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.02059, allocations: 0 / 367.2 MB, free: 12.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.0206, allocations: 4 kB / 367.2 MB, free: 12.41 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.001882/0.02248, allocations: 1.828 MB / 369.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.02253, allocations: 12.03 kB / 369.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.02274, allocations: 275.7 kB / 369.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006251/0.02336, allocations: 0.7049 MB / 370 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.046e-05/0.02341, allocations: 82.36 kB / 370.1 MB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.149e-05/0.0235, allocations: 100.4 kB / 370.2 MB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007911/0.0243, allocations: 0.7586 MB / 371 MB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.02431, allocations: 192 / 371 MB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.724e-05/0.02436, allocations: 40.38 kB / 371 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.02438, allocations: 24.38 kB / 371 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000489/0.02487, allocations: 367.5 kB / 371.4 MB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.02748, allocations: 3.291 MB / 374.7 MB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005631/0.02804, allocations: 360.9 kB / 375.1 MB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.0282, allocations: 125.6 kB / 375.2 MB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.814e-05/0.02828, allocations: 28.64 kB / 375.2 MB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.02831, allocations: 45.98 kB / 375.2 MB, free: 4.109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 1.804e-06/0.02831, allocations: 0 / 375.2 MB, free: 4.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.0006867/0.029, allocations: 0.5595 MB / 375.8 MB, free: 3.543 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.02904, allocations: 60.06 kB / 375.9 MB, free: 3.473 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008321/0.02987, allocations: 1.126 MB / 377 MB, free: 2.316 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.02989, allocations: 37.7 kB / 377 MB, free: 2.273 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004528/0.03035, allocations: 0.8154 MB / 377.8 MB, free: 1.445 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.03047, allocations: 241.9 kB / 378.1 MB, free: 1.207 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.03059, allocations: 116 kB / 378.2 MB, free: 1.086 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.03073, allocations: 0.4965 MB / 378.7 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.03088, allocations: 89.25 kB / 378.8 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.03109, allocations: 227.7 kB / 379 MB, free: 228 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.03148, allocations: 357.5 kB / 379.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.03148, allocations: 0 / 379.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0005576/0.03204, allocations: 0.5432 MB / 379.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.03205, allocations: 4 kB / 379.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.03206, allocations: 4 kB / 379.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.03209, allocations: 11.98 kB / 379.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.03234, allocations: 127.8 kB / 380 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.03235, allocations: 4 kB / 380 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.03246, allocations: 47.62 kB / 380.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.03248, allocations: 20 kB / 380.1 MB, free: 15.06 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.0001804/0.03266, allocations: 211.2 kB / 380.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.03277, allocations: 171.1 kB / 380.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005717/0.03335, allocations: 0.5152 MB / 381 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.03335, allocations: 4 kB / 381 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.03336, allocations: 0 / 381 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.03336, allocations: 7.984 kB / 381 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.0345, allocations: 1.287 MB / 382.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.03451, allocations: 0 / 382.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.03475, allocations: 107.9 kB / 382.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.03475, allocations: 0 / 382.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.03478, allocations: 19.94 kB / 382.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.03478, allocations: 0 / 382.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.03478, allocations: 4 kB / 382.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006981/0.03548, allocations: 0.7595 MB / 383.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.641e-05/0.03557, allocations: 126.9 kB / 383.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.03561, allocations: 12.06 kB / 383.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.461e-05/0.03571, allocations: 12 kB / 383.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.03576, allocations: 40.58 kB / 383.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.03578, allocations: 20 kB / 383.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005002/0.03628, allocations: 0.6598 MB / 384 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03628, allocations: 0 / 384 MB, free: 11.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003225/0.0366, allocations: 211.2 kB / 384.3 MB, free: 10.82 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.0001757/0.03678, allocations: 119.1 kB / 384.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000414/0.03719, allocations: 326.4 kB / 384.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.03719, allocations: 0 / 384.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.03738, allocations: 196.6 kB / 384.9 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.03776, allocations: 89.03 kB / 385 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.03979, allocations: 2.186 MB / 387.2 MB, free: 7.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.04003, allocations: 317.2 kB / 387.5 MB, free: 7.512 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.04016, allocations: 72.36 kB / 387.5 MB, free: 7.438 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.113e-05/0.04025, allocations: 48.48 kB / 387.6 MB, free: 7.387 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.04025, allocations: 0 / 387.6 MB, free: 7.387 MB / 362.7 MB Notification: Performance of Templates: time 0.008979/0.04923, allocations: 4.295 MB / 391.9 MB, free: 3.129 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.5647999341599643]