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.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.001333/0.001333, allocations: 115.1 kB / 17.08 MB, free: 5.789 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.001359/0.00136, allocations: 193.2 kB / 20.03 MB, free: 2.906 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.423/1.423, allocations: 222.9 MB / 245.7 MB, free: 4.207 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.3488/0.3488, allocations: 28.78 MB / 326.7 MB, free: 5.062 MB / 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_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 0.001958/0.001959, allocations: 63.2 kB / 453.7 MB, free: 29.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1385, allocations: 56.42 MB / 0.4982 GB, free: 6.836 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.005425/0.144, allocations: 3.64 MB / 0.5018 GB, free: 3.188 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.146, allocations: 0.6779 MB / 0.5024 GB, free: 2.508 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004182/0.1464, allocations: 19.94 kB / 0.5024 GB, free: 2.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00045/0.1469, allocations: 170.3 kB / 0.5026 GB, free: 2.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.1472, allocations: 138.8 kB / 0.5027 GB, free: 2.184 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007689/0.148, allocations: 355.6 kB / 0.5031 GB, free: 1.836 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009448/0.149, allocations: 0.8444 MB / 0.5039 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009309/0.1499, allocations: 0.6403 MB / 0.5045 GB, free: 316 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003733/0.1503, allocations: 338.5 kB / 0.5048 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004167/0.1507, allocations: 417.5 kB / 0.5052 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.1509, allocations: 88 kB / 0.5053 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.1511, allocations: 120 kB / 0.5054 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004165/0.1515, allocations: 434.4 kB / 0.5059 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005299/0.1521, allocations: 0.6087 MB / 0.5065 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.1536, allocations: 1.262 MB / 0.5077 GB, free: 13.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1536, allocations: 0 / 0.5077 GB, free: 13.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1536, allocations: 0 / 0.5077 GB, free: 13.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.1536, allocations: 0 / 0.5077 GB, free: 13.05 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.002507/0.1561, allocations: 1.851 MB / 0.5095 GB, free: 11.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.1562, allocations: 8.031 kB / 0.5095 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002627/0.1564, allocations: 203.6 kB / 0.5097 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.1576, allocations: 0.7759 MB / 0.5105 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.958e-05/0.1577, allocations: 82.38 kB / 0.5105 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.1578, allocations: 100.4 kB / 0.5106 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.1596, allocations: 1.158 MB / 0.5118 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.1596, allocations: 192 / 0.5118 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-05/0.1597, allocations: 47.94 kB / 0.5118 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.1597, allocations: 24 kB / 0.5118 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.1613, allocations: 1.097 MB / 0.5129 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005271/0.1666, allocations: 3.651 MB / 0.5165 GB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.1685, allocations: 1.334 MB / 0.5178 GB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006139/0.1692, allocations: 486.3 kB / 0.5182 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.416e-05/0.1693, allocations: 28.77 kB / 0.5183 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.1693, allocations: 43.05 kB / 0.5183 GB, free: 1.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=67): time 2.906e-06/0.1693, allocations: 0 / 0.5183 GB, free: 1.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=67): time 0.002217/0.1715, allocations: 1.525 MB / 0.5198 GB, free: 352 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.1716, allocations: 55.97 kB / 0.5198 GB, free: 284 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.1733, allocations: 1.289 MB / 0.5211 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.1734, allocations: 37.7 kB / 0.5211 GB, free: 14.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007154/0.1741, allocations: 0.7804 MB / 0.5219 GB, free: 14.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.1744, allocations: 237.9 kB / 0.5221 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.1745, allocations: 118.3 kB / 0.5222 GB, free: 13.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1747, allocations: 333.9 kB / 0.5226 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005976/0.1753, allocations: 437.1 kB / 0.523 GB, free: 13.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006655/0.176, allocations: 0.5316 MB / 0.5235 GB, free: 12.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.1775, allocations: 0.9939 MB / 0.5245 GB, free: 11.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.1775, allocations: 0 / 0.5245 GB, free: 11.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00168/0.1792, allocations: 1.195 MB / 0.5256 GB, free: 10.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.1792, allocations: 4 kB / 0.5256 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.1792, allocations: 4 kB / 0.5256 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.1793, allocations: 4 kB / 0.5256 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.1797, allocations: 131.8 kB / 0.5258 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.1798, allocations: 4 kB / 0.5258 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.18, allocations: 55.94 kB / 0.5258 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.1801, allocations: 28 kB / 0.5259 GB, free: 10.01 MB / 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 (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.0005674/0.1807, allocations: 381.3 kB / 0.5262 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.1809, allocations: 147 kB / 0.5264 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.1826, allocations: 1.189 MB / 0.5275 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.1826, allocations: 8 kB / 0.5275 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1826, allocations: 0 / 0.5275 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.1826, allocations: 3.984 kB / 0.5275 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.1856, allocations: 2.368 MB / 0.5298 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1856, allocations: 0 / 0.5298 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.1861, allocations: 111.8 kB / 0.5299 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/0.1861, allocations: 11.92 kB / 0.53 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/0.1861, allocations: 16 kB / 0.53 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.1861, allocations: 7.984 kB / 0.53 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1861, allocations: 0 / 0.53 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.1884, allocations: 1.88 MB / 0.5318 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.1887, allocations: 204 kB / 0.532 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.1887, allocations: 12.05 kB / 0.532 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.189, allocations: 15.94 kB / 0.532 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.1891, allocations: 40.45 kB / 0.5321 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.1891, allocations: 23.98 kB / 0.5321 GB, free: 3.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0012/0.1903, allocations: 0.8928 MB / 0.533 GB, free: 2.598 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.144e-06/0.1903, allocations: 0 / 0.533 GB, free: 2.598 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006226/0.191, allocations: 215.1 kB / 0.5332 GB, free: 2.387 MB / 398.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 (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.0002183/0.1912, allocations: 119.2 kB / 0.5333 GB, free: 2.258 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.1926, allocations: 0.988 MB / 0.5343 GB, free: 1.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1926, allocations: 0 / 0.5343 GB, free: 1.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006927/0.1933, allocations: 0.5068 MB / 0.5348 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005858/0.1939, allocations: 94.36 kB / 0.5348 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.1982, allocations: 2.896 MB / 0.5377 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.1993, allocations: 1.307 MB / 0.5389 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.1995, allocations: 59.42 kB / 0.539 GB, free: 12.35 MB / 414.1 MB Notification: Performance of SimCode: time 9.31e-07/0.1995, allocations: 4 kB / 0.539 GB, free: 12.35 MB / 414.1 MB Notification: Performance of Templates: time 0.01836/0.2179, allocations: 11.05 MB / 0.5498 GB, free: 1.281 MB / 414.1 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: 7.978088450152427] Failed to read output from testmodel.py, exit status != 0: 0.22540447115898132 0.23967700300000003 0.083392504 Calling exit ...