Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.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.001027/0.001027, allocations: 93.06 kB / 19.65 MB, free: 284 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.001187/0.001187, allocations: 169 kB / 23.02 MB, free: 1.555 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.02/1.02, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.1217/0.1217, allocations: 21.8 MB / 281.7 MB, free: 7.199 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_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.306e-06/3.306e-06, allocations: 0 / 358.8 MB, free: 5.066 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.334e-05/3.665e-05, allocations: 9.484 kB / 358.8 MB, free: 5.059 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.004441/0.004478, allocations: 3.2 MB / 362 MB, free: 1.844 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.006536, allocations: 0.6662 MB / 362.7 MB, free: 1.176 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005669/0.007103, allocations: 19.94 kB / 362.7 MB, free: 1.156 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004008/0.007503, allocations: 174.3 kB / 362.9 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.007872, allocations: 146.7 kB / 363 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006986/0.008571, allocations: 355.5 kB / 363.4 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008858/0.009456, allocations: 0.8444 MB / 364.2 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006062/0.01006, allocations: 472.1 kB / 364.7 MB, free: 15.15 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004683/0.01053, allocations: 498.8 kB / 365.2 MB, free: 14.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.0108, allocations: 294.8 kB / 365.5 MB, free: 14.37 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.435e-05/0.0109, allocations: 88 kB / 365.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.01108, allocations: 115.9 kB / 365.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.01137, allocations: 458.3 kB / 366.1 MB, free: 13.72 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.01159, allocations: 330.6 kB / 366.4 MB, free: 13.4 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009838/0.01257, allocations: 0.9018 MB / 367.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.01258, allocations: 0 / 367.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.01258, allocations: 3.984 kB / 367.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.286e-05/0.0126, allocations: 0 / 367.3 MB, free: 12.49 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.001653/0.01426, allocations: 1.875 MB / 369.2 MB, free: 10.56 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.0143, allocations: 8.031 kB / 369.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/0.01455, allocations: 287.6 kB / 369.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008057/0.01535, allocations: 0.7213 MB / 370.2 MB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.321e-05/0.01541, allocations: 78.45 kB / 370.3 MB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.006e-05/0.01549, allocations: 104.4 kB / 370.4 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009061/0.01639, allocations: 0.7753 MB / 371.2 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.01641, allocations: 192 / 371.2 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/0.01645, allocations: 44.38 kB / 371.2 MB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.01647, allocations: 28.38 kB / 371.2 MB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005015/0.01697, allocations: 371.5 kB / 371.6 MB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003094/0.02007, allocations: 3.33 MB / 374.9 MB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000572/0.02064, allocations: 377.2 kB / 375.3 MB, free: 4.227 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.02079, allocations: 129.5 kB / 375.4 MB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.661e-05/0.02086, allocations: 32.64 kB / 375.5 MB, free: 4.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.02088, allocations: 42.05 kB / 375.5 MB, free: 4.016 MB / 346.7 MB Notification: Performance of pre-optimization done (n=68): time 2.395e-06/0.02089, allocations: 0 / 375.5 MB, free: 4.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=68): time 0.0007036/0.02159, allocations: 0.575 MB / 376.1 MB, free: 3.434 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.02163, allocations: 60.06 kB / 376.1 MB, free: 3.363 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008364/0.02246, allocations: 1.165 MB / 377.3 MB, free: 2.172 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.02249, allocations: 37.7 kB / 377.3 MB, free: 2.129 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/0.02292, allocations: 0.8472 MB / 378.2 MB, free: 1.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.02303, allocations: 241.9 kB / 378.4 MB, free: 1.031 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.02314, allocations: 116.3 kB / 378.5 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.02325, allocations: 0.5043 MB / 379 MB, free: 408 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.0234, allocations: 93.94 kB / 379.1 MB, free: 312 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.02364, allocations: 235 kB / 379.4 MB, free: 32 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.02402, allocations: 365.5 kB / 379.7 MB, free: 15.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.02402, allocations: 0 / 379.7 MB, free: 15.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0005601/0.02458, allocations: 0.5586 MB / 380.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.0246, allocations: 8 kB / 380.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.02461, allocations: 8.25 kB / 380.3 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.02463, allocations: 11.98 kB / 380.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005374/0.02516, allocations: 123.8 kB / 380.4 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.02517, allocations: 11.94 kB / 380.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.0253, allocations: 59.55 kB / 380.5 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.02532, allocations: 20 kB / 380.5 MB, free: 14.82 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 (83): * Single equations (assignments): 83 * 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.0001717/0.02549, allocations: 195.3 kB / 380.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.0256, allocations: 171 kB / 380.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005589/0.02616, allocations: 0.5314 MB / 381.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.02617, allocations: 8 kB / 381.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.02617, allocations: 4 kB / 381.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.02618, allocations: 3.984 kB / 381.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.02739, allocations: 1.319 MB / 382.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.02739, allocations: 0 / 382.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.02766, allocations: 111.8 kB / 382.8 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.02767, allocations: 4 kB / 382.8 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.02769, allocations: 16 kB / 382.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.0277, allocations: 4 kB / 382.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.0277, allocations: 3.984 kB / 382.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006924/0.02839, allocations: 0.7717 MB / 383.6 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-05/0.02848, allocations: 130.8 kB / 383.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.352e-05/0.02853, allocations: 16 kB / 383.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.02864, allocations: 12 kB / 383.8 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.02871, allocations: 44.56 kB / 383.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.02873, allocations: 16 kB / 383.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005448/0.02927, allocations: 0.6849 MB / 384.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.02927, allocations: 0 / 384.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004134/0.02969, allocations: 211.2 kB / 384.7 MB, free: 10.49 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 (68): * Single equations (assignments): 68 * 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.0001848/0.02987, allocations: 119.1 kB / 384.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000451/0.03032, allocations: 347 kB / 385.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.03033, allocations: 4 kB / 385.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.03052, allocations: 188.6 kB / 385.4 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.03093, allocations: 97.27 kB / 385.5 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.03368, allocations: 2.268 MB / 387.8 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.03395, allocations: 329.2 kB / 388.1 MB, free: 7.078 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.03412, allocations: 68.36 kB / 388.1 MB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.966e-05/0.03422, allocations: 52.48 kB / 388.2 MB, free: 6.957 MB / 362.7 MB Notification: Performance of SimCode: time 2.595e-06/0.03422, allocations: 0 / 388.2 MB, free: 6.957 MB / 362.7 MB Notification: Performance of Templates: time 0.009908/0.04413, allocations: 4.625 MB / 392.8 MB, free: 2.375 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.111666821874678]