Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.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.001326/0.001326, allocations: 77.47 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.001396/0.001396, allocations: 157.2 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.365/1.365, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.1742/0.1742, allocations: 21.8 MB / 281.6 MB, free: 10.78 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_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") [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.002169/0.002169, allocations: 63.84 kB / 418.8 MB, free: 14.67 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1092, allocations: 60.74 MB / 479.5 MB, free: 1.805 MB / 446.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.2075/0.3167, allocations: 3.089 MB / 482.6 MB, free: 42.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.3184, allocations: 0.669 MB / 483.3 MB, free: 42.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006593/0.319, allocations: 24.34 kB / 483.3 MB, free: 42.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004766/0.3195, allocations: 170.7 kB / 483.5 MB, free: 42.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00043/0.3199, allocations: 134.1 kB / 483.6 MB, free: 42.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007268/0.3207, allocations: 354.5 kB / 483.9 MB, free: 42.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006474/0.3213, allocations: 0.8431 MB / 484.8 MB, free: 42.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005161/0.3218, allocations: 461.1 kB / 485.2 MB, free: 41.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.322, allocations: 352.5 kB / 485.6 MB, free: 41.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.3222, allocations: 369.1 kB / 485.9 MB, free: 41.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.3223, allocations: 83.75 kB / 486 MB, free: 41.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.3225, allocations: 117.9 kB / 486.1 MB, free: 41.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.3228, allocations: 443.2 kB / 486.6 MB, free: 41.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.323, allocations: 469.2 kB / 487 MB, free: 40.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008694/0.3239, allocations: 1.275 MB / 488.3 MB, free: 40.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3239, allocations: 0 / 488.3 MB, free: 40.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3239, allocations: 2.625 kB / 488.3 MB, free: 40.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.3239, allocations: 3.281 kB / 488.3 MB, free: 40.3 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.001553/0.3254, allocations: 1.762 MB / 490.1 MB, free: 39.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3255, allocations: 13.25 kB / 490.1 MB, free: 39.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.3256, allocations: 207.3 kB / 490.3 MB, free: 38.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006745/0.3263, allocations: 0.7045 MB / 491 MB, free: 38.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.567e-05/0.3263, allocations: 79.12 kB / 491.1 MB, free: 38.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.3265, allocations: 106.8 kB / 491.2 MB, free: 38.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.3276, allocations: 1.155 MB / 492.3 MB, free: 37.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.3276, allocations: 7.281 kB / 492.3 MB, free: 37.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-05/0.3277, allocations: 45.62 kB / 492.4 MB, free: 37.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.3277, allocations: 27.19 kB / 492.4 MB, free: 37.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.3287, allocations: 1.089 MB / 493.5 MB, free: 37.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002912/0.3317, allocations: 3.245 MB / 496.7 MB, free: 35.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.3328, allocations: 1.303 MB / 498 MB, free: 35.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/0.3331, allocations: 462.1 kB / 498.5 MB, free: 35.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-05/0.3332, allocations: 32.22 kB / 498.5 MB, free: 35.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.3332, allocations: 38.56 kB / 498.6 MB, free: 35.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=67): time 2.985e-06/0.3332, allocations: 1.688 kB / 498.6 MB, free: 35.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=67): time 0.001349/0.3346, allocations: 1.524 MB / 0.4884 GB, free: 34.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.3346, allocations: 58.41 kB / 0.4884 GB, free: 34.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009673/0.3356, allocations: 1.276 MB / 0.4897 GB, free: 34.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.3356, allocations: 36.86 kB / 0.4897 GB, free: 34.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/0.3359, allocations: 0.7691 MB / 0.4905 GB, free: 33.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.336, allocations: 242.5 kB / 0.4907 GB, free: 33.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.3362, allocations: 110.8 kB / 0.4908 GB, free: 33.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.3362, allocations: 334.9 kB / 0.4911 GB, free: 33.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.3366, allocations: 436.1 kB / 0.4915 GB, free: 33.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004138/0.337, allocations: 0.5257 MB / 0.492 GB, free: 32.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008243/0.3378, allocations: 0.9946 MB / 0.493 GB, free: 32.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3378, allocations: 3.062 kB / 0.493 GB, free: 32.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001022/0.3388, allocations: 1.182 MB / 0.4942 GB, free: 32.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3389, allocations: 13.89 kB / 0.4942 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3389, allocations: 3.125 kB / 0.4942 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.3389, allocations: 6.438 kB / 0.4942 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.3393, allocations: 129.7 kB / 0.4943 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3393, allocations: 10.56 kB / 0.4943 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.3395, allocations: 53.16 kB / 0.4944 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.3396, allocations: 26.78 kB / 0.4944 GB, free: 32.07 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 (82): * Single equations (assignments): 82 * 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.0003395/0.3399, allocations: 373.8 kB / 0.4948 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.34, allocations: 145.9 kB / 0.4949 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.3411, allocations: 1.201 MB / 0.4961 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.3411, allocations: 5.938 kB / 0.4961 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3411, allocations: 0 / 0.4961 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3411, allocations: 3.469 kB / 0.4961 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.343, allocations: 2.135 MB / 0.4982 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.343, allocations: 5.875 kB / 0.4982 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/0.3434, allocations: 114 kB / 0.4983 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3434, allocations: 0 / 0.4983 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.3434, allocations: 14.03 kB / 0.4983 GB, free: 30.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.3434, allocations: 3 kB / 0.4983 GB, free: 30.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3434, allocations: 6.906 kB / 0.4983 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.3449, allocations: 1.885 MB / 0.5001 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.3451, allocations: 129.8 kB / 0.5003 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/0.3451, allocations: 14.86 kB / 0.5003 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.3454, allocations: 10.69 kB / 0.5003 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/0.3454, allocations: 42 kB / 0.5003 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/0.3455, allocations: 17.41 kB / 0.5003 GB, free: 29.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009072/0.3464, allocations: 0.8806 MB / 0.5012 GB, free: 29.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3464, allocations: 0 / 0.5012 GB, free: 29.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000522/0.3469, allocations: 209.7 kB / 0.5014 GB, free: 29.52 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 (67): * Single equations (assignments): 67 * 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.00014/0.3471, allocations: 122.4 kB / 0.5015 GB, free: 29.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.3481, allocations: 0.9562 MB / 0.5025 GB, free: 29.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3481, allocations: 1.156 kB / 0.5025 GB, free: 29.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004861/0.3486, allocations: 498 kB / 0.5029 GB, free: 29.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005314/0.3491, allocations: 99.84 kB / 0.503 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.3523, allocations: 2.798 MB / 0.5058 GB, free: 27.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006287/0.3529, allocations: 0.7111 MB / 0.5065 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000214/0.3531, allocations: 75.22 kB / 0.5065 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.3532, allocations: 46.44 kB / 0.5066 GB, free: 27.54 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3532, allocations: 0 / 0.5066 GB, free: 27.54 MB / 446.1 MB Notification: Performance of Templates: time 0.01051/0.3637, allocations: 4.333 MB / 0.5108 GB, free: 26.82 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.627946119057015] Failed to read output from testmodel.py, exit status != 0: 0.37233935692347586 0.383561098 0.05700327400000001 Calling exit ...