Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.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.001332/0.001332, 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.001407/0.001407, allocations: 158.1 kB / 23.01 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.339/1.339, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.177/0.177, allocations: 21.8 MB / 281.6 MB, free: 10.8 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_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") [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.002055/0.002055, allocations: 63.89 kB / 418.8 MB, free: 14.7 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1087, allocations: 60.76 MB / 479.5 MB, free: 1.816 MB / 446.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.2108/0.3195, allocations: 3.082 MB / 482.6 MB, free: 42.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.3209, allocations: 0.6733 MB / 483.3 MB, free: 42.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003568/0.3213, allocations: 19.88 kB / 483.3 MB, free: 42.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.3217, allocations: 176.4 kB / 483.5 MB, free: 42.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.3219, allocations: 129.8 kB / 483.6 MB, free: 42.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006056/0.3225, allocations: 359.4 kB / 483.9 MB, free: 42.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005079/0.323, allocations: 0.8455 MB / 484.8 MB, free: 42.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004904/0.3235, allocations: 466.6 kB / 485.2 MB, free: 41.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.3237, allocations: 340.5 kB / 485.6 MB, free: 41.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.3239, allocations: 376.9 kB / 485.9 MB, free: 41.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.324, allocations: 84.41 kB / 486 MB, free: 41.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.3242, allocations: 114.5 kB / 486.1 MB, free: 41.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.3244, allocations: 449.4 kB / 486.6 MB, free: 41.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.3246, allocations: 465.6 kB / 487 MB, free: 40.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007856/0.3254, allocations: 1.283 MB / 488.3 MB, free: 40.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3254, allocations: 0 / 488.3 MB, free: 40.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3254, allocations: 6.375 kB / 488.3 MB, free: 40.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.071e-05/0.3254, allocations: 0 / 488.3 MB, free: 40.28 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.001634/0.3271, allocations: 1.766 MB / 490.1 MB, free: 39.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.3271, allocations: 9.688 kB / 490.1 MB, free: 39.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.3273, allocations: 204.6 kB / 490.3 MB, free: 38.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007171/0.328, allocations: 0.7117 MB / 491 MB, free: 38.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/0.328, allocations: 79.42 kB / 491.1 MB, free: 38.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.202e-05/0.3281, allocations: 102.1 kB / 491.2 MB, free: 38.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.3293, allocations: 1.164 MB / 492.3 MB, free: 37.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.3293, allocations: 192 / 492.3 MB, free: 37.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.411e-05/0.3294, allocations: 46 kB / 492.4 MB, free: 37.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.3294, allocations: 25.66 kB / 492.4 MB, free: 37.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.3305, allocations: 1.105 MB / 493.5 MB, free: 37.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/0.3335, allocations: 3.25 MB / 496.8 MB, free: 35.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.3347, allocations: 1.311 MB / 498.1 MB, free: 35.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004079/0.3351, allocations: 469.1 kB / 498.5 MB, free: 35.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.596e-05/0.3351, allocations: 23.33 kB / 498.6 MB, free: 35.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.3352, allocations: 38.41 kB / 498.6 MB, free: 35.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=68): time 2.104e-06/0.3352, allocations: 0 / 498.6 MB, free: 35.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=68): time 0.001416/0.3366, allocations: 1.538 MB / 0.4884 GB, free: 34.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.3366, allocations: 58.31 kB / 0.4885 GB, free: 34.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009899/0.3376, allocations: 1.265 MB / 0.4897 GB, free: 34.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.3376, allocations: 40.8 kB / 0.4897 GB, free: 34.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.338, allocations: 0.7691 MB / 0.4905 GB, free: 33.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.3381, allocations: 245.1 kB / 0.4907 GB, free: 33.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.3382, allocations: 114.9 kB / 0.4908 GB, free: 33.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.962e-05/0.3382, allocations: 331.8 kB / 0.4912 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.3386, allocations: 443 kB / 0.4916 GB, free: 33.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.3391, allocations: 0.5338 MB / 0.4921 GB, free: 32.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008732/0.34, allocations: 1.001 MB / 0.4931 GB, free: 32.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.34, allocations: 0 / 0.4931 GB, free: 32.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001083/0.3411, allocations: 1.198 MB / 0.4943 GB, free: 32.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3411, allocations: 6.031 kB / 0.4943 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3411, allocations: 3 kB / 0.4943 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.3411, allocations: 5.938 kB / 0.4943 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.3415, allocations: 135.6 kB / 0.4944 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.3415, allocations: 3.062 kB / 0.4944 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.3418, allocations: 56.41 kB / 0.4945 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.3418, allocations: 27.25 kB / 0.4945 GB, free: 32.03 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 (83): * Single equations (assignments): 83 * 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.0003583/0.3422, allocations: 378.5 kB / 0.4948 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.3423, allocations: 145.9 kB / 0.495 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.3435, allocations: 1.199 MB / 0.4961 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.3435, allocations: 6.188 kB / 0.4962 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3435, allocations: 0 / 0.4962 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.3435, allocations: 6.484 kB / 0.4962 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.3455, allocations: 2.153 MB / 0.4983 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3455, allocations: 1.938 kB / 0.4983 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/0.3459, allocations: 114.1 kB / 0.4984 GB, free: 30.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.3459, allocations: 3.094 kB / 0.4984 GB, free: 30.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.3459, allocations: 18.47 kB / 0.4984 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.3459, allocations: 3 kB / 0.4984 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3459, allocations: 0 / 0.4984 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.3476, allocations: 1.885 MB / 0.5002 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.3477, allocations: 132.9 kB / 0.5004 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.569e-05/0.3478, allocations: 15.66 kB / 0.5004 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.3481, allocations: 15.94 kB / 0.5004 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-05/0.3481, allocations: 44.11 kB / 0.5004 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.3482, allocations: 17.25 kB / 0.5005 GB, free: 29.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009169/0.3491, allocations: 0.875 MB / 0.5013 GB, free: 29.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3491, allocations: 0 / 0.5013 GB, free: 29.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005407/0.3496, allocations: 217.9 kB / 0.5015 GB, free: 29.46 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 (68): * Single equations (assignments): 68 * 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.0001505/0.3498, allocations: 121.1 kB / 0.5016 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.3509, allocations: 0.9745 MB / 0.5026 GB, free: 29.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3509, allocations: 0 / 0.5026 GB, free: 29.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000533/0.3514, allocations: 0.4886 MB / 0.5031 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005679/0.352, allocations: 98.47 kB / 0.5032 GB, free: 28.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.3555, allocations: 2.791 MB / 0.5059 GB, free: 27.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007342/0.3562, allocations: 0.7216 MB / 0.5066 GB, free: 27.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002521/0.3564, allocations: 71.23 kB / 0.5067 GB, free: 27.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.3566, allocations: 49.81 kB / 0.5067 GB, free: 27.49 MB / 446.1 MB Notification: Performance of SimCode: time 1.512e-06/0.3566, allocations: 0 / 0.5067 GB, free: 27.49 MB / 446.1 MB Notification: Performance of Templates: time 0.01115/0.3677, allocations: 4.333 MB / 0.5109 GB, free: 26.77 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.586737738922238] Failed to read output from testmodel.py, exit status != 0: 0.37600607506465167 0.387647812 0.05934964400000001 Calling exit ...