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.001255/0.001255, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009333/0.0009333, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.8648/0.8648, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.1123/0.1123, allocations: 21.81 MB / 282.1 MB, free: 7.074 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.603e-06/1.603e-06, allocations: 0 / 306 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.669e-05, allocations: 7.938 kB / 306 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.004807/0.004834, allocations: 3.103 MB / 309.1 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.006915, allocations: 0.7231 MB / 309.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004429/0.007358, allocations: 15.94 kB / 309.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004457/0.007803, allocations: 170.3 kB / 310 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.008154, allocations: 126.8 kB / 310.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007782/0.008932, allocations: 355.5 kB / 310.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008859/0.009818, allocations: 0.8481 MB / 311.3 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006892/0.01051, allocations: 488.1 kB / 311.8 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004861/0.01099, allocations: 494.8 kB / 312.3 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003201/0.01131, allocations: 302.7 kB / 312.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.01145, allocations: 88 kB / 312.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.01164, allocations: 108 kB / 312.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003515/0.01199, allocations: 458.4 kB / 313.2 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.01228, allocations: 322.7 kB / 313.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009606/0.01324, allocations: 0.8824 MB / 314.4 MB, free: 1.574 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.01325, allocations: 0 / 314.4 MB, free: 1.574 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01325, allocations: 0 / 314.4 MB, free: 1.574 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.245e-05/0.01327, allocations: 4 kB / 314.4 MB, free: 1.57 MB / 282.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.001869/0.01514, allocations: 1.675 MB / 316.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.01518, allocations: 12.03 kB / 316.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.01541, allocations: 192.8 kB / 316.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007284/0.01614, allocations: 0.6125 MB / 316.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.807e-05/0.01621, allocations: 74.42 kB / 317 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.01632, allocations: 100.4 kB / 317.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008722/0.0172, allocations: 0.6839 MB / 317.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.01722, allocations: 4.188 kB / 317.8 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.609e-05/0.01728, allocations: 40.38 kB / 317.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.0173, allocations: 32.12 kB / 317.9 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004559/0.01776, allocations: 252.5 kB / 318.1 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/0.02062, allocations: 2.23 MB / 320.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/0.02119, allocations: 341.6 kB / 320.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.02134, allocations: 90.78 kB / 320.7 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-05/0.02142, allocations: 32.62 kB / 320.8 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.02145, allocations: 39.22 kB / 320.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 3.136e-06/0.02145, allocations: 0 / 320.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.0006003/0.02205, allocations: 366.4 kB / 321.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.0221, allocations: 56.06 kB / 321.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008402/0.02294, allocations: 0.9407 MB / 322.2 MB, free: 9.562 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.02297, allocations: 41.7 kB / 322.2 MB, free: 9.516 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.02327, allocations: 0.4897 MB / 322.7 MB, free: 9.016 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.02343, allocations: 245.8 kB / 322.9 MB, free: 8.773 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.02357, allocations: 106.3 kB / 323 MB, free: 8.664 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.02367, allocations: 337.9 kB / 323.4 MB, free: 8.328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.02379, allocations: 60.11 kB / 323.4 MB, free: 8.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.02397, allocations: 160.5 kB / 323.6 MB, free: 8.078 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.02433, allocations: 289 kB / 323.9 MB, free: 7.762 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.02434, allocations: 0 / 323.9 MB, free: 7.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0005123/0.02485, allocations: 356.1 kB / 324.2 MB, free: 7.406 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.02487, allocations: 11.94 kB / 324.2 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.02488, allocations: 0 / 324.2 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.02489, allocations: 8 kB / 324.2 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.02527, allocations: 119.8 kB / 324.4 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.02528, allocations: 11.98 kB / 324.4 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.02547, allocations: 51.62 kB / 324.4 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.0255, allocations: 16 kB / 324.4 MB, free: 7.191 MB / 298.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 (Population.Integrator1.local_reset,Natural_Resources.Integrator1.local_reset,Capital_Investment.Integrator1.local_reset,Pollution.Integrator1.local_reset,CIAF.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.0002197/0.02572, allocations: 151.4 kB / 324.6 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.02584, allocations: 87.91 kB / 324.7 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006065/0.02645, allocations: 419.6 kB / 325.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.02645, allocations: 8 kB / 325.1 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.02646, allocations: 0 / 325.1 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.02646, allocations: 0 / 325.1 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.02762, allocations: 0.8879 MB / 326 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.02763, allocations: 0 / 326 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.02799, allocations: 103.8 kB / 326.1 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.028, allocations: 11.92 kB / 326.1 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.02803, allocations: 8 kB / 326.1 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.02804, allocations: 4 kB / 326.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.02804, allocations: 0 / 326.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006616/0.0287, allocations: 0.558 MB / 326.7 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.02882, allocations: 126.9 kB / 326.8 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/0.0289, allocations: 23.92 kB / 326.8 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.02907, allocations: 8 kB / 326.8 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.02913, allocations: 40.58 kB / 326.9 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.02915, allocations: 8 kB / 326.9 MB, free: 4.695 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005087/0.02966, allocations: 483.7 kB / 327.3 MB, free: 4.219 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.02966, allocations: 0 / 327.3 MB, free: 4.219 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005017/0.03016, allocations: 203.2 kB / 327.5 MB, free: 4.02 MB / 298.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.0001776/0.03034, allocations: 118.2 kB / 327.6 MB, free: 3.898 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000412/0.03075, allocations: 259.6 kB / 327.9 MB, free: 3.641 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/0.03077, allocations: 12 kB / 327.9 MB, free: 3.629 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.03097, allocations: 161.8 kB / 328.1 MB, free: 3.469 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.03143, allocations: 85.66 kB / 328.2 MB, free: 3.391 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.0342, allocations: 2.164 MB / 330.3 MB, free: 1.184 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.0345, allocations: 321.1 kB / 330.6 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002192/0.03472, allocations: 76.42 kB / 330.7 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.03491, allocations: 111.4 kB / 330.8 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.03491, allocations: 0 / 330.8 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of Templates: time 0.0126/0.04751, allocations: 4.693 MB / 335.5 MB, free: 12.03 MB / 314.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: 2.6938286162912846]