Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.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.00152/0.00152, allocations: 84.59 kB / 19.76 MB, free: 2.023 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.001641/0.001641, allocations: 159.4 kB / 23 MB, free: 4.961 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.357/1.357, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.1772/0.1772, allocations: 21.8 MB / 281.6 MB, free: 10.81 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_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") [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.002086/0.002086, allocations: 71.89 kB / 418.8 MB, free: 14.7 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1158, allocations: 60.74 MB / 479.5 MB, free: 1.832 MB / 446.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.2313/0.3472, allocations: 3.072 MB / 482.6 MB, free: 42.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.3488, allocations: 0.6576 MB / 483.2 MB, free: 42.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003514/0.3492, allocations: 23.78 kB / 483.3 MB, free: 42.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.3495, allocations: 168.3 kB / 483.4 MB, free: 42.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.3498, allocations: 117 kB / 483.5 MB, free: 42.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005508/0.3503, allocations: 359 kB / 483.9 MB, free: 42.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005333/0.3509, allocations: 0.8331 MB / 484.7 MB, free: 42.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004933/0.3514, allocations: 476.7 kB / 485.2 MB, free: 41.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.3516, allocations: 337 kB / 485.5 MB, free: 41.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.3518, allocations: 382.6 kB / 485.9 MB, free: 41.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.789e-05/0.3519, allocations: 85.09 kB / 486 MB, free: 41.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.352, allocations: 110.8 kB / 486.1 MB, free: 41.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.3523, allocations: 449.8 kB / 486.5 MB, free: 41.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.3525, allocations: 459.6 kB / 487 MB, free: 41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000782/0.3533, allocations: 1.248 MB / 488.2 MB, free: 40.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3533, allocations: 0 / 488.2 MB, free: 40.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3533, allocations: 0 / 488.2 MB, free: 40.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.3533, allocations: 0 / 488.2 MB, free: 40.35 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.001482/0.3548, allocations: 1.705 MB / 489.9 MB, free: 39.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.3548, allocations: 9.812 kB / 489.9 MB, free: 39.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.355, allocations: 204.7 kB / 490.1 MB, free: 39.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006835/0.3556, allocations: 0.6899 MB / 490.8 MB, free: 38.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.3557, allocations: 79.42 kB / 490.9 MB, free: 38.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.537e-05/0.3558, allocations: 98.56 kB / 491 MB, free: 38.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.3569, allocations: 1.132 MB / 492.1 MB, free: 38.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.3569, allocations: 192 / 492.1 MB, free: 38.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.357, allocations: 49.38 kB / 492.2 MB, free: 37.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.357, allocations: 25.56 kB / 492.2 MB, free: 37.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.358, allocations: 1.053 MB / 493.3 MB, free: 37.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.3609, allocations: 3.182 MB / 496.4 MB, free: 35.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.362, allocations: 1.246 MB / 497.7 MB, free: 35.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003708/0.3624, allocations: 442.5 kB / 498.1 MB, free: 35.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.53e-05/0.3625, allocations: 23.52 kB / 498.1 MB, free: 35.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.3625, allocations: 38.56 kB / 498.2 MB, free: 35.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.184e-06/0.3625, allocations: 0 / 498.2 MB, free: 35.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.001625/0.3641, allocations: 1.458 MB / 499.6 MB, free: 35.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.3642, allocations: 61.31 kB / 499.7 MB, free: 34.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.3652, allocations: 1.206 MB / 0.4892 GB, free: 34.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.3653, allocations: 40.89 kB / 0.4892 GB, free: 34.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/0.3656, allocations: 0.7537 MB / 0.4899 GB, free: 33.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.3658, allocations: 231.4 kB / 0.4902 GB, free: 33.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.3659, allocations: 116.6 kB / 0.4903 GB, free: 33.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.29e-05/0.3659, allocations: 330.9 kB / 0.4906 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/0.3663, allocations: 408.8 kB / 0.491 GB, free: 33.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004213/0.3667, allocations: 0.5123 MB / 0.4915 GB, free: 33.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008227/0.3675, allocations: 0.9524 MB / 0.4924 GB, free: 32.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3675, allocations: 7.219 kB / 0.4924 GB, free: 32.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001033/0.3686, allocations: 1.135 MB / 0.4935 GB, free: 32.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3686, allocations: 6.312 kB / 0.4935 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3686, allocations: 1.031 kB / 0.4935 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.3686, allocations: 9 kB / 0.4935 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.369, allocations: 124.5 kB / 0.4937 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.369, allocations: 9.594 kB / 0.4937 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.3692, allocations: 51.5 kB / 0.4937 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.3693, allocations: 23.09 kB / 0.4937 GB, free: 32.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (81): * Single equations (assignments): 81 * 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.0003473/0.3696, allocations: 370 kB / 0.4941 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.3697, allocations: 142.1 kB / 0.4942 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.3708, allocations: 1.139 MB / 0.4953 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.3708, allocations: 6.031 kB / 0.4953 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3708, allocations: 3.438 kB / 0.4953 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.3709, allocations: 4.5 kB / 0.4954 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.3727, allocations: 2.057 MB / 0.4974 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3727, allocations: 5.406 kB / 0.4974 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/0.3731, allocations: 106.8 kB / 0.4975 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3731, allocations: 3.938 kB / 0.4975 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.3732, allocations: 17.75 kB / 0.4975 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3732, allocations: 3.156 kB / 0.4975 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3732, allocations: 4 kB / 0.4975 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.3746, allocations: 1.792 MB / 0.4992 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.3748, allocations: 127.7 kB / 0.4994 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.781e-05/0.3748, allocations: 11.34 kB / 0.4994 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.375, allocations: 11.06 kB / 0.4994 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.3751, allocations: 41.5 kB / 0.4994 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.3751, allocations: 19.72 kB / 0.4994 GB, free: 30.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008266/0.3759, allocations: 0.8407 MB / 0.5003 GB, free: 29.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3759, allocations: 3.938 kB / 0.5003 GB, free: 29.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006622/0.3766, allocations: 200.3 kB / 0.5005 GB, free: 29.79 MB / 446.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: 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.0001879/0.3768, allocations: 129 kB / 0.5006 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.378, allocations: 0.9171 MB / 0.5015 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.378, allocations: 0 / 0.5015 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005048/0.3785, allocations: 483.1 kB / 0.5019 GB, free: 29.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.3791, allocations: 88.95 kB / 0.502 GB, free: 29.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.3825, allocations: 2.685 MB / 0.5047 GB, free: 28.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007304/0.3832, allocations: 0.6938 MB / 0.5053 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002256/0.3834, allocations: 67.92 kB / 0.5054 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.3835, allocations: 49.27 kB / 0.5054 GB, free: 27.88 MB / 446.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3835, allocations: 4 kB / 0.5054 GB, free: 27.87 MB / 446.1 MB Notification: Performance of Templates: time 0.01135/0.3949, allocations: 4.253 MB / 0.5096 GB, free: 27.16 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.686219109920785] Failed to read output from testmodel.py, exit status != 0: 0.4039149769814685 0.41373141599999996 0.058000585 Calling exit ...