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.001348/0.001348, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001433/0.001433, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.41/1.41, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.1804/0.1804, allocations: 21.8 MB / 281 MB, free: 10.83 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_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 2.044e-06/2.044e-06, allocations: 0 / 418.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.864e-05, allocations: 2.281 kB / 418.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_4): time 0.004589/0.004617, allocations: 3.098 MB / 421.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.006092, allocations: 0.6778 MB / 422 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002962/0.006388, allocations: 19.94 kB / 422.1 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004154/0.006803, allocations: 178.3 kB / 422.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.007154, allocations: 142.8 kB / 422.4 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007755/0.007929, allocations: 363.5 kB / 422.7 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009128/0.008842, allocations: 0.8483 MB / 423.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007079/0.00955, allocations: 472.2 kB / 424 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005025/0.01005, allocations: 0.4948 MB / 424.5 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.01038, allocations: 306.7 kB / 424.8 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.01052, allocations: 84 kB / 424.9 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.01073, allocations: 112 kB / 425 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004226/0.01115, allocations: 470.3 kB / 425.5 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003257/0.01148, allocations: 342.5 kB / 425.8 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.01281, allocations: 1.245 MB / 427.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01281, allocations: 3.938 kB / 427.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.01282, allocations: 0 / 427.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.01283, allocations: 0 / 427.1 MB, free: 4.586 MB / 350.1 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.002401/0.01523, allocations: 1.785 MB / 428.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.01527, allocations: 8.031 kB / 428.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002558/0.01553, allocations: 215.5 kB / 429.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000994/0.01652, allocations: 0.7184 MB / 429.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.363e-05/0.01659, allocations: 78.48 kB / 429.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.01672, allocations: 104.4 kB / 430 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.01856, allocations: 1.274 MB / 431.2 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.01858, allocations: 4.125 kB / 431.2 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.501e-05/0.01866, allocations: 44.38 kB / 431.3 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-05/0.01872, allocations: 48.36 kB / 431.3 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.02054, allocations: 1.234 MB / 432.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00465/0.02519, allocations: 3.485 MB / 436 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.02699, allocations: 1.316 MB / 437.4 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006387/0.02762, allocations: 483.5 kB / 437.8 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.224e-05/0.02771, allocations: 28.64 kB / 437.9 MB, free: 9.504 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.02774, allocations: 43.16 kB / 437.9 MB, free: 9.453 MB / 366.1 MB Notification: Performance of pre-optimization done (n=70): time 2.535e-06/0.02775, allocations: 0 / 437.9 MB, free: 9.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=70): time 0.002254/0.03, allocations: 1.555 MB / 439.5 MB, free: 7.891 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.03007, allocations: 93.69 kB / 439.6 MB, free: 7.781 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.03167, allocations: 1.357 MB / 440.9 MB, free: 6.414 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.03172, allocations: 41.7 kB / 440.9 MB, free: 6.367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007137/0.03244, allocations: 0.8425 MB / 441.8 MB, free: 5.516 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.03266, allocations: 257.8 kB / 442 MB, free: 5.262 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.03288, allocations: 150.6 kB / 442.2 MB, free: 5.105 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.03304, allocations: 345.9 kB / 442.5 MB, free: 4.762 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006676/0.03371, allocations: 473.8 kB / 443 MB, free: 4.301 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008944/0.03461, allocations: 0.7198 MB / 443.7 MB, free: 3.473 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.03626, allocations: 1.241 MB / 445 MB, free: 2.117 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.03627, allocations: 4 kB / 445 MB, free: 2.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001992/0.03826, allocations: 1.39 MB / 446.3 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.03828, allocations: 8 kB / 446.4 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.0383, allocations: 8.906 kB / 446.4 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.924e-05/0.03832, allocations: 16 kB / 446.4 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/0.03897, allocations: 183.7 kB / 446.6 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-05/0.03899, allocations: 19.92 kB / 446.6 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/0.03937, allocations: 79.41 kB / 446.7 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-05/0.03944, allocations: 47.98 kB / 446.7 MB, free: 368 kB / 366.1 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 (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 (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.198/0.2375, allocations: 396.5 kB / 447.1 MB, free: 39.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.2377, allocations: 153.2 kB / 447.2 MB, free: 39.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.2397, allocations: 1.25 MB / 448.5 MB, free: 39.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.2397, allocations: 6.938 kB / 448.5 MB, free: 39.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2397, allocations: 1.688 kB / 448.5 MB, free: 39.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.2397, allocations: 3.469 kB / 448.5 MB, free: 39.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/0.2426, allocations: 2.182 MB / 450.7 MB, free: 38.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.2426, allocations: 0.5625 kB / 450.7 MB, free: 38.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005179/0.2431, allocations: 120.9 kB / 450.8 MB, free: 38.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.2431, allocations: 3.156 kB / 450.8 MB, free: 38.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.2432, allocations: 19.81 kB / 450.8 MB, free: 38.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.2432, allocations: 7.594 kB / 450.8 MB, free: 38.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2432, allocations: 7.125 kB / 450.8 MB, free: 38.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002569/0.2457, allocations: 1.986 MB / 452.8 MB, free: 38.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.2459, allocations: 136.9 kB / 453 MB, free: 38.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.114e-05/0.246, allocations: 11.72 kB / 453 MB, free: 38.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.2463, allocations: 21.75 kB / 453 MB, free: 38.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.2464, allocations: 45.11 kB / 453 MB, free: 38.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/0.2465, allocations: 27.53 kB / 453.1 MB, free: 38.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001347/0.2478, allocations: 0.9154 MB / 454 MB, free: 37.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2478, allocations: 0 / 454 MB, free: 37.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00083/0.2487, allocations: 232.7 kB / 454.2 MB, free: 37.71 MB / 366.1 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.0001946/0.2489, allocations: 114.7 kB / 454.3 MB, free: 37.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.2504, allocations: 1.062 MB / 455.4 MB, free: 37.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2504, allocations: 1.094 kB / 455.4 MB, free: 37.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006286/0.251, allocations: 0.5049 MB / 455.9 MB, free: 37.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007073/0.2517, allocations: 97.23 kB / 456 MB, free: 37.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.2559, allocations: 2.858 MB / 458.8 MB, free: 35.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009565/0.2568, allocations: 0.7439 MB / 459.6 MB, free: 35.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004055/0.2572, allocations: 140.3 kB / 459.7 MB, free: 35.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.2574, allocations: 56.73 kB / 459.8 MB, free: 35.69 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.2574, allocations: 0 / 459.8 MB, free: 35.69 MB / 366.1 MB Notification: Performance of Templates: time 0.01274/0.2701, allocations: 4.661 MB / 464.4 MB, free: 34.51 MB / 366.1 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=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.655914347618818] Failed to read output from testmodel.py, exit status != 0: 0.2785066068172455 0.287131195 0.27216749900000003 Calling exit ...