Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.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.001284/0.001284, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001364/0.001364, allocations: 155.4 kB / 23.01 MB, free: 4.949 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.349/1.349, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 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.172/0.172, allocations: 21.81 MB / 281.6 MB, free: 10.82 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_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4") [Timeout 660] "Notification: SystemDynamics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 63.89 kB / 418.8 MB, free: 14.7 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.114, allocations: 60.75 MB / 479.5 MB, free: 1.828 MB / 446.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_4): time 0.2095/0.3235, allocations: 3.098 MB / 482.6 MB, free: 42.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.3248, allocations: 0.6773 MB / 483.3 MB, free: 42.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003051/0.3251, allocations: 22.78 kB / 483.3 MB, free: 42.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.3254, allocations: 176.8 kB / 483.5 MB, free: 42.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.3257, allocations: 130.8 kB / 483.6 MB, free: 42.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005653/0.3263, allocations: 368.4 kB / 484 MB, free: 42.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005355/0.3268, allocations: 0.8433 MB / 484.8 MB, free: 42.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004833/0.3273, allocations: 474.4 kB / 485.3 MB, free: 41.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.3275, allocations: 346 kB / 485.6 MB, free: 41.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.3277, allocations: 379.1 kB / 486 MB, free: 41.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.3278, allocations: 86.78 kB / 486.1 MB, free: 41.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.328, allocations: 120.7 kB / 486.2 MB, free: 41.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.3282, allocations: 457.5 kB / 486.6 MB, free: 41.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.3284, allocations: 486.8 kB / 487.1 MB, free: 40.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008249/0.3293, allocations: 1.311 MB / 488.4 MB, free: 40.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3293, allocations: 9.719 kB / 488.4 MB, free: 40.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3293, allocations: 0 / 488.4 MB, free: 40.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.3293, allocations: 0 / 488.4 MB, free: 40.27 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.001599/0.3309, allocations: 1.806 MB / 490.2 MB, free: 39.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.3309, allocations: 9.312 kB / 490.3 MB, free: 39.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.3311, allocations: 213.6 kB / 490.5 MB, free: 38.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007067/0.3318, allocations: 0.7144 MB / 491.2 MB, free: 38.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.788e-05/0.3318, allocations: 81.67 kB / 491.3 MB, free: 38.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.791e-05/0.3319, allocations: 102.7 kB / 491.4 MB, free: 38.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.3332, allocations: 1.274 MB / 492.6 MB, free: 37.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.3332, allocations: 4.625 kB / 492.6 MB, free: 37.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.374e-05/0.3333, allocations: 49.81 kB / 492.7 MB, free: 37.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-05/0.3333, allocations: 47.66 kB / 492.7 MB, free: 37.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.3346, allocations: 1.225 MB / 494 MB, free: 37.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/0.3378, allocations: 3.483 MB / 497.4 MB, free: 35.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.3389, allocations: 1.331 MB / 498.8 MB, free: 35.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004326/0.3394, allocations: 480 kB / 499.2 MB, free: 35.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.674e-05/0.3394, allocations: 29.5 kB / 499.3 MB, free: 35.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.3394, allocations: 42.22 kB / 499.3 MB, free: 34.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=70): time 2.575e-06/0.3394, allocations: 0 / 499.3 MB, free: 34.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=70): time 0.001521/0.341, allocations: 1.574 MB / 0.4891 GB, free: 34.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.341, allocations: 83.92 kB / 0.4892 GB, free: 34.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.3421, allocations: 1.356 MB / 0.4905 GB, free: 33.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.3421, allocations: 37.05 kB / 0.4906 GB, free: 33.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.3424, allocations: 0.8391 MB / 0.4914 GB, free: 33.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.3425, allocations: 261.3 kB / 0.4917 GB, free: 33.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.3427, allocations: 152.7 kB / 0.4918 GB, free: 32.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.519e-05/0.3427, allocations: 341.4 kB / 0.4921 GB, free: 32.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/0.3432, allocations: 475.1 kB / 0.4926 GB, free: 32.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005159/0.3437, allocations: 0.7225 MB / 0.4933 GB, free: 32.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009956/0.3447, allocations: 1.244 MB / 0.4945 GB, free: 31.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3447, allocations: 0 / 0.4945 GB, free: 31.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001311/0.346, allocations: 1.386 MB / 0.4959 GB, free: 31.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3461, allocations: 11.38 kB / 0.4959 GB, free: 31.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3461, allocations: 5.594 kB / 0.4959 GB, free: 31.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.3461, allocations: 19.53 kB / 0.4959 GB, free: 31.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/0.3466, allocations: 185.8 kB / 0.4961 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.3466, allocations: 16.19 kB / 0.4961 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.3469, allocations: 86.86 kB / 0.4962 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.347, allocations: 41.41 kB / 0.4962 GB, free: 31.01 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 5 (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 (109): * Single equations (assignments): 109 * 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.0003794/0.3474, allocations: 410.2 kB / 0.4966 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.3475, allocations: 151.4 kB / 0.4967 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.3487, allocations: 1.252 MB / 0.498 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.3487, allocations: 6.969 kB / 0.498 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3487, allocations: 0 / 0.498 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.3488, allocations: 3.375 kB / 0.498 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.3507, allocations: 2.175 MB / 0.5001 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3507, allocations: 0 / 0.5001 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004397/0.3511, allocations: 119 kB / 0.5002 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3511, allocations: 0 / 0.5002 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.3512, allocations: 26.03 kB / 0.5002 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3512, allocations: 2.812 kB / 0.5002 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.3512, allocations: 10.53 kB / 0.5002 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.3532, allocations: 1.984 MB / 0.5022 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.3533, allocations: 138.1 kB / 0.5023 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.703e-05/0.3534, allocations: 20.91 kB / 0.5023 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.3537, allocations: 16.03 kB / 0.5023 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.362e-05/0.3538, allocations: 51.06 kB / 0.5024 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.3538, allocations: 25.58 kB / 0.5024 GB, free: 28.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009661/0.3548, allocations: 0.9182 MB / 0.5033 GB, free: 28.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3548, allocations: 0 / 0.5033 GB, free: 28.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000707/0.3555, allocations: 222.8 kB / 0.5035 GB, free: 28.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (70): * Single equations (assignments): 70 * 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.0001594/0.3556, allocations: 126.4 kB / 0.5037 GB, free: 28.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.357, allocations: 1.056 MB / 0.5047 GB, free: 27.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.357, allocations: 1.75 kB / 0.5047 GB, free: 27.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005518/0.3576, allocations: 0.5026 MB / 0.5052 GB, free: 27.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006326/0.3582, allocations: 101.6 kB / 0.5053 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/0.3615, allocations: 2.907 MB / 0.5081 GB, free: 26.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006637/0.3621, allocations: 0.7389 MB / 0.5088 GB, free: 26.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003544/0.3625, allocations: 130.8 kB / 0.509 GB, free: 26.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.3626, allocations: 58.25 kB / 0.509 GB, free: 26.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3626, allocations: 0 / 0.509 GB, free: 26.23 MB / 446.1 MB Notification: Performance of Templates: time 0.01124/0.3738, allocations: 4.755 MB / 0.5137 GB, free: 25.48 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.57564735901542] Failed to read output from testmodel.py, exit status != 0: 0.3818696669768542 0.39185326899999995 0.06019696399999994 Calling exit ...