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.001386/0.001386, allocations: 113.5 kB / 17.08 MB, free: 5.988 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.001569/0.001569, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.462/1.462, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.3844/0.3844, allocations: 28.79 MB / 326.7 MB, free: 5.113 MB / 254.1 MB " [Timeout remaining time 179] 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.002207/0.002207, allocations: 67.2 kB / 453.7 MB, free: 29.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1311, allocations: 56.42 MB / 0.4982 GB, free: 6.84 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.006244/0.1374, allocations: 3.663 MB / 0.5018 GB, free: 3.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.1401, allocations: 0.6819 MB / 0.5024 GB, free: 2.484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.1412, allocations: 12 kB / 0.5025 GB, free: 2.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000881/0.1421, allocations: 174.3 kB / 0.5026 GB, free: 2.301 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009301/0.1431, allocations: 138.8 kB / 0.5028 GB, free: 2.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.1444, allocations: 355.5 kB / 0.5031 GB, free: 1.816 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001658/0.1461, allocations: 0.8522 MB / 0.5039 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.1475, allocations: 0.6442 MB / 0.5046 GB, free: 284 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005636/0.1481, allocations: 334.5 kB / 0.5049 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005906/0.1487, allocations: 417.6 kB / 0.5053 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000277/0.149, allocations: 84 kB / 0.5054 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.1493, allocations: 123.9 kB / 0.5055 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005651/0.1499, allocations: 430.5 kB / 0.5059 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008154/0.1507, allocations: 0.6164 MB / 0.5065 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.1527, allocations: 1.255 MB / 0.5077 GB, free: 13.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1527, allocations: 4 kB / 0.5077 GB, free: 13.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.569e-06/0.1527, allocations: 0 / 0.5077 GB, free: 13.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.1528, allocations: 3.938 kB / 0.5077 GB, free: 13.02 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.002518/0.1553, allocations: 1.849 MB / 0.5095 GB, free: 11.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.1553, allocations: 8.031 kB / 0.5095 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/0.1556, allocations: 207.6 kB / 0.5097 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.1567, allocations: 0.768 MB / 0.5105 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.508e-05/0.1568, allocations: 74.45 kB / 0.5106 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.157, allocations: 108.4 kB / 0.5107 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.1587, allocations: 1.174 MB / 0.5118 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.1588, allocations: 192 / 0.5118 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-05/0.1589, allocations: 43.94 kB / 0.5118 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/0.1589, allocations: 28 kB / 0.5119 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.1605, allocations: 1.097 MB / 0.5129 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004976/0.1655, allocations: 3.663 MB / 0.5165 GB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.1673, allocations: 1.33 MB / 0.5178 GB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000608/0.1679, allocations: 490.3 kB / 0.5183 GB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.117e-05/0.168, allocations: 24.77 kB / 0.5183 GB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/0.1681, allocations: 39.12 kB / 0.5183 GB, free: 1.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=68): time 2.475e-06/0.1681, allocations: 7.938 kB / 0.5184 GB, free: 1.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=68): time 0.0022/0.1703, allocations: 1.529 MB / 0.5198 GB, free: 292 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.1704, allocations: 59.97 kB / 0.5199 GB, free: 220 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.172, allocations: 1.292 MB / 0.5212 GB, free: 14.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.1721, allocations: 37.7 kB / 0.5212 GB, free: 14.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007694/0.1729, allocations: 0.7726 MB / 0.522 GB, free: 14.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/0.1732, allocations: 245.8 kB / 0.5222 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.1734, allocations: 122.6 kB / 0.5223 GB, free: 13.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.1736, allocations: 333.9 kB / 0.5226 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006183/0.1743, allocations: 441.8 kB / 0.523 GB, free: 12.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006645/0.1749, allocations: 0.5311 MB / 0.5236 GB, free: 12.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.1762, allocations: 0.9978 MB / 0.5245 GB, free: 11.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.1762, allocations: 0 / 0.5245 GB, free: 11.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00175/0.178, allocations: 1.203 MB / 0.5257 GB, free: 10.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.178, allocations: 4 kB / 0.5257 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.1781, allocations: 4 kB / 0.5257 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/0.1781, allocations: 4 kB / 0.5257 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.1786, allocations: 135.8 kB / 0.5259 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.1786, allocations: 4 kB / 0.5259 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.1789, allocations: 59.88 kB / 0.5259 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.179, allocations: 27.98 kB / 0.5259 GB, free: 9.914 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 (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.000611/0.1796, allocations: 377.4 kB / 0.5263 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.1798, allocations: 151 kB / 0.5264 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/0.1817, allocations: 1.201 MB / 0.5276 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.1817, allocations: 8 kB / 0.5276 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.1817, allocations: 0 / 0.5276 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.1817, allocations: 3.984 kB / 0.5276 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003748/0.1855, allocations: 2.368 MB / 0.5299 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.1855, allocations: 0 / 0.5299 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005524/0.1861, allocations: 119.8 kB / 0.5301 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.61e-05/0.1861, allocations: 4 kB / 0.5301 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.1862, allocations: 12 kB / 0.5301 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.321e-05/0.1862, allocations: 4 kB / 0.5301 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.1862, allocations: 3.938 kB / 0.5301 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.1888, allocations: 1.892 MB / 0.5319 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/0.1891, allocations: 207.9 kB / 0.5321 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.1893, allocations: 16 kB / 0.5321 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.1895, allocations: 15.98 kB / 0.5322 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.1897, allocations: 44.45 kB / 0.5322 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.1897, allocations: 19.98 kB / 0.5322 GB, free: 3.371 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001521/0.1912, allocations: 0.8926 MB / 0.5331 GB, free: 2.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1913, allocations: 0 / 0.5331 GB, free: 2.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007175/0.192, allocations: 215.2 kB / 0.5333 GB, free: 2.27 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 (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.0002658/0.1922, allocations: 121.9 kB / 0.5334 GB, free: 2.141 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.1939, allocations: 0.9926 MB / 0.5344 GB, free: 1.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.1939, allocations: 4 kB / 0.5344 GB, free: 1.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007157/0.1946, allocations: 0.5145 MB / 0.5349 GB, free: 0.625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007383/0.1954, allocations: 90.91 kB / 0.535 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005441/0.2008, allocations: 2.903 MB / 0.5378 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/0.2023, allocations: 1.315 MB / 0.5391 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.2025, allocations: 55.42 kB / 0.5391 GB, free: 12.2 MB / 414.1 MB Notification: Performance of SimCode: time 9.11e-07/0.2025, allocations: 0 / 0.5391 GB, free: 12.2 MB / 414.1 MB Notification: Performance of Templates: time 0.02262/0.2251, allocations: 11.06 MB / 0.5499 GB, free: 1.117 MB / 414.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: 8.048764487961307] Failed to read output from testmodel.py, exit status != 0: 0.2327541650738567 0.247970073 0.09255719800000001 Calling exit ...