Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.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.001191/0.001191, allocations: 80.61 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00216/0.00216, allocations: 160 kB / 22.46 MB, free: 5.375 MB / 14.72 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.465/1.465, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.1914/0.1914, allocations: 21.82 MB / 281 MB, free: 10.83 MB / 270.1 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_6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 418.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.989e-05, allocations: 5.234 kB / 418.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_6): time 0.005225/0.005255, allocations: 3.114 MB / 421.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.006938, allocations: 0.7674 MB / 422.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003092/0.007247, allocations: 23.88 kB / 422.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004057/0.007652, allocations: 174.3 kB / 422.3 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003463/0.007999, allocations: 138.7 kB / 422.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008255/0.008824, allocations: 379.4 kB / 422.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009559/0.00978, allocations: 0.86 MB / 423.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006984/0.01048, allocations: 476.2 kB / 424.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005852/0.01106, allocations: 0.4988 MB / 424.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000343/0.01141, allocations: 306.7 kB / 425 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.01154, allocations: 84 kB / 425 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.01175, allocations: 119.8 kB / 425.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004151/0.01217, allocations: 470.3 kB / 425.6 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003302/0.0125, allocations: 326.5 kB / 425.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.01387, allocations: 1.226 MB / 427.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.01387, allocations: 4 kB / 427.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01388, allocations: 0 / 427.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.01389, allocations: 0 / 427.2 MB, free: 4.465 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.002408/0.0163, allocations: 1.77 MB / 428.9 MB, free: 2.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.01633, allocations: 11.97 kB / 428.9 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002628/0.0166, allocations: 207.6 kB / 429.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.01761, allocations: 0.7111 MB / 429.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.528e-05/0.01768, allocations: 78.47 kB / 429.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.01782, allocations: 104.3 kB / 430 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.01957, allocations: 1.178 MB / 431.2 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.01959, allocations: 4.125 kB / 431.2 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.517e-05/0.01966, allocations: 44.38 kB / 431.3 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.01969, allocations: 32.38 kB / 431.3 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.02131, allocations: 1.101 MB / 432.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004316/0.02562, allocations: 3.259 MB / 435.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.02739, allocations: 1.324 MB / 437 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006073/0.028, allocations: 478.6 kB / 437.4 MB, free: 9.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.186e-05/0.02809, allocations: 36.56 kB / 437.5 MB, free: 9.895 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00079/0.02888, allocations: 0.5394 MB / 438 MB, free: 9.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.785e-06/0.02888, allocations: 0 / 438 MB, free: 9.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.002208/0.03109, allocations: 1.579 MB / 439.6 MB, free: 7.758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.03115, allocations: 60.06 kB / 439.7 MB, free: 7.684 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.03271, allocations: 1.276 MB / 440.9 MB, free: 6.398 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.03276, allocations: 37.7 kB / 441 MB, free: 6.355 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007269/0.03349, allocations: 0.7726 MB / 441.7 MB, free: 5.574 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.03371, allocations: 246 kB / 442 MB, free: 5.332 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.0339, allocations: 122.7 kB / 442.1 MB, free: 5.203 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.0341, allocations: 337.9 kB / 442.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/0.03469, allocations: 441.8 kB / 442.9 MB, free: 4.438 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007095/0.0354, allocations: 0.5523 MB / 443.4 MB, free: 3.848 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.03688, allocations: 1.043 MB / 444.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.03688, allocations: 0 / 444.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001727/0.03861, allocations: 1.238 MB / 445.7 MB, free: 1.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.03863, allocations: 11.94 kB / 445.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.03864, allocations: 0 / 445.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.03866, allocations: 8 kB / 445.7 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000523/0.03919, allocations: 139.8 kB / 445.9 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.0392, allocations: 4 kB / 445.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.03949, allocations: 63.62 kB / 445.9 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.03953, allocations: 28.28 kB / 446 MB, free: 1.27 MB / 366.1 MB Warning: Assuming fixed start value for the following 2 variables: min_QL:DISCRETE(start = 1.0 fixed = true ) \"Minimum quality of life\" type: Real min_dPop:DISCRETE(unit = \"1/yr\" fixed = true ) \"Minimal derivative of population\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.min_QL,$PRE.min_dPop,min_QL,min_dPop,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 (89): * Single equations (assignments): 89 * 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.0006362/0.04017, allocations: 386.1 kB / 446.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.04033, allocations: 151 kB / 446.5 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1665/0.2068, allocations: 1.232 MB / 447.7 MB, free: 40.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.2068, allocations: 7.516 kB / 447.7 MB, free: 40.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2068, allocations: 3.688 kB / 447.7 MB, free: 40.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.2068, allocations: 3.234 kB / 447.7 MB, free: 40.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/0.2101, allocations: 2.197 MB / 449.9 MB, free: 39.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.2101, allocations: 1.344 kB / 449.9 MB, free: 39.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004724/0.2106, allocations: 113.9 kB / 450 MB, free: 39.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.2106, allocations: 2.281 kB / 450 MB, free: 39.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.2106, allocations: 16.08 kB / 450 MB, free: 39.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.2106, allocations: 2.312 kB / 450 MB, free: 39.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2106, allocations: 1.281 kB / 450.1 MB, free: 39.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.2127, allocations: 1.941 MB / 452 MB, free: 39.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.2129, allocations: 176.5 kB / 452.2 MB, free: 39.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.189e-05/0.213, allocations: 15.31 kB / 452.2 MB, free: 39.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.2132, allocations: 11.89 kB / 452.2 MB, free: 39.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.722e-05/0.2133, allocations: 43.05 kB / 452.2 MB, free: 39.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/0.2134, allocations: 20.69 kB / 452.3 MB, free: 39.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001017/0.2144, allocations: 0.8829 MB / 453.1 MB, free: 38.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2144, allocations: 0 / 453.1 MB, free: 38.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005525/0.2149, allocations: 217.5 kB / 453.3 MB, free: 38.8 MB / 366.1 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: 3 ($whenCondition1,min_dPop,min_QL) * Number of discrete states: 2 (min_dPop,min_QL) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001901/0.2151, allocations: 128.1 kB / 453.5 MB, free: 38.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.2163, allocations: 0.9923 MB / 454.5 MB, free: 38.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2163, allocations: 1.531 kB / 454.5 MB, free: 38.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006129/0.2169, allocations: 0.5092 MB / 455 MB, free: 38.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.2175, allocations: 94.48 kB / 455.1 MB, free: 38.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.2207, allocations: 2.785 MB / 457.9 MB, free: 37.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007627/0.2215, allocations: 0.7247 MB / 458.6 MB, free: 36.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002182/0.2217, allocations: 69.77 kB / 458.6 MB, free: 36.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.2218, allocations: 49.84 kB / 458.7 MB, free: 36.86 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2218, allocations: 0 / 458.7 MB, free: 36.86 MB / 366.1 MB Notification: Performance of Templates: time 0.01197/0.2338, allocations: 4.42 MB / 463.1 MB, free: 35.89 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.750294823199511] Failed to read output from testmodel.py, exit status != 0: 0.24227238446474075 0.25018036899999996 0.23421386099999994 Calling exit ...