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.0009951/0.0009951, allocations: 93.06 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.0009031/0.0009031, allocations: 169.3 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.167/1.167, 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.1808/0.1808, allocations: 21.8 MB / 281.7 MB, free: 7.176 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_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.856e-06/2.856e-06, allocations: 0 / 358.8 MB, free: 5.031 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.976e-05/4.262e-05, allocations: 6.25 kB / 358.8 MB, free: 5.023 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_5): time 0.003769/0.003811, allocations: 2.842 MB / 361.7 MB, free: 2.168 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.005198, allocations: 0.5337 MB / 362.2 MB, free: 1.633 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002629/0.005461, allocations: 12 kB / 362.2 MB, free: 1.621 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.005725, allocations: 146.6 kB / 362.4 MB, free: 1.477 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.005962, allocations: 130.9 kB / 362.5 MB, free: 1.348 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005778/0.00654, allocations: 287.5 kB / 362.8 MB, free: 1.066 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004767/0.007017, allocations: 0.7315 MB / 363.5 MB, free: 340 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004321/0.007449, allocations: 353.6 kB / 363.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.007726, allocations: 458.9 kB / 364.3 MB, free: 15.52 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.007926, allocations: 274.9 kB / 364.6 MB, free: 15.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.159e-05/0.008007, allocations: 80 kB / 364.6 MB, free: 15.17 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.008171, allocations: 103.9 kB / 364.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.00844, allocations: 450.4 kB / 365.2 MB, free: 14.62 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.008617, allocations: 306.7 kB / 365.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000701/0.009318, allocations: 0.859 MB / 366.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.009323, allocations: 0 / 366.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.009324, allocations: 0 / 366.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.009334, allocations: 0 / 366.3 MB, free: 13.46 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001471/0.01081, allocations: 1.793 MB / 368.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.01085, allocations: 8.031 kB / 368.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.01106, allocations: 283.6 kB / 368.4 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.01141, allocations: 0.5249 MB / 368.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.487e-05/0.01148, allocations: 74.38 kB / 369 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.505e-05/0.01156, allocations: 96.38 kB / 369.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007556/0.01232, allocations: 0.6068 MB / 369.7 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.01234, allocations: 192 / 369.7 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.343e-05/0.01238, allocations: 48.31 kB / 369.8 MB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.475e-05/0.01245, allocations: 54.5 kB / 369.8 MB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005369/0.01299, allocations: 400.5 kB / 370.2 MB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/0.0153, allocations: 2.064 MB / 372.3 MB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005213/0.01582, allocations: 329.1 kB / 372.6 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.01599, allocations: 129.6 kB / 372.7 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.667e-05/0.01606, allocations: 36.62 kB / 372.8 MB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.0161, allocations: 46.05 kB / 372.8 MB, free: 6.789 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 2.986e-06/0.0161, allocations: 0 / 372.8 MB, free: 6.789 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.000744/0.01684, allocations: 0.579 MB / 373.4 MB, free: 6.203 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.01689, allocations: 64.05 kB / 373.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008608/0.01775, allocations: 1.15 MB / 374.6 MB, free: 4.949 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.01778, allocations: 37.7 kB / 374.6 MB, free: 4.906 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000477/0.01825, allocations: 0.8535 MB / 375.5 MB, free: 4.039 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.01839, allocations: 238.1 kB / 375.7 MB, free: 3.805 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.01852, allocations: 136.3 kB / 375.8 MB, free: 3.664 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.01867, allocations: 0.5043 MB / 376.4 MB, free: 3.152 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.01884, allocations: 101.9 kB / 376.5 MB, free: 3.051 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.01914, allocations: 378.6 kB / 376.8 MB, free: 2.578 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006369/0.01977, allocations: 0.6257 MB / 377.4 MB, free: 1.848 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.01978, allocations: 0 / 377.4 MB, free: 1.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007219/0.0205, allocations: 0.6446 MB / 378.1 MB, free: 1.195 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.02053, allocations: 8 kB / 378.1 MB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.02054, allocations: 4 kB / 378.1 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/0.02057, allocations: 8 kB / 378.1 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.02093, allocations: 175.7 kB / 378.3 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/0.02095, allocations: 15.88 kB / 378.3 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.02112, allocations: 79.94 kB / 378.4 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.02116, allocations: 32 kB / 378.4 MB, free: 0.8789 MB / 346.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.0003189/0.02148, allocations: 226.2 kB / 378.6 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.02161, allocations: 159.1 kB / 378.8 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006543/0.02226, allocations: 0.5426 MB / 379.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.02227, allocations: 8 kB / 379.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.02227, allocations: 4 kB / 379.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.02228, allocations: 7.922 kB / 379.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.02356, allocations: 1.314 MB / 380.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.02356, allocations: 0 / 380.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.02386, allocations: 123.8 kB / 380.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.617e-06/0.02387, allocations: 4 kB / 380.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.0239, allocations: 12 kB / 380.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.02391, allocations: 7.938 kB / 380.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.02391, allocations: 0 / 380.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008418/0.02475, allocations: 0.7713 MB / 381.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.02486, allocations: 126.9 kB / 381.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.02491, allocations: 12 kB / 381.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.02504, allocations: 31.98 kB / 381.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.02514, allocations: 48.56 kB / 381.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.02517, allocations: 20 kB / 381.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005318/0.0257, allocations: 0.66 MB / 382.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0257, allocations: 0 / 382.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004776/0.02618, allocations: 219.2 kB / 382.7 MB, free: 12.5 MB / 362.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.0002279/0.02641, allocations: 115.2 kB / 382.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005099/0.02692, allocations: 394.9 kB / 383.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.02692, allocations: 1.5 kB / 383.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.02714, allocations: 208.7 kB / 383.4 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.0275, allocations: 67.78 kB / 383.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.03029, allocations: 2.24 MB / 385.7 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.03053, allocations: 329.2 kB / 386 MB, free: 9.082 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002231/0.03076, allocations: 116.3 kB / 386.1 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.03087, allocations: 60.42 kB / 386.2 MB, free: 8.91 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/0.03087, allocations: 0 / 386.2 MB, free: 8.91 MB / 362.7 MB Notification: Performance of Templates: time 0.01038/0.04125, allocations: 4.582 MB / 390.8 MB, free: 4.352 MB / 362.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: 3.4613616336137056]