Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.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.0006593/0.0006593, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009522/0.001612, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006761/0.0006761, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008704/0.001546, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8719/0.8719, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08425/0.9561, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1133/0.1133, allocations: 21.79 MB / 265.9 MB, free: 8.91 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01236/0.1257, allocations: 7.859 MB / 273.8 MB, free: 1.031 MB / 266.7 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-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_5,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_5,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 275.1 MB, free: 1.418 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.363e-05, allocations: 2.312 kB / 275.2 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_5): time 0.002718/0.002741, allocations: 2.849 MB / 278 MB, free: 8 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.004096, allocations: 0.5945 MB / 278.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.004352, allocations: 11.53 kB / 278.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.004597, allocations: 144.7 kB / 278.7 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.004835, allocations: 133 kB / 278.9 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.005303, allocations: 279.8 kB / 279.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006172/0.00592, allocations: 0.7077 MB / 279.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004268/0.006347, allocations: 367.5 kB / 280.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004943/0.006841, allocations: 0.5318 MB / 280.7 MB, free: 14.47 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.007128, allocations: 287.5 kB / 281 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.00724, allocations: 75.31 kB / 281.1 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.007432, allocations: 103.9 kB / 281.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.007696, allocations: 388.1 kB / 281.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.007869, allocations: 249.3 kB / 281.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006967/0.008566, allocations: 0.7843 MB / 282.6 MB, free: 13.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.008576, allocations: 0 / 282.6 MB, free: 13.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.008577, allocations: 0 / 282.6 MB, free: 13.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.79e-05/0.008615, allocations: 1.5 kB / 282.6 MB, free: 13.82 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001885/0.0105, allocations: 1.898 MB / 284.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.01053, allocations: 9.938 kB / 284.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.01075, allocations: 183.5 kB / 284.7 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004573/0.01121, allocations: 0.5659 MB / 285.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.564e-05/0.01126, allocations: 70.34 kB / 285.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.161e-05/0.01134, allocations: 96.86 kB / 285.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006783/0.01202, allocations: 0.5574 MB / 286 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.01204, allocations: 192 / 286 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.01208, allocations: 40.25 kB / 286 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-05/0.01214, allocations: 52.45 kB / 286.1 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004791/0.01262, allocations: 287.8 kB / 286.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.01471, allocations: 1.488 MB / 287.8 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.01507, allocations: 301.4 kB / 288.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.01518, allocations: 97 kB / 288.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.509e-05/0.01525, allocations: 33.48 kB / 288.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.01527, allocations: 37.66 kB / 288.3 MB, free: 10.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=66): time 1.784e-06/0.01527, allocations: 1.375 kB / 288.3 MB, free: 10.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=66): time 0.0004459/0.01572, allocations: 366 kB / 288.7 MB, free: 10.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.01575, allocations: 59.91 kB / 288.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000685/0.01643, allocations: 0.958 MB / 289.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.01647, allocations: 36.83 kB / 289.7 MB, free: 10.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.0167, allocations: 0.5408 MB / 290.3 MB, free: 9.816 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.01681, allocations: 239.8 kB / 290.5 MB, free: 9.605 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.01692, allocations: 135.3 kB / 290.6 MB, free: 9.516 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.934e-05/0.017, allocations: 340.9 kB / 291 MB, free: 9.184 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.408e-05/0.01709, allocations: 68.67 kB / 291 MB, free: 9.168 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.01726, allocations: 263.4 kB / 291.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/0.01772, allocations: 0.5142 MB / 291.8 MB, free: 8.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.01773, allocations: 2.375 kB / 291.8 MB, free: 8.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004402/0.01817, allocations: 436.4 kB / 292.2 MB, free: 8.254 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.01819, allocations: 8 kB / 292.2 MB, free: 8.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01819, allocations: 4 kB / 292.2 MB, free: 8.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.01821, allocations: 8.75 kB / 292.2 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.01853, allocations: 198.3 kB / 292.4 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.01854, allocations: 14.88 kB / 292.5 MB, free: 8.031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.01869, allocations: 71.52 kB / 292.5 MB, free: 7.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.01872, allocations: 27.94 kB / 292.5 MB, free: 7.934 MB / 282.7 MB Warning: Assuming fixed start value for the following 6 variables: years:VARIABLE(start = 1900.0 fixed = true ) \"Time in calendar years\" type: Real Population.level:VARIABLE(start = Population.x0 fixed = true ) \"Reversible state variable\" type: Real Natural_Resources.level:VARIABLE(start = Natural_Resources.x0 fixed = true ) \"Reversible state variable\" type: Real Capital_Investment.level:VARIABLE(start = Capital_Investment.x0 fixed = true ) \"Reversible state variable\" type: Real Pollution.level:VARIABLE(start = Pollution.x0 fixed = true ) \"Reversible state variable\" type: Real CIAF.level:VARIABLE(start = CIAF.x0 fixed = true ) \"Reversible state variable\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 96 * 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.0002314/0.01895, allocations: 175 kB / 292.7 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.09e-05/0.01903, allocations: 95.89 kB / 292.8 MB, free: 7.664 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000556/0.01959, allocations: 429.8 kB / 293.2 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.01959, allocations: 4 kB / 293.2 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.0196, allocations: 4 kB / 293.2 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.0196, allocations: 3.984 kB / 293.2 MB, free: 7.223 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008498/0.02045, allocations: 0.8995 MB / 294.1 MB, free: 6.297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.02046, allocations: 0 / 294.1 MB, free: 6.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.02072, allocations: 132.5 kB / 294.3 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/0.0208, allocations: 122.9 kB / 294.4 MB, free: 6.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.0208, allocations: 4 kB / 294.4 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.02083, allocations: 16 kB / 294.4 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.02083, allocations: 7.938 kB / 294.4 MB, free: 6.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.02083, allocations: 3.938 kB / 294.4 MB, free: 6.016 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004405/0.02127, allocations: 0.562 MB / 295 MB, free: 5.434 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.02132, allocations: 12 kB / 295 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.02142, allocations: 19.98 kB / 295 MB, free: 5.402 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.02149, allocations: 47.33 kB / 295.1 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.02151, allocations: 16 kB / 295.1 MB, free: 5.344 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003169/0.02183, allocations: 499.8 kB / 295.6 MB, free: 4.852 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02183, allocations: 0 / 295.6 MB, free: 4.852 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000328/0.02215, allocations: 215.2 kB / 295.8 MB, free: 4.641 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (years,Population.level,Natural_Resources.level,Capital_Investment.level,Pollution.level,CIAF.level) * 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.000122/0.02228, allocations: 100.3 kB / 295.9 MB, free: 4.531 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003002/0.02258, allocations: 326.8 kB / 296.2 MB, free: 4.211 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/0.02259, allocations: 20.19 kB / 296.2 MB, free: 4.191 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.02277, allocations: 211.1 kB / 296.4 MB, free: 3.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.02307, allocations: 117.1 kB / 296.5 MB, free: 3.863 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.02555, allocations: 2.347 MB / 298.9 MB, free: 1.469 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.02576, allocations: 341.2 kB / 299.2 MB, free: 1.113 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.02592, allocations: 80.44 kB / 299.3 MB, free: 1.035 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.02605, allocations: 123.4 kB / 299.4 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02605, allocations: 0 / 299.4 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of Templates: time 0.008758/0.03481, allocations: 4.899 MB / 304.3 MB, free: 12.06 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5785997547209263]