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.0008268/0.0008268, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001198/0.002025, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007863/0.0007863, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009532/0.00174, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9407/0.9407, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08658/1.027, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.1153/0.1153, allocations: 21.81 MB / 265.8 MB, free: 8.98 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01177/0.1271, allocations: 7.843 MB / 273.6 MB, free: 1.121 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.083e-06/2.083e-06, allocations: 0 / 274.9 MB, free: 1.402 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.357e-05, allocations: 5.406 kB / 275 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_5): time 0.003995/0.004018, allocations: 2.847 MB / 277.8 MB, free: 112 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.006471, allocations: 0.5851 MB / 278.4 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009321/0.007403, allocations: 13.75 kB / 278.4 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005653/0.007968, allocations: 141.4 kB / 278.5 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008673/0.008836, allocations: 133.2 kB / 278.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.01001, allocations: 288.7 kB / 279 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00149/0.01151, allocations: 0.7068 MB / 279.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007938/0.0123, allocations: 363.4 kB / 280 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008924/0.01319, allocations: 0.533 MB / 280.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005272/0.01372, allocations: 279.5 kB / 280.8 MB, free: 14.47 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.01394, allocations: 75.19 kB / 280.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.01426, allocations: 116.1 kB / 281 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004023/0.01466, allocations: 388 kB / 281.4 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003093/0.01497, allocations: 253.8 kB / 281.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.01615, allocations: 0.7818 MB / 282.4 MB, free: 13.92 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.32e-05/0.01617, allocations: 1.219 kB / 282.4 MB, free: 13.92 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.01617, allocations: 0.5156 kB / 282.4 MB, free: 13.92 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.264e-05/0.01626, allocations: 0 / 282.4 MB, free: 13.92 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.003005/0.01926, allocations: 1.903 MB / 284.3 MB, free: 12.76 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.0193, allocations: 9.922 kB / 284.3 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000329/0.01963, allocations: 183.5 kB / 284.5 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006854/0.02031, allocations: 0.5573 MB / 285.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.01e-05/0.02039, allocations: 74.72 kB / 285.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.02051, allocations: 97 kB / 285.2 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.02151, allocations: 0.5609 MB / 285.8 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.02154, allocations: 0.75 kB / 285.8 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.972e-05/0.02159, allocations: 40.88 kB / 285.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.62e-05/0.02166, allocations: 54.88 kB / 285.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004991/0.02216, allocations: 283.4 kB / 286.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003067/0.02523, allocations: 1.481 MB / 287.6 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.02571, allocations: 298.8 kB / 287.9 MB, free: 11.13 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.02585, allocations: 95.94 kB / 288 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.919e-05/0.02594, allocations: 36.61 kB / 288.1 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.02597, allocations: 38.81 kB / 288.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of pre-optimization done (n=66): time 4.017e-06/0.02598, allocations: 0 / 288.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=66): time 0.0006106/0.02659, allocations: 373.6 kB / 288.5 MB, free: 11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.02663, allocations: 60.09 kB / 288.5 MB, free: 10.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.02781, allocations: 0.9503 MB / 289.5 MB, free: 10.44 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/0.02786, allocations: 39.86 kB / 289.5 MB, free: 10.4 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.02822, allocations: 0.5406 MB / 290.1 MB, free: 9.945 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.02841, allocations: 240.1 kB / 290.3 MB, free: 9.734 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.02856, allocations: 139.7 kB / 290.4 MB, free: 9.641 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.02867, allocations: 344.2 kB / 290.8 MB, free: 9.305 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.02883, allocations: 69.67 kB / 290.8 MB, free: 9.289 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.02906, allocations: 265.6 kB / 291.1 MB, free: 9.039 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006233/0.02968, allocations: 497.9 kB / 291.6 MB, free: 8.699 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.02969, allocations: 2.719 kB / 291.6 MB, free: 8.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006468/0.03034, allocations: 434.7 kB / 292 MB, free: 8.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.03036, allocations: 8 kB / 292 MB, free: 8.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.03037, allocations: 4 kB / 292 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.03039, allocations: 12.75 kB / 292 MB, free: 8.406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.03089, allocations: 194.6 kB / 292.2 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.03091, allocations: 22.83 kB / 292.2 MB, free: 8.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.03118, allocations: 71.5 kB / 292.3 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.03123, allocations: 27.94 kB / 292.3 MB, free: 8.102 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.0004671/0.0317, allocations: 175.8 kB / 292.5 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.03182, allocations: 91.91 kB / 292.6 MB, free: 7.832 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006488/0.03247, allocations: 426.5 kB / 293 MB, free: 7.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.03248, allocations: 11.98 kB / 293 MB, free: 7.398 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.03248, allocations: 0 / 293 MB, free: 7.398 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.03249, allocations: 0 / 293 MB, free: 7.398 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.03381, allocations: 0.8956 MB / 293.9 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.03382, allocations: 0 / 293.9 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/0.03424, allocations: 131.8 kB / 294.1 MB, free: 6.348 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.03438, allocations: 122.9 kB / 294.2 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.03438, allocations: 5.125 kB / 294.2 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/0.03442, allocations: 16 kB / 294.2 MB, free: 6.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.03443, allocations: 4 kB / 294.2 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.03443, allocations: 3.938 kB / 294.2 MB, free: 6.199 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/0.03507, allocations: 0.5698 MB / 294.8 MB, free: 5.605 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.478e-05/0.03515, allocations: 8 kB / 294.8 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.03533, allocations: 19.98 kB / 294.8 MB, free: 5.578 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.501e-05/0.03542, allocations: 48.52 kB / 294.8 MB, free: 5.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.03545, allocations: 15.98 kB / 294.9 MB, free: 5.516 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005561/0.036, allocations: 491.9 kB / 295.3 MB, free: 5.031 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.036, allocations: 4 kB / 295.3 MB, free: 5.027 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005566/0.03656, allocations: 219.2 kB / 295.6 MB, free: 4.812 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.0001838/0.03674, allocations: 96.83 kB / 295.7 MB, free: 4.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004965/0.03724, allocations: 321.6 kB / 296 MB, free: 4.391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-05/0.03727, allocations: 16 kB / 296 MB, free: 4.375 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.03747, allocations: 173.8 kB / 296.2 MB, free: 4.203 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.03788, allocations: 105.1 kB / 296.3 MB, free: 4.098 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003524/0.04141, allocations: 2.33 MB / 298.6 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.04162, allocations: 337.2 kB / 298.9 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002137/0.04183, allocations: 84.44 kB / 299 MB, free: 1.285 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.04196, allocations: 119.4 kB / 299.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of SimCode: time 1.573e-06/0.04196, allocations: 0 / 299.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of Templates: time 0.009008/0.05097, allocations: 5.112 MB / 304.2 MB, free: 12.11 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.732015762478113]