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.0007476/0.0007476, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007771/0.0007771, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8279/0.8279, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 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.1091/0.1091, allocations: 21.78 MB / 281.7 MB, free: 7.395 MB / 266.7 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: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0 / 419 MB, free: 5.707 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.981e-05, allocations: 4.109 kB / 419 MB, free: 5.703 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.002978/0.003008, allocations: 3.079 MB / 422.1 MB, free: 3.629 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.004019, allocations: 0.6597 MB / 422.7 MB, free: 3.141 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/0.004288, allocations: 23.59 kB / 422.8 MB, free: 3.133 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.004589, allocations: 166.2 kB / 422.9 MB, free: 3.027 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.004794, allocations: 128.9 kB / 423.1 MB, free: 2.938 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.005349, allocations: 355.1 kB / 423.4 MB, free: 2.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006531/0.006002, allocations: 0.8434 MB / 424.2 MB, free: 2.355 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004905/0.006492, allocations: 473.4 kB / 424.7 MB, free: 2.074 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003389/0.006831, allocations: 492.4 kB / 425.2 MB, free: 1.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.007061, allocations: 306.6 kB / 425.5 MB, free: 1.707 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.858e-05/0.007159, allocations: 84.62 kB / 425.6 MB, free: 1.707 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.007324, allocations: 111.4 kB / 425.7 MB, free: 1.703 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.007612, allocations: 453.9 kB / 426.1 MB, free: 1.473 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.007806, allocations: 319 kB / 426.4 MB, free: 1.297 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009161/0.008722, allocations: 1.194 MB / 427.6 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.008725, allocations: 0 / 427.6 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.008725, allocations: 1.156 kB / 427.6 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.008745, allocations: 0 / 427.6 MB, free: 0.7227 MB / 330.7 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.001446/0.01019, allocations: 1.687 MB / 429.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.01023, allocations: 13.5 kB / 429.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.01039, allocations: 203.6 kB / 429.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.01104, allocations: 0.6871 MB / 430.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5e-05/0.01109, allocations: 76.64 kB / 430.3 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.904e-05/0.01117, allocations: 103.8 kB / 430.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.0123, allocations: 1.129 MB / 431.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.01232, allocations: 5.719 kB / 431.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.01236, allocations: 40.5 kB / 431.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.87e-05/0.01238, allocations: 29.97 kB / 431.6 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.01342, allocations: 1.053 MB / 432.6 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002777/0.0162, allocations: 3.174 MB / 435.8 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.0173, allocations: 1.246 MB / 437.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003609/0.01766, allocations: 442.1 kB / 437.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.609e-05/0.01771, allocations: 20.95 kB / 437.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.01773, allocations: 42.22 kB / 437.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 1.784e-06/0.01774, allocations: 0 / 437.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.001214/0.01895, allocations: 1.46 MB / 439 MB, free: 10.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.01898, allocations: 58.62 kB / 439.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009145/0.0199, allocations: 1.21 MB / 440.3 MB, free: 9.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.01993, allocations: 41.7 kB / 440.3 MB, free: 9.883 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/0.02028, allocations: 0.7408 MB / 441.1 MB, free: 9.133 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.02038, allocations: 230.2 kB / 441.3 MB, free: 8.906 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.672e-05/0.02048, allocations: 118.3 kB / 441.4 MB, free: 8.785 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.911e-05/0.02056, allocations: 334 kB / 441.7 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.02088, allocations: 409.1 kB / 442.1 MB, free: 8.051 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.02124, allocations: 0.5043 MB / 442.6 MB, free: 7.512 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007115/0.02195, allocations: 0.959 MB / 443.6 MB, free: 6.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.02196, allocations: 4 kB / 443.6 MB, free: 6.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0008312/0.02279, allocations: 1.133 MB / 444.7 MB, free: 5.375 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.0228, allocations: 8 kB / 444.7 MB, free: 5.367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.02281, allocations: 4.25 kB / 444.7 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.02283, allocations: 12 kB / 444.8 MB, free: 5.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.02306, allocations: 131.8 kB / 444.9 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.02307, allocations: 8 kB / 444.9 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.02318, allocations: 47.62 kB / 444.9 MB, free: 5.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.0232, allocations: 24 kB / 445 MB, free: 5.145 MB / 346.7 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.0002948/0.0235, allocations: 361.5 kB / 445.3 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-05/0.02359, allocations: 143 kB / 445.5 MB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008866/0.02447, allocations: 1.136 MB / 446.6 MB, free: 3.492 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.02448, allocations: 8 kB / 446.6 MB, free: 3.484 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.02448, allocations: 4 kB / 446.6 MB, free: 3.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.02449, allocations: 3.984 kB / 446.6 MB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.02598, allocations: 2.069 MB / 448.7 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.02599, allocations: 0 / 448.7 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.02621, allocations: 107.9 kB / 448.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.02621, allocations: 0 / 448.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.02623, allocations: 16 kB / 448.8 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.02624, allocations: 0 / 448.8 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02624, allocations: 0 / 448.8 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.02751, allocations: 1.804 MB / 450.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.262e-05/0.02759, allocations: 118.9 kB / 450.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.02763, allocations: 20.05 kB / 450.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.02774, allocations: 12 kB / 450.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.02777, allocations: 44.56 kB / 450.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.02779, allocations: 16 kB / 450.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000597/0.02839, allocations: 0.8356 MB / 451.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02839, allocations: 0 / 451.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002965/0.02868, allocations: 211.2 kB / 451.9 MB, free: 14.17 MB / 362.7 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.0001399/0.02882, allocations: 119.1 kB / 452 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007255/0.02955, allocations: 0.9194 MB / 452.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.02955, allocations: 0 / 452.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003223/0.02987, allocations: 479.5 kB / 453.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.03025, allocations: 108.8 kB / 453.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.03252, allocations: 2.72 MB / 456.2 MB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.03294, allocations: 0.7007 MB / 456.9 MB, free: 9.059 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.03305, allocations: 52.5 kB / 456.9 MB, free: 9.004 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.03305, allocations: 0 / 456.9 MB, free: 9.004 MB / 362.7 MB Notification: Performance of Templates: time 0.008968/0.04201, allocations: 11.24 MB / 468.2 MB, free: 13.75 MB / 378.7 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 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.52989380992949] Failed to read output from testmodel.py, exit status != 0: 0.04719041381031275 0.054816353000000005 0.044321553 Calling exit ...