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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2159/0.2159, allocations: 29.24 MB / 333.7 MB, free: 316 kB / 254.1 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002052/0.002052, allocations: 70.56 kB / 468 MB, free: 35.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1037, allocations: 59.57 MB / 0.5152 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.005554/0.1092, allocations: 3.678 MB / 0.5188 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1111, allocations: 0.6779 MB / 0.5195 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004272/0.1115, allocations: 19.94 kB / 0.5195 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004558/0.112, allocations: 178.3 kB / 0.5197 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.1123, allocations: 138.8 kB / 0.5198 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007411/0.1131, allocations: 355.6 kB / 0.5201 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008978/0.114, allocations: 0.8483 MB / 0.521 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007679/0.1147, allocations: 0.4997 MB / 0.5215 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003186/0.115, allocations: 334.4 kB / 0.5218 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003931/0.1154, allocations: 433.5 kB / 0.5222 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.1156, allocations: 84 kB / 0.5223 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.1158, allocations: 119.9 kB / 0.5224 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004383/0.1162, allocations: 450.3 kB / 0.5228 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005098/0.1168, allocations: 0.6203 MB / 0.5234 GB, free: 4.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.1183, allocations: 1.259 MB / 0.5247 GB, free: 3.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.1183, allocations: 0 / 0.5247 GB, free: 3.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1183, allocations: 4 kB / 0.5247 GB, free: 3.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.433e-05/0.1184, allocations: 0 / 0.5247 GB, free: 3.445 MB / 382.1 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.002847/0.1212, allocations: 1.845 MB / 0.5265 GB, free: 1.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.1213, allocations: 8.031 kB / 0.5265 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002837/0.1216, allocations: 207.6 kB / 0.5267 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.1226, allocations: 0.7719 MB / 0.5274 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.803e-05/0.1227, allocations: 82.45 kB / 0.5275 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.1228, allocations: 100.4 kB / 0.5276 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.1246, allocations: 1.162 MB / 0.5287 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.1246, allocations: 4.125 kB / 0.5287 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.214e-05/0.1247, allocations: 47.94 kB / 0.5288 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/0.1248, allocations: 27.98 kB / 0.5288 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.1264, allocations: 1.097 MB / 0.5299 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004973/0.1314, allocations: 3.655 MB / 0.5334 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.1331, allocations: 1.306 MB / 0.5347 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005874/0.1336, allocations: 466.6 kB / 0.5352 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.905e-05/0.1337, allocations: 32.52 kB / 0.5352 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.1338, allocations: 43.12 kB / 0.5352 GB, free: 8.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=68): time 2.545e-06/0.1338, allocations: 0 / 0.5352 GB, free: 8.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=68): time 0.002157/0.1359, allocations: 1.529 MB / 0.5367 GB, free: 6.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.136, allocations: 59.97 kB / 0.5368 GB, free: 6.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.1376, allocations: 1.284 MB / 0.538 GB, free: 5.402 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.1377, allocations: 41.64 kB / 0.5381 GB, free: 5.355 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006682/0.1383, allocations: 0.7843 MB / 0.5388 GB, free: 4.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/0.1386, allocations: 241.9 kB / 0.5391 GB, free: 4.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.1387, allocations: 118.6 kB / 0.5392 GB, free: 4.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1389, allocations: 333.9 kB / 0.5395 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005879/0.1395, allocations: 437.8 kB / 0.5399 GB, free: 3.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000739/0.1402, allocations: 0.535 MB / 0.5405 GB, free: 2.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.1415, allocations: 1.002 MB / 0.5414 GB, free: 1.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.1415, allocations: 4 kB / 0.5414 GB, free: 1.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001629/0.1432, allocations: 1.199 MB / 0.5426 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.1432, allocations: 8 kB / 0.5426 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.1432, allocations: 0 / 0.5426 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.1432, allocations: 8 kB / 0.5426 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/0.1437, allocations: 128.1 kB / 0.5427 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.038e-05/0.1437, allocations: 15.92 kB / 0.5428 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.144, allocations: 59.5 kB / 0.5428 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.1441, allocations: 24 kB / 0.5428 GB, free: 392 kB / 398.1 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.0005326/0.1446, allocations: 380.7 kB / 0.5432 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.1448, allocations: 151.2 kB / 0.5433 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.1465, allocations: 1.205 MB / 0.5445 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.1465, allocations: 8 kB / 0.5445 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1465, allocations: 4 kB / 0.5445 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1465, allocations: 0 / 0.5445 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003162/0.1497, allocations: 2.367 MB / 0.5468 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1497, allocations: 0 / 0.5468 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000494/0.1502, allocations: 111.8 kB / 0.5469 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.1502, allocations: 7.984 kB / 0.547 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.1502, allocations: 12 kB / 0.547 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.1502, allocations: 4 kB / 0.547 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1502, allocations: 7.938 kB / 0.547 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.1526, allocations: 1.884 MB / 0.5488 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.1528, allocations: 211.9 kB / 0.549 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.908e-05/0.1529, allocations: 12.06 kB / 0.549 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.1531, allocations: 12 kB / 0.549 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.1532, allocations: 48.44 kB / 0.5491 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.1533, allocations: 20 kB / 0.5491 GB, free: 9.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001144/0.1544, allocations: 0.8926 MB / 0.55 GB, free: 8.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1544, allocations: 0 / 0.55 GB, free: 8.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006074/0.155, allocations: 211.2 kB / 0.5502 GB, free: 8.742 MB / 414.1 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.0002372/0.1553, allocations: 117.5 kB / 0.5503 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.1567, allocations: 0.969 MB / 0.5512 GB, free: 7.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1567, allocations: 0 / 0.5512 GB, free: 7.645 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006384/0.1574, allocations: 0.4912 MB / 0.5517 GB, free: 7.156 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006223/0.158, allocations: 100 kB / 0.5518 GB, free: 7.062 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.1622, allocations: 2.816 MB / 0.5546 GB, free: 4.203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.1632, allocations: 1.315 MB / 0.5559 GB, free: 2.859 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002823/0.1635, allocations: 76.39 kB / 0.5559 GB, free: 2.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.1636, allocations: 51.42 kB / 0.556 GB, free: 2.734 MB / 414.1 MB Notification: Performance of SimCode: time 1.202e-06/0.1636, allocations: 0 / 0.556 GB, free: 2.734 MB / 414.1 MB Notification: Performance of Templates: time 0.01352/0.1772, allocations: 5.484 MB / 0.5613 GB, free: 13.25 MB / 430.1 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=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.084097106009722]