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.00144/0.00144, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001608/0.001608, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.534/1.534, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 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.1979/0.1979, allocations: 21.79 MB / 281.4 MB, free: 7.188 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_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: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 358.1 MB, free: 5.371 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.236e-05/3.457e-05, allocations: 10.25 kB / 358.1 MB, free: 5.359 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.005049/0.005083, allocations: 3.079 MB / 361.2 MB, free: 2.266 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.006815, allocations: 0.6701 MB / 361.9 MB, free: 1.594 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003629/0.007178, allocations: 23.88 kB / 361.9 MB, free: 1.57 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004799/0.007658, allocations: 170.3 kB / 362 MB, free: 1.402 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003779/0.008036, allocations: 134.8 kB / 362.2 MB, free: 1.27 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008926/0.008928, allocations: 363.4 kB / 362.5 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.009941, allocations: 0.8405 MB / 363.4 MB, free: 72 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008171/0.01076, allocations: 472.2 kB / 363.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000557/0.01131, allocations: 490.8 kB / 364.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003504/0.01167, allocations: 294.7 kB / 364.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.01181, allocations: 84 kB / 364.7 MB, free: 14.72 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.01202, allocations: 116 kB / 364.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000466/0.01249, allocations: 450.4 kB / 365.2 MB, free: 14.17 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003538/0.01284, allocations: 330.6 kB / 365.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.01438, allocations: 1.21 MB / 366.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.01438, allocations: 0 / 366.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01438, allocations: 0 / 366.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.0144, allocations: 7.984 kB / 366.8 MB, free: 12.62 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.002491/0.01689, allocations: 1.746 MB / 368.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.01693, allocations: 8.031 kB / 368.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003941/0.01732, allocations: 287.6 kB / 368.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.01842, allocations: 0.7149 MB / 369.5 MB, free: 9.789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.121e-05/0.01852, allocations: 78.44 kB / 369.6 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.01867, allocations: 108.3 kB / 369.7 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.02061, allocations: 1.166 MB / 370.9 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.02063, allocations: 192 / 370.9 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.259e-05/0.02071, allocations: 44.36 kB / 370.9 MB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.02074, allocations: 28.38 kB / 370.9 MB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.02245, allocations: 1.093 MB / 372 MB, free: 7.215 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004855/0.02731, allocations: 3.259 MB / 375.3 MB, free: 3.871 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.02921, allocations: 1.305 MB / 376.6 MB, free: 2.555 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006624/0.02988, allocations: 466.6 kB / 377.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.683e-05/0.02996, allocations: 32.58 kB / 377.1 MB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/0.03, allocations: 39.22 kB / 377.1 MB, free: 2.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 2.565e-06/0.03001, allocations: 0 / 377.1 MB, free: 2.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.00233/0.03234, allocations: 1.547 MB / 378.7 MB, free: 476 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.03239, allocations: 60.06 kB / 378.7 MB, free: 404 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.0341, allocations: 1.275 MB / 380 MB, free: 15.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.03416, allocations: 37.7 kB / 380 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000748/0.0349, allocations: 0.7685 MB / 380.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.03514, allocations: 234.2 kB / 381 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.03534, allocations: 118.3 kB / 381.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.03554, allocations: 334 kB / 381.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006396/0.03618, allocations: 433.1 kB / 381.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007289/0.03691, allocations: 0.5277 MB / 382.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.03833, allocations: 0.9981 MB / 383.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.03834, allocations: 0 / 383.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001841/0.04018, allocations: 1.222 MB / 384.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.0402, allocations: 4 kB / 384.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.04021, allocations: 4 kB / 384.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.04024, allocations: 4 kB / 384.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/0.04075, allocations: 131.8 kB / 384.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.04076, allocations: 4 kB / 384.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.04103, allocations: 47.94 kB / 384.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.04108, allocations: 32 kB / 384.9 MB, free: 10.14 MB / 362.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 (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.0005744/0.04165, allocations: 368.2 kB / 385.2 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.04189, allocations: 174.9 kB / 385.4 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.04374, allocations: 1.195 MB / 386.6 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.04375, allocations: 4 kB / 386.6 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.04376, allocations: 0 / 386.6 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.04376, allocations: 3.984 kB / 386.6 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003042/0.04681, allocations: 2.152 MB / 388.8 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.04681, allocations: 4 kB / 388.8 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000492/0.0473, allocations: 107.9 kB / 388.9 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.04731, allocations: 4 kB / 388.9 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.04735, allocations: 12 kB / 388.9 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.04736, allocations: 7.938 kB / 388.9 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.04736, allocations: 3.984 kB / 388.9 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.04997, allocations: 1.894 MB / 390.8 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.05016, allocations: 126.9 kB / 390.9 MB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/0.05024, allocations: 12.06 kB / 390.9 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.05048, allocations: 15.98 kB / 390.9 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.05057, allocations: 40.58 kB / 391 MB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.05061, allocations: 20 kB / 391 MB, free: 3.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001272/0.05188, allocations: 0.8803 MB / 391.9 MB, free: 3.051 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05188, allocations: 0 / 391.9 MB, free: 3.051 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006212/0.0525, allocations: 211.2 kB / 392.1 MB, free: 2.844 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 (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.0002174/0.05272, allocations: 121.9 kB / 392.2 MB, free: 2.715 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.05419, allocations: 0.9626 MB / 393.2 MB, free: 1.754 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.05419, allocations: 0 / 393.2 MB, free: 1.754 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007054/0.0549, allocations: 0.4956 MB / 393.7 MB, free: 1.258 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.05551, allocations: 90.59 kB / 393.8 MB, free: 1.172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/0.05975, allocations: 2.801 MB / 396.6 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000937/0.06068, allocations: 0.7171 MB / 397.3 MB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002584/0.06094, allocations: 72.36 kB / 397.3 MB, free: 13.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.06108, allocations: 44.48 kB / 397.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.06108, allocations: 4 kB / 397.4 MB, free: 13.44 MB / 378.7 MB Notification: Performance of Templates: time 0.01303/0.07412, allocations: 4.267 MB / 401.7 MB, free: 9.211 MB / 378.7 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 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.669253240921535]