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.001596/0.001596, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.002078/0.002078, allocations: 169 kB / 23.27 MB, free: 1.223 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 1.017/1.017, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.1417/0.1417, allocations: 21.81 MB / 282.1 MB, free: 7.035 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_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: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 359.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.873e-05, allocations: 2.312 kB / 359.3 MB, free: 4.613 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_4): time 0.003074/0.003093, allocations: 3.153 MB / 362.4 MB, free: 1.445 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.004389, allocations: 0.6779 MB / 363.1 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003839/0.004773, allocations: 15.94 kB / 363.1 MB, free: 0.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.005103, allocations: 178.3 kB / 363.3 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.00536, allocations: 146.8 kB / 363.4 MB, free: 440 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000573/0.005933, allocations: 367.5 kB / 363.8 MB, free: 72 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000623/0.006556, allocations: 0.8483 MB / 364.6 MB, free: 15.22 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004787/0.007035, allocations: 476.1 kB / 365.1 MB, free: 14.72 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003472/0.007382, allocations: 0.491 MB / 365.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.007594, allocations: 302.7 kB / 365.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.126e-05/0.007685, allocations: 84 kB / 366 MB, free: 13.85 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.007843, allocations: 112 kB / 366.1 MB, free: 13.74 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002543/0.008097, allocations: 474.3 kB / 366.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.008281, allocations: 342.5 kB / 366.9 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007118/0.008993, allocations: 0.9251 MB / 367.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.008996, allocations: 4 kB / 367.8 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.008996, allocations: 0 / 367.8 MB, free: 12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.009012, allocations: 0 / 367.8 MB, free: 12 MB / 346.7 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.001827/0.01084, allocations: 1.949 MB / 369.8 MB, free: 10 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.01088, allocations: 12.03 kB / 369.8 MB, free: 9.988 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.01108, allocations: 291.5 kB / 370.1 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/0.01166, allocations: 0.7212 MB / 370.8 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.521e-05/0.01172, allocations: 86.47 kB / 370.9 MB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/0.01179, allocations: 100.4 kB / 371 MB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/0.01246, allocations: 0.7686 MB / 371.7 MB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.01248, allocations: 192 / 371.7 MB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/0.01252, allocations: 44.38 kB / 371.8 MB, free: 7.863 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.013e-05/0.01257, allocations: 52.3 kB / 371.8 MB, free: 7.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/0.01291, allocations: 330.3 kB / 372.1 MB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/0.01538, allocations: 3.345 MB / 375.5 MB, free: 4.027 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/0.01584, allocations: 380.5 kB / 375.9 MB, free: 3.633 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.01597, allocations: 121.3 kB / 376 MB, free: 3.508 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.178e-05/0.01606, allocations: 56.38 kB / 376 MB, free: 3.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.01609, allocations: 42.05 kB / 376.1 MB, free: 3.402 MB / 346.7 MB Notification: Performance of pre-optimization done (n=70): time 2.414e-06/0.01609, allocations: 0 / 376.1 MB, free: 3.402 MB / 346.7 MB Notification: Performance of matching and sorting (n=70): time 0.000574/0.01667, allocations: 0.5437 MB / 376.6 MB, free: 2.852 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.0167, allocations: 89.7 kB / 376.7 MB, free: 2.746 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007691/0.01747, allocations: 1.239 MB / 377.9 MB, free: 1.484 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.0175, allocations: 33.7 kB / 378 MB, free: 1.445 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004588/0.01796, allocations: 0.9477 MB / 378.9 MB, free: 496 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.01808, allocations: 253.8 kB / 379.2 MB, free: 240 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.01821, allocations: 164.2 kB / 379.3 MB, free: 68 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.01836, allocations: 0.5042 MB / 379.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.01847, allocations: 89.91 kB / 379.9 MB, free: 15.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.01873, allocations: 455.3 kB / 380.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/0.01918, allocations: 0.595 MB / 381 MB, free: 14.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/0.01919, allocations: 11.88 kB / 381 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.000614/0.0198, allocations: 0.6718 MB / 381.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.01983, allocations: 8 kB / 381.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.01984, allocations: 8 kB / 381.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.01986, allocations: 12 kB / 381.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.02018, allocations: 188.4 kB / 381.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.02019, allocations: 15.94 kB / 381.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.02036, allocations: 79.41 kB / 381.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.0204, allocations: 36 kB / 382 MB, free: 13.09 MB / 362.7 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 (Population.Integrator1.local_reset,Natural_Resources.Integrator1.local_reset,Capital_Investment.Integrator1.local_reset,Pollution.Integrator1.local_reset,CIAF.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.0001942/0.02059, allocations: 219.1 kB / 382.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.02072, allocations: 171 kB / 382.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005132/0.02123, allocations: 0.5282 MB / 382.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.02123, allocations: 8 kB / 382.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.02124, allocations: 0 / 382.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.02124, allocations: 3.984 kB / 382.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.0223, allocations: 1.104 MB / 384 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.0223, allocations: 4 kB / 384 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.02257, allocations: 127.8 kB / 384.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.02258, allocations: 4 kB / 384.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.0226, allocations: 16 kB / 384.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.02261, allocations: 0 / 384.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.02261, allocations: 4 kB / 384.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006566/0.02327, allocations: 0.8534 MB / 385 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.325e-05/0.02336, allocations: 134.8 kB / 385.1 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.02341, allocations: 15.98 kB / 385.2 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.02354, allocations: 16 kB / 385.2 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.143e-05/0.02361, allocations: 44.58 kB / 385.2 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.02363, allocations: 19.98 kB / 385.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004286/0.02406, allocations: 0.671 MB / 385.9 MB, free: 9.082 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02406, allocations: 0 / 385.9 MB, free: 9.082 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004614/0.02452, allocations: 227.2 kB / 386.1 MB, free: 8.859 MB / 362.7 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.0001568/0.02468, allocations: 117.9 kB / 386.2 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003659/0.02505, allocations: 388.9 kB / 386.6 MB, free: 8.359 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02505, allocations: 0 / 386.6 MB, free: 8.359 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.0252, allocations: 176.6 kB / 386.8 MB, free: 8.184 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.0257, allocations: 97.36 kB / 386.9 MB, free: 8.086 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.02784, allocations: 2.339 MB / 389.2 MB, free: 5.695 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.02806, allocations: 345 kB / 389.6 MB, free: 5.336 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001913/0.02825, allocations: 96.92 kB / 389.7 MB, free: 5.238 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.02842, allocations: 158.2 kB / 389.8 MB, free: 5.082 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.02842, allocations: 0 / 389.8 MB, free: 5.082 MB / 362.7 MB Notification: Performance of Templates: time 0.009431/0.03785, allocations: 5.263 MB / 395.1 MB, free: 15.87 MB / 378.7 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=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0379535518586636]