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.001986/0.001986, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.002331/0.002331, allocations: 177 kB / 23.49 MB, free: 1.055 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.139/1.139, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.1574/0.1574, allocations: 21.8 MB / 282.1 MB, free: 7.242 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 2.655e-06/2.655e-06, allocations: 0 / 358.8 MB, free: 4.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.78e-05/4.046e-05, allocations: 6.312 kB / 358.8 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_4): time 0.005916/0.005956, allocations: 3.18 MB / 362 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002479/0.008435, allocations: 0.6817 MB / 362.7 MB, free: 308 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005618/0.008997, allocations: 15.94 kB / 362.7 MB, free: 292 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005752/0.009572, allocations: 182.3 kB / 362.9 MB, free: 108 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004298/0.01, allocations: 138.8 kB / 363 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.01102, allocations: 363.5 kB / 363.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.01207, allocations: 0.8522 MB / 364.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008728/0.01294, allocations: 472.2 kB / 364.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005857/0.01353, allocations: 0.491 MB / 365.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003542/0.01388, allocations: 294.7 kB / 365.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.01404, allocations: 92 kB / 365.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.01427, allocations: 119.9 kB / 365.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004288/0.0147, allocations: 466.3 kB / 366.1 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003852/0.01509, allocations: 338.5 kB / 366.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.01678, allocations: 0.9407 MB / 367.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.01679, allocations: 0 / 367.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01679, allocations: 0 / 367.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.01681, allocations: 0 / 367.4 MB, free: 11.54 MB / 298.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.002452/0.01926, allocations: 1.911 MB / 369.3 MB, free: 9.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.01932, allocations: 12.03 kB / 369.3 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003862/0.0197, allocations: 295.5 kB / 369.6 MB, free: 9.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009751/0.02068, allocations: 0.7368 MB / 370.4 MB, free: 8.496 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.594e-05/0.02077, allocations: 78.48 kB / 370.4 MB, free: 8.418 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.0209, allocations: 112.4 kB / 370.5 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.02224, allocations: 0.8312 MB / 371.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.02227, allocations: 192 / 371.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.271e-05/0.02234, allocations: 40.38 kB / 371.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-05/0.02242, allocations: 52.36 kB / 371.5 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008952/0.02332, allocations: 425.5 kB / 371.9 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004165/0.02748, allocations: 3.592 MB / 375.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007762/0.02826, allocations: 412 kB / 375.9 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.02844, allocations: 141.3 kB / 376 MB, free: 2.598 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.508e-05/0.0285, allocations: 32.64 kB / 376 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.02854, allocations: 50.03 kB / 376.1 MB, free: 2.508 MB / 298.7 MB Notification: Performance of pre-optimization done (n=70): time 2.003e-06/0.02854, allocations: 0 / 376.1 MB, free: 2.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=70): time 0.0008527/0.02939, allocations: 0.5946 MB / 376.7 MB, free: 1.906 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.02944, allocations: 89.7 kB / 376.8 MB, free: 1.801 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.03065, allocations: 1.255 MB / 378 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.03069, allocations: 37.7 kB / 378.1 MB, free: 492 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006661/0.03136, allocations: 0.9209 MB / 379 MB, free: 15.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.03152, allocations: 249.8 kB / 379.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.03171, allocations: 160.4 kB / 379.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.0319, allocations: 0.5199 MB / 379.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.03212, allocations: 105.9 kB / 380 MB, free: 14.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004339/0.03256, allocations: 479.2 kB / 380.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.03367, allocations: 0.642 MB / 381.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.03368, allocations: 0 / 381.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001004/0.03469, allocations: 0.7309 MB / 381.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.03471, allocations: 8 kB / 381.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.03472, allocations: 8 kB / 381.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/0.03475, allocations: 16.06 kB / 381.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.03522, allocations: 183.7 kB / 382.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/0.03523, allocations: 12 kB / 382.1 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.03549, allocations: 83.41 kB / 382.2 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.03554, allocations: 43.92 kB / 382.2 MB, free: 12 MB / 314.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 (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.0002406/0.03578, allocations: 218.7 kB / 382.4 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.03598, allocations: 171 kB / 382.6 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008471/0.03682, allocations: 0.5672 MB / 383.1 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.03683, allocations: 8 kB / 383.2 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.03684, allocations: 4.031 kB / 383.2 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.03685, allocations: 3.984 kB / 383.2 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.03855, allocations: 1.359 MB / 384.5 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.03855, allocations: 4 kB / 384.5 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.03892, allocations: 111.9 kB / 384.6 MB, free: 9.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.03893, allocations: 7.984 kB / 384.6 MB, free: 9.496 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.03896, allocations: 20 kB / 384.7 MB, free: 9.477 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.03897, allocations: 3.938 kB / 384.7 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.03897, allocations: 4 kB / 384.7 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.04002, allocations: 0.9121 MB / 385.6 MB, free: 8.531 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.04014, allocations: 134.8 kB / 385.7 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.487e-05/0.04022, allocations: 12 kB / 385.7 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.04042, allocations: 19.98 kB / 385.7 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.04052, allocations: 40.58 kB / 385.8 MB, free: 8.324 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.04055, allocations: 24 kB / 385.8 MB, free: 8.301 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007709/0.04132, allocations: 0.7142 MB / 386.5 MB, free: 7.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.04132, allocations: 0 / 386.5 MB, free: 7.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00063/0.04195, allocations: 235.1 kB / 386.8 MB, free: 7.359 MB / 314.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.0002162/0.04217, allocations: 119.1 kB / 386.9 MB, free: 7.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006585/0.04283, allocations: 420.3 kB / 387.3 MB, free: 6.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.04283, allocations: 0.6875 kB / 387.3 MB, free: 6.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.0431, allocations: 208.6 kB / 387.5 MB, free: 6.613 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.04372, allocations: 104 kB / 387.6 MB, free: 6.516 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.04693, allocations: 2.35 MB / 389.9 MB, free: 4.113 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.04724, allocations: 345 kB / 390.3 MB, free: 3.754 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002891/0.04753, allocations: 132.8 kB / 390.4 MB, free: 3.625 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.04766, allocations: 60.48 kB / 390.5 MB, free: 3.566 MB / 314.7 MB Notification: Performance of SimCode: time 1.402e-06/0.04766, allocations: 0 / 390.5 MB, free: 3.566 MB / 314.7 MB Notification: Performance of Templates: time 0.02429/0.07195, allocations: 4.794 MB / 395.3 MB, free: 14.82 MB / 330.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.6319190950598568]