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.0006772/0.0006772, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0006907/0.0006907, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8007/0.8007, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.1074/0.1074, allocations: 21.79 MB / 281.7 MB, free: 7.391 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 1.643e-06/1.643e-06, allocations: 0 / 419 MB, free: 8.867 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.329e-05, allocations: 2.844 kB / 419 MB, free: 8.863 MB / 394.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.002787/0.002811, allocations: 3.086 MB / 422.1 MB, free: 5.773 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.004121, allocations: 0.6662 MB / 422.8 MB, free: 5.105 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003423/0.004463, allocations: 15.94 kB / 422.8 MB, free: 5.09 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.004785, allocations: 182.2 kB / 423 MB, free: 4.91 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.005021, allocations: 142.7 kB / 423.1 MB, free: 4.77 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005551/0.005576, allocations: 359.5 kB / 423.5 MB, free: 4.418 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006199/0.006196, allocations: 0.8482 MB / 424.3 MB, free: 3.566 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004635/0.006659, allocations: 472.2 kB / 424.8 MB, free: 3.07 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003736/0.007033, allocations: 498.8 kB / 425.3 MB, free: 2.582 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.007254, allocations: 290.8 kB / 425.5 MB, free: 2.297 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.19e-05/0.007336, allocations: 88 kB / 425.6 MB, free: 2.211 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.007477, allocations: 112 kB / 425.7 MB, free: 2.102 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.007718, allocations: 458.3 kB / 426.2 MB, free: 1.652 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.007886, allocations: 326.6 kB / 426.5 MB, free: 1.332 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008331/0.008719, allocations: 1.218 MB / 427.7 MB, free: 112 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.008722, allocations: 4 kB / 427.7 MB, free: 108 kB / 394.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.008722, allocations: 0 / 427.7 MB, free: 108 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.008744, allocations: 0 / 427.7 MB, free: 108 kB / 394.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.001372/0.01012, allocations: 1.746 MB / 429.5 MB, free: 14.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.01015, allocations: 12.03 kB / 429.5 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.0103, allocations: 207.6 kB / 429.7 MB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000611/0.01091, allocations: 0.6991 MB / 430.4 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/0.01095, allocations: 78.45 kB / 430.5 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.402e-05/0.01102, allocations: 100.4 kB / 430.6 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.01204, allocations: 1.181 MB / 431.7 MB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.01205, allocations: 192 / 431.7 MB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.0121, allocations: 40.38 kB / 431.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.01211, allocations: 32.36 kB / 431.8 MB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000951/0.01306, allocations: 1.101 MB / 432.9 MB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002529/0.01559, allocations: 3.246 MB / 436.2 MB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.0166, allocations: 1.304 MB / 437.5 MB, free: 6.117 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/0.01693, allocations: 466.6 kB / 437.9 MB, free: 5.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.278e-05/0.01698, allocations: 28.62 kB / 437.9 MB, free: 5.633 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.017, allocations: 39.22 kB / 438 MB, free: 5.586 MB / 410.7 MB Notification: Performance of pre-optimization done (n=68): time 1.823e-06/0.017, allocations: 0 / 438 MB, free: 5.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=68): time 0.001156/0.01816, allocations: 1.54 MB / 439.5 MB, free: 4.039 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.01819, allocations: 64 kB / 439.6 MB, free: 3.965 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008294/0.01902, allocations: 1.267 MB / 440.9 MB, free: 2.688 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.01905, allocations: 37.7 kB / 440.9 MB, free: 2.645 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.01943, allocations: 0.7608 MB / 441.7 MB, free: 1.875 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.993e-05/0.01953, allocations: 237.9 kB / 441.9 MB, free: 1.641 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.862e-05/0.01963, allocations: 114.7 kB / 442 MB, free: 1.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.151e-05/0.0197, allocations: 334 kB / 442.3 MB, free: 1.188 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.02002, allocations: 445.8 kB / 442.8 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.02038, allocations: 0.5311 MB / 443.3 MB, free: 196 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1333/0.1537, allocations: 1.002 MB / 444.3 MB, free: 63.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1537, allocations: 3.281 kB / 444.3 MB, free: 63.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0008995/0.1546, allocations: 1.199 MB / 445.5 MB, free: 63.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1546, allocations: 3.406 kB / 445.5 MB, free: 63.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1547, allocations: 4.266 kB / 445.5 MB, free: 63.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.1547, allocations: 7.438 kB / 445.5 MB, free: 63.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.1549, allocations: 132.4 kB / 445.6 MB, free: 63.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.1549, allocations: 13.78 kB / 445.7 MB, free: 63.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.1551, allocations: 47.98 kB / 445.7 MB, free: 63.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.1551, allocations: 25.31 kB / 445.7 MB, free: 63.77 MB / 410.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.0003163/0.1554, allocations: 372.9 kB / 446.1 MB, free: 63.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.1555, allocations: 147.7 kB / 446.2 MB, free: 63.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007849/0.1562, allocations: 1.203 MB / 447.4 MB, free: 63.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1563, allocations: 9.422 kB / 447.4 MB, free: 63.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1563, allocations: 0 / 447.4 MB, free: 63.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1563, allocations: 11.17 kB / 447.5 MB, free: 63.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.1576, allocations: 2.15 MB / 449.6 MB, free: 62.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1576, allocations: 0 / 449.6 MB, free: 62.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.1578, allocations: 112.6 kB / 449.7 MB, free: 62.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1578, allocations: 3.281 kB / 449.7 MB, free: 62.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.1578, allocations: 11.12 kB / 449.7 MB, free: 62.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1578, allocations: 5.219 kB / 449.7 MB, free: 62.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1578, allocations: 0 / 449.7 MB, free: 62.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.1589, allocations: 1.894 MB / 451.6 MB, free: 62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.1589, allocations: 126.5 kB / 451.8 MB, free: 61.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.159, allocations: 18.7 kB / 451.8 MB, free: 61.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1591, allocations: 11.25 kB / 451.8 MB, free: 61.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.1591, allocations: 41.14 kB / 451.8 MB, free: 61.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.1591, allocations: 20.59 kB / 451.8 MB, free: 61.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004943/0.1596, allocations: 0.8818 MB / 452.7 MB, free: 61.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1596, allocations: 0 / 452.7 MB, free: 61.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003185/0.1599, allocations: 212.8 kB / 452.9 MB, free: 61.54 MB / 410.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.0001299/0.1601, allocations: 117.9 kB / 453 MB, free: 61.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006407/0.1607, allocations: 0.9744 MB / 454 MB, free: 61.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1607, allocations: 0 / 454 MB, free: 61.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.161, allocations: 0.4925 MB / 454.5 MB, free: 61.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.1614, allocations: 96.72 kB / 454.6 MB, free: 61.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.1633, allocations: 2.832 MB / 457.4 MB, free: 59.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.1637, allocations: 0.7127 MB / 458.2 MB, free: 59.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.1638, allocations: 60.5 kB / 458.2 MB, free: 59.6 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1638, allocations: 0 / 458.2 MB, free: 59.6 MB / 410.7 MB Notification: Performance of Templates: time 0.007726/0.1715, allocations: 11.57 MB / 469.8 MB, free: 58.21 MB / 410.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=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.435754396952689] Failed to read output from testmodel.py, exit status != 0: 0.17655874509364367 0.18473464599999995 0.17433264099999995 Calling exit ...